Created attachment 60467 [details] Screenshot in MS Office Version: git checkout 70e1b6e65bcc89bffdd1ba4c9903469827c2c213 (Using KDE 4.5.5) OS: Kubuntu 10.10 Test data is in word 2003 format which has TOC in it. Open the same document in Calligra Words, check the display of the page numbers. Link to Test data:http://riskmgt.nd.edu/manuals/documents/NDBiosafetyManual1.doc Expected outcome: Page numbers should be displayed in the TOC. Actual outcome: Page numbers are displaying separately from the TOC Please check the screenshots attached. Frequency: Always.
Created attachment 60468 [details] Screenshot in Calligra Words
This file does not contain table of content as reference object. It is hand made table of content with many tab-stops. So I suspect that the problem is with the rendering of the tabstops. I tested the output of the our filter in OOo and tested the OOo odt file in calligra and both are wrong. It seems there are bugs in engine and also in filter, probably tab stops or sections? Not sure
The actual problems seems to be that we don't handle the two columns layout of the first page/section correctly.
Correct. We only handle columns defined in page-styles and not in sections atm. The content.xml defines the columns in the section; <style:style style:name="Sect1" style:family="section"> <style:section-properties> <style:columns fo:column-count="2" fo:column-gap="36.00000000000pt"> <style:column style:rel-width="1*"/> <style:column style:rel-width="1*"/> </style:columns> </style:section-properties> </style:style> The ODF 1.2 specs say The <style:columns> element is usable with the following elements: <style:graphic-properties> 16.13, <style:page-layout-properties> 16.2 and <style:section-properties> 16.6. So, we are missing support of columns for 2 elements.
*** This bug has been marked as a duplicate of bug 260141 ***
Verified.