Issue 107680 - Numeric field alignment flags are ineffective
Summary: Numeric field alignment flags are ineffective
Alias: None
Product: Calc
Classification: Application
Component: programming (show other issues)
Version: OOO310m19
Hardware: All Linux, all
: P3 Trivial with 1 vote (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Keywords: oooqa
Depends on:
Reported: 2009-12-15 02:34 UTC by azeeman
Modified: 2013-01-29 21:42 UTC (History)
3 users (show)

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

Dialog with controls, set alignment to center (11.86 KB, application/vnd.oasis.opendocument.spreadsheet)
2010-01-10 17:22 UTC, bmarcelly
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description azeeman 2009-12-15 02:34:16 UTC
Numbers displayed in numeric field are always left justified regardless of
whether the left, right or center alignment is selected.
Comment 1 Rainer Bielefeld 2009-12-15 16:21:06 UTC
Please attach a sample document
Comment 2 jsc 2009-12-15 16:51:48 UTC
a little bit more info would be useful in general. Do you try to create such a
field via API?
Comment 3 bmarcelly 2010-01-10 17:20:48 UTC
Some dialog controls cannot memorize the alignment set in the IDE :
NumericField, CurrencyField, PatternField, TimeField, DateField

When you store the document and reload it, alignment returns to left.
Reproduced on 3.1.1 (OOO310m19) on Windows XP.

I will attach an example.
Comment 4 bmarcelly 2010-01-10 17:22:32 UTC
Created attachment 67113 [details]
Dialog with controls, set alignment to center
Comment 5 bmarcelly 2010-01-10 17:23:10 UTC
cc myself
Comment 6 Rainer Bielefeld 2010-01-10 19:13:27 UTC
It seems that control filed information will not be used anyway. 
I can open Macro Dialog Edit window, set alignment, I see new alignment in input
fields canging in the correct way, and alignment entries are correct when I
reopen control field for an already edited field, but my edits are without
effect when I start the macro. It's not necessary to save and reopen the
document to see the problem.
And after I closed and reopened macro edit mode, all alignments have been set
back in control fields.