Revision 5b76464...
Go back to digest for 6th February 2011Features in Office
Merge remote branch 'origin/words-toc-korinek-tvrdy'
* origin/words-toc-korinek-tvrdy: (30 commits)
Fix the rendering of the tab stops in the toc.
o little more robust loading o remove constant right tab position o setup right tab position as widht of the shape o change the condition which selects the blocks to be in the TOC
Coding style fixes and binary compatibility work
Added copyrights and trailing whitespaces removed.
o Saving of the table-of-content-source o Fixing memory leak
Remove superfluous include and comment
More clean-ups
Clean the code
Fix the navigation with bookmarks.
Use int here.
some comments removed
pragma changed to not use prototype
toc update can replace page number more than once
o delete the loading data-structure in the destructor (memleak) o use replacement character as suggested by korco
refactoring on using alternative methods for analyze and knowleadge transfer
method loadTableOfContentsPalo is for analyze and knowleadge transfer purposes. Palo's verison means to use generatePalo and loadTableOfContentsPalo methods in KoTextLoader.cpp and TocGenerator.cpp
Created generator method generatePalo for analyze and knowleadge transfer purposes. Toc link generation algorithm desined
Rendering of the TOC index entries
Load also the text in index-title-template
variant pair defined
...
File Changes
- libs/kotext/CMakeLists.txt
- libs/kotext/KoTableOfContentsGeneratorInfo.cpp
- libs/kotext/KoTableOfContentsGeneratorInfo.h
- libs/kotext/KoText.h
- plugins/textshape/ToCGenerator.cpp
- plugins/textshape/ToCGenerator.h
- libs/kotext/opendocument/KoTextLoader.cpp
- libs/kotext/opendocument/KoTextLoader.h
- libs/kotext/opendocument/KoTextWriter.cpp
- plugins/textshape/Layout.cpp