Hello, On 02/01/14 16:04, John Robson wrote:
Thank you, but not solve, the lines continue large. But, this is not a bug, is just a good feature. As I said before, break lines in smaller columns will improve the versioning results when you work in a collaborative way.
The Flat ODF filter uses DocumentHandlerAdapter from sax/tools/documenthandleradapter.hxx What you need basically is to modify somehow the characters method so that it iterates through the aChars and spit a serie of calls of m_handler->characters split at the word boundaries. Something like iterating through the string and keep the position of the last white-space and if you are over the position 80 pass a sub-string until the last white-space found before the position 80. And do that until the string is passed completely. Not sure what kind of performance penalty would this create. But one could do that only if pretty printing is selected. Hope the pointers are good enough F. -- Please avoid sending me Word, Excel or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html
Attachment:
signature.asc
Description: OpenPGP digital signature