Bug 40104 - FORMATTING: Tab stop positions of paragraph styles inconsistent in Word .doc export
Summary: FORMATTING: Tab stop positions of paragraph styles inconsistent in Word .doc ...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.3.0 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-15 07:35 UTC by lpietsch
Modified: 2015-01-21 09:41 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
sample document illustrating tab stops in paragraphs with hanging indent (16.14 KB, application/vnd.oasis.opendocument.text)
2011-08-15 07:35 UTC, lpietsch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lpietsch 2011-08-15 07:35:26 UTC
Created attachment 50235 [details]
sample document illustrating tab stops in paragraphs with hanging indent

There is an inconsistency in the way tab stop positions are defined in direct formatting and in paragraph style definitions; moreover, tab stop positions defined in paragraph styles are treated wrong in export/import to MS Word 97 .doc format.

If you define a tab stop in a paragraph with a hanging indent, through direct formatting, the position of the tab stop is calculated relative to the default, unindented left margin.

However, if you define the same paragraph with the same tab position as part of a paragraph style, the position of the tab stop is calculated relative to the left margin of the *second*, indented line. For instance, if you want a tabstop at 0.5cm from the left margin of the first line, and the second line is indented by 2cm, you have to define the tab position as "-1.5cm". In the direct formatting dialog, the same tab is described as "0.5cm".

If you have such a tab stop in a paragraph definition, export the file to .doc format and then re-open it, the negative tab position is re-interpreted as referring to the *first* line again. That is, the same tab stop will now be shown at -1.5cm to the left of the normal page margin.

This has been a long-standing problem in earlier versions of OOo 2.x too.

To reproduce: create a paragraph style with a hanging indent ("before text: 2cm, first line: -2cm"). Add a tab stop at "-1.5cm". Save as .doc and re-open. The tab stop will now be in a different position.
Comment 1 Björn Michaelsen 2011-12-23 12:33:00 UTC
[This is an automated message.]
This bug was filed before the changes to Bugzilla on 2011-10-16. Thus it
started right out as NEW without ever being explicitly confirmed. The bug is
changed to state NEEDINFO for this reason. To move this bug from NEEDINFO back
to NEW please check if the bug still persists with the 3.5.0 beta1 or beta2 prereleases.
Details on how to test the 3.5.0 beta1 can be found at:
http://wiki.documentfoundation.org/QA/BugHunting_Session_3.5.0.-1

more detail on this bulk operation: http://nabble.documentfoundation.org/RFC-Operation-Spamzilla-tp3607474p3607474.html
Comment 2 Florian Reisinger 2012-08-14 13:57:38 UTC
Dear bug submitter!

Due to the fact, that there are a lot of NEEDINFO bugs with no answer within the last six months, we close all of these bugs.

To keep this message short, more infos are available @ https://wiki.documentfoundation.org/QA/NeedinfoClosure#Statement

Thanks for understanding and hopefully updating your bug, so that everything is prepared for developers to fix your problem.

Yours!

Florian
Comment 3 Florian Reisinger 2012-08-14 13:58:57 UTC
Dear bug submitter!

Due to the fact, that there are a lot of NEEDINFO bugs with no answer within the last six months, we close all of these bugs.

To keep this message short, more infos are available @ https://wiki.documentfoundation.org/QA/NeedinfoClosure#Statement

Thanks for understanding and hopefully updating your bug, so that everything is prepared for developers to fix your problem.

Yours!

Florian
Comment 4 Florian Reisinger 2012-08-14 14:03:30 UTC
Dear bug submitter!

Due to the fact, that there are a lot of NEEDINFO bugs with no answer within the last six months, we close all of these bugs.

To keep this message short, more infos are available @ https://wiki.documentfoundation.org/QA/NeedinfoClosure#Statement

Thanks for understanding and hopefully updating your bug, so that everything is prepared for developers to fix your problem.

Yours!

Florian
Comment 5 Florian Reisinger 2012-08-14 14:05:46 UTC
Dear bug submitter!

Due to the fact, that there are a lot of NEEDINFO bugs with no answer within the last six months, we close all of these bugs.

To keep this message short, more infos are available @ https://wiki.documentfoundation.org/QA/NeedinfoClosure#Statement

Thanks for understanding and hopefully updating your bug, so that everything is prepared for developers to fix your problem.

Yours!

Florian
Comment 6 sasha.libreoffice 2012-10-08 10:37:45 UTC
in 3.6.2 odt file shown correctly (as I can understand)
But saving to doc and reloading results in wrong formatting
(What is interesting: saving/reloading to docx works correctly)
Comment 7 sasha.libreoffice 2012-10-08 10:50:29 UTC
It is Export to DOC problem (filesave)
Comment 8 QA Administrators 2015-01-05 17:51:10 UTC
** Please read this message in its entirety before responding **

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present on a currently supported version of LibreOffice (4.3.5 or later): https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the version of LibreOffice and your operating system, and any changes you see in the bug behavior

If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a short comment that includes your version of LibreOffice and Operating System

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case)

Thank you for your help!

-- The LibreOffice QA Team
Comment 9 Buovjaga 2015-01-21 09:41:35 UTC
Works fine now -> WFM.

Win 7 Pro 64-bit Version: 4.5.0.0.alpha0+
Build ID: 07e84cae983c08afdba03018413a19d01abb3006
TinderBox: Win-x86@62-TDF, Branch:MASTER, Time: 2015-01-19_06:15:38