Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
4.5.2
-
None
-
59a2ed52a780afea84c118054fb7de2440a5d17f
Description
If you insert some text into a table using the QTextCursor API using a QTextCharFormat to set the font and then use QTextDocumentWriter to output a .odf file, the .odf file is unreadable.
The document produced will not load using OpenOffice.org 3.0 on Fedora 10/Linux. What happens is that OpenOffice pops up a dialog with the caption "OpenOffice.org 3.0" and with the message text "Format error discovered in the file in sub-document content.xml at 17,125(row,col)."
The bug occurs with Qt 4.5.2 and 4.6.0-tp1.
See the line marked BUG in main.cpp to see where the cause is in the attached example