To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=72481
                 Issue #|72481
                 Summary|Misplaced right-tab marker in index using hanging inde
                        |nt
               Component|Word processor
                 Version|OOo 2.0.4
                Platform|All
                     URL|
              OS/Version|Windows XP
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|formatting
             Assigned to|mru
             Reported by|mwtoews





------- Additional comments from [EMAIL PROTECTED] Mon Dec 11 21:56:35 -0800 
2006 -------
This curious bug affects the formating produced in OOo Writer; however it does
not have a truly visible effect until saved and viewed in Microsoft Word.  The
formatting error is created by the "index and tables" feature for "Illustration
Index" or "Table of Contents" with a hanging indent (accomplished in Writer by
setting "Before text" and "First line" to equal, but opposite values -- such as
1.00 cm and -1.00 cm). Certainly, hanging indents are desired in indexes where
the text is considerably long, and wraps to more than one line.

For example:
(1) In a fresh Writer document, insert an image, and right-click it and give it
a long caption.
(2) Insert an Illustration index at the top of the document. You should
hopefully see the illustration caption wrap at least two lines (if not add more
caption text, then "Update Index"
(3) To give the "Illustration Index 1" style a hanging indent, modify the style
(via F11) and set "Before text" to 1.00 cm and "First line" to -1.00 cm.
(4) Beautiful. However, right-click the index, and unselect the "Protect against
manual changes" option, click outside of the style, then click back on the
"Illustration Index 1" style for the index caption. You should observe on the
ruler at the top that the right-tab is approximately 19.59 cm -- or 2.00 cm to
the right of the paragraph marker. Certainly, the right-tab marker should be at
the same position  of the paragraph marker (and it is -- if we don't use a
hanging indent).  However, curiously it is exactly a multiple of 2 of the
"hanging indent" (or possibly mathematically as "before_text + first_line").
(5) If you have Microsoft Word available to you, save this document as a *.DOC
file, and view it there, and you shall see that the right-tab is where the text
wants to go to (rather then to the right paragraph marker -- as is the case for
Writer).

I have found it impossible to "trick" the right-tab marker to move to where it
should by modifying the "Illustration Index 1" style tab position from 17.59 cm
to 16.59 cm (relative distance? not absolute?), and applying that style.
However, when I select "Update Index/Table", this formatting is lost back to the
incorrectly placed right-tab marker.

I believe that the placement of the right-tab marker is miscalculated, when a
hanging indent is used -- this is where I expect to find the bug for this 
scenario.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to