https://issues.apache.org/ooo/show_bug.cgi?id=123721
Bug ID: 123721
Issue Type: DEFECT
Summary: Text is no longer centred properly after changing
before text indent value
Product: Writer
Version: 4.0.1
Hardware: PC
OS: Windows 7
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: formatting
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Created attachment 81966
--> https://issues.apache.org/ooo/attachment.cgi?id=81966&action=edit
Example of center function not working
After changing the before text indent value to something other than the default
(for example 2cm), centering the text no longer works.
Steps to replicate.
1. Type random text that is less than a whole line's length.
2. Select the text and right click.
3. Open Paragraph window.
4. Change before text ident value to something like "2" and press ok.
5. Proceed to center text (Ctrl+E).
As you can see, the text will not be centered and instead be 2cm off on the
right side.
I tried testing this with the after text indent value and it does the same
thing, but in the opposite direction. This is also an issue with negative
values like -1cm and on different types of papers and sizes (Letter, A4).
It seems like the centering function doesn't take into account the indentations
of the lines and therefore ends up formatting the text incorrectly. I came to
this conclusion since it is always consistent with distance that is lacking on
the opposite side to make it centered.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.