Issue 88284 - If text orientation is not zero and a cell has two lines, horizontal centering does not work properly,
Summary: If text orientation is not zero and a cell has two lines, horizontal centerin...
Alias: None
Product: Calc
Classification: Application
Component: formatting (show other issues)
Version: OOo 2.4.0
Hardware: PC All
: P4 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Reported: 2008-04-14 23:15 UTC by ernstblaauw
Modified: 2013-08-07 15:12 UTC (History)
3 users (show)

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


Note You need to log in before you can comment on or make changes to this issue.
Description ernstblaauw 2008-04-14 23:15:52 UTC

If you have a cell containing two lines (added using a manual line break,
ctrl-enter), the behavior of the horizontal alignment is different depending on
the text orientation. If the text orientation is zero, the alignment looks like

               Second Line

Which looks well. If I set the text orientation to a value different as zero,
the text orientation looks like:

               Second Line

That doesn't look well. The two lines are centered together, not the individual

How to reproduce this:
- Enter two lines in a cell using ctrl-enter
- Right click --> Format Cells...
- Go to the alignment tab
- Set the horizontal alignment to center
- Set the text orientation to, let's say, 145. (As ling it is not zero)
- Press 'OK'.

Now you'll see the wrongly aligned text.

Hopefully this is helpful to you!
Comment 1 amy2008 2008-08-25 08:25:30 UTC
Can reproduce it in OOO300_m3_en-US on WinXP. 
Please check it again.
Comment 2 kla 2008-08-25 14:55:55 UTC
Comment 3 gibi 2010-06-24 17:32:44 UTC
Reproducible with DEV300m83 en-US Linux X64, so extending OS to "all".