Revision 16bc36a...
Go back to digest for 8th January 2012Bug Fixes in Office
Thorsten Zachmann committed changes in [calligra] /:
Fix whitespace handling in xml loading
This changes the xml loading to no longer strip whitespace. This fixes one of the
problems attached to the bug report where there is a text node with only a space
e.g. <text:line-break/> <text:s/>2 space.
This change uncovered some problems where white space was not handled properly:
anchors and line-breaks in filters, frame element loading in libs.
It also fixes saving of line-break to use the correct tag instead of the QChar::LineSperator as char.
Also whitespace handling after tabs, bookmark-ref and when variables are used have been fixed.
REVIEW: 103568
File Changes
Modified 6 files
- filters/libmsooxml/MsooXmlCommonReaderDrawingMLImpl.h
- libs/flake/KoShapeRegistry.cpp
- libs/odf/KoXmlReader.h
- libs/odf/KoXmlWriter.cpp
- filters/words/docx/DocxXmlDocumentReader.cpp
- libs/kotext/opendocument/KoTextLoader.cpp
6 files changed in total