Apache OpenOffice (AOO) Bugzilla – Issue 107680
Numeric field alignment flags are ineffective
Last modified: 2013-01-29 21:42:24 UTC
Numbers displayed in numeric field are always left justified regardless of whether the left, right or center alignment is selected.
@azeeman: Please attach a sample document
a little bit more info would be useful in general. Do you try to create such a field via API?
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.
Created attachment 67113 [details] Dialog with controls, set alignment to center
cc myself
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.