Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing
|Summary:||Numeric field alignment flags are ineffective|
|Component:||programming||Assignee:||AOO issues mailing list <issues>|
|Status:||CONFIRMED ---||QA Contact:|
|Priority:||P3||CC:||issues, marcelly.bernard, rainerbielefeld_ooo_qa|
|Issue Type:||DEFECT||Latest Confirmation in:||---|
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
@azeeman: 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
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.