Apache OpenOffice (AOO) Bugzilla – Issue 98300
WW8: tab stops with para indents not properly saved
Last modified: 2013-08-07 14:44:00 UTC
From Ubuntu bug report: " Problem description: When saving a text document in MsWord 97/2000/XP file type, it seems that tab stops positions are saved with a relative position from the left margin instead of the before text Indent. When the file is opened, the tabs stop are set relative to the before text Indent. The result is that each time the document is saved, all the tab stops are moved with an offset equals to the before text ident value. It is moved to the right if the before text ident is positive, to the left else. Documents saved with OpenOffice format work fine. How to reproduce 1. Create a new text document and save it with the MsWord 97/2000/XP .doc file type 2. Put tab stops at 4 cm and 5 cm on the first line 3. Save and close document. Reopen it. Tabs stops are at 4 and 5 cm. 4. Change before text ident to +2cm. Don't change Tabs stops. 5. Save and close document. Reopen it. Tabs stops are now at 6 and 7 cm. 6. Change before text ident to -3cm. Don't change Tabs stops. 7. Save and close document. Reopen it. Tabs stops are now at 3 and 4 cm. remark: if after step 3., you open the document with MsWord, tab stops moved to 6 and 7 cm too. Conclusion: this bug is often silent, just because usually before text ident remains to its default value: 0. " Note this is reproducible on the official OpenOffice.org 3.0.0 also.
MRU->HBRINKM: create a new document, set paragraph "indent before" to 2 cm, place a tab stop at 4 cm and 5 cm, save as WW8 format, reopen -> tab stops are now at 6 and 7 cm.
*** Issue 101114 has been marked as a duplicate of this issue. ***
Tab stop settings when saving to .doc file format used to work fine with OOo 2: I just tested with OOo 2.0.3 this behaviour, and it worked correctly. So this bug seems to be a regression bug introduced in OOo 3.
An additional note: this bug appears only when you open a .doc file and (re) save the file again in .doc format. If you open an .odt file, make indented paragraphs with tab stops and save the file in .doc format, the file seems to be OK. But when you open the .doc file and save it again, the tab stops are incorrectly positioned.
I did the following test with tab settings and .doc format: - create a new document - set paragraph "indent before" to 2 cm - place a tab stop at 4 cm and 5 cm - save as .doc format - reopen the .doc file -> tab stops are at 4 cm and 5 cm (fine this far) - save again as .doc format - reopen the .doc file -> tab stops are at 6 cm and 7 cm - save again as .doc format - reopen the .doc file -> tab stops are at 8 cm and 9 cm And the pattern continues: every save thereafter shifts the tab stops by 2 cm. This surely is a nasty behaviour to anyone trying to update a .doc file using OOo. If the file contains indented and tab-aligned text, every save operation gives you a not-so-pleasant surprise. Tested with OOo 3.0.1 on Win XP.
duplicate *** This issue has been marked as a duplicate of 101454 ***
duplicate -> closed