Apache OpenOffice (AOO) Bugzilla – Issue 13886
Table of Contents not correctly exported to Word format
Last modified: 2013-08-07 14:41:36 UTC
When a table of contents is generated in Writer and the resulting document is exported to Word, the page numbers don't align right neatly. To reproduce: Start writer or go to File -> New -> Text Document Type two lines Give line 1 the style 'Heading 1' Give line 2 the style 'Heading 2' Press CTRL+Home Press CTRL+Enter Press CTRL+Home again Go to Insert -> Index and Tables -> Indexes and Tables Click OK Go to File -> Save As... Save the file with filetype 'Microsoft Word 97/2000/XP (.doc)' Load file in Word 97 or 2000 Notice how the page numbers do not correctly align to the right Behaviour occurs in both 1.0.3.1 and 1.1beta. Opened the documents in both Word 97 and 2000 on Windows 2000.
Created attachment 5920 [details] A testdocument with a table of contents, created in 1.1beta
Created attachment 5921 [details] How the testdocument looks like, when opened in Word 2000 (on Windows 2000)
reassigned to mru
MRU->AMA: Interoperability. Writer does not display Tab Stops outside the thext Area (such as: Tab of 18 cm on a default page). Word does. Another one for the compatibility options?
It's simple a bug in our index updating where the tab position is calculated. It should be inside the text area for heading1 as well as for heading2!
.
estimated effort
disappeared
ready for QA
Ready for QA
Checked fix in CWS hbqea101.
Verified.
Reopened. Issue still exists after integration of CWS. Tested with 680m41.
MRU->HBRINKM: problem still occurs in 680m41.
AMA->FME: Please have a look.
*** Issue 37044 has been marked as a duplicate of this issue. ***
FME->SBA: The calculation of the tab stop positions for tables of contents has been corrected recently. Therefore we do not have any tab stop positions outside the right margin in our tables of contents anymore. So this problem cannot occur anymore with a) new documents b) existing documents whose tables of contents have been updated. After discussing this with AMA, we agreed that we should consider this bug 'fixed'. Do you agree?
FME->MRU: Please have a look.
Yes, I agree. For new documents created with OO 2.0 builds the problem does not occur anymore. TOC's handling in OO 2.0 has changed a bit for more compatibility.
Closed.