Issue 98300 - WW8: tab stops with para indents not properly saved
Summary: WW8: tab stops with para indents not properly saved
Status: CLOSED DUPLICATE of issue 101454
Alias: None
Product: Writer
Classification: Application
Component: ui (show other issues)
Version: OOo 3.0
Hardware: All All
: P3 Trivial with 2 votes (vote)
Target Milestone: ---
Assignee: openoffice
QA Contact: issues@sw
URL: https://bugs.launchpad.net/bugs/290500
Keywords:
: 101114 (view as issue list)
Depends on:
Blocks:
 
Reported: 2009-01-21 05:54 UTC by ccheney
Modified: 2013-08-07 14:44 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description ccheney 2009-01-21 05:54:53 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.
Comment 1 michael.ruess 2009-01-22 13:19:44 UTC
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.
Comment 2 michael.ruess 2009-04-16 12:32:49 UTC
*** Issue 101114 has been marked as a duplicate of this issue. ***
Comment 3 marttikarjalainen 2009-06-20 12:40:55 UTC
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.
Comment 4 marttikarjalainen 2009-06-20 13:12:14 UTC
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. 
Comment 5 marttikarjalainen 2009-06-21 08:18:06 UTC
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.
Comment 6 openoffice 2009-06-22 08:43:52 UTC
duplicate

*** This issue has been marked as a duplicate of 101454 ***
Comment 7 Mechtilde 2009-07-12 18:06:10 UTC
duplicate -> closed