Apache OpenOffice (AOO) Bugzilla – Issue 81259
Axis scale tab-page: wrong numberformat for editing
Last modified: 2013-02-24 21:18:47 UTC
1. load the attached bugdoc 2. activate the chart and open the properties dialog of the y-axis 3. goto tab Scale => You'll notice that, although the format is a (Bulgarian) number format, you will get dates in the input fields. Well, you may or may not. I get this phenomenon whenever I switch to German language settings. The problem was the fix for an internal issue (101318) with the summary " Chart: manual 0.00x values for range-intervals not possible". The fix increased the precision of the number formatter used in the dialog by replacing it with a static one (which is not allowed according to ER). Replacing this static number formatter by the original one (the one used in the view, which comes from Calc in case data comes also from Calc) fixes this bug but resets the precision again.
Created attachment 47956 [details] Bugdoc
correcting target
The internal issue exists also as an IssueZilla issue, see Issue 6278. ->QA: Please check, as the fix for this issue will remove the original fix for the mentioned issue and fix it differently.
added a function UseInputStringForFormatting() at the svtools FormattedField. IMO it makes more sense to display the input format in an edit field rather than the output format, because edit fields are used for *input* not primarily for output. Setting this flags tells the FormattedField to call GetInputLineString() rather than GetOutputString() at the Numberformatter. The behavior is now similar to the input line in Calc.
->kla: Please check the input of values in the scale tab-page with different number formats thorroughly, because I changed the mechanism for all formats. It should now behave similar to Calc. See CWS chart11. See also Issue 56524.
seen ok in CWS chart11 -> verified
Seen ok in current master -> closed