Issue 72747 - No Locale casting methods in API
Summary: No Locale casting methods in API
Alias: None
Product: General
Classification: Code
Component: ui (show other issues)
Version: OOo 2.1
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Keywords: needhelp
Depends on:
Reported: 2006-12-19 11:32 UTC by olly600
Modified: 2014-02-14 10:48 UTC (History)
2 users (show)

See Also:
Latest Confirmation in: ---
Developer Difficulty: ---


Note You need to log in before you can comment on or make changes to this issue.
Description olly600 2006-12-19 11:32:32 UTC
While there are methods in the OOo API to set the file properties  are no
methods in the API to assist in casting numerical data to the correct locale
format.  For example if you make an application to import data into a
spreadsheet it is not possible using the OOo API programmatically to set the
entire spreadsheet to a different locale. (There are interfaces XLocale and
XLocalizable present in the API which do nothing.)  So if I have English US
formatted numerical data and want to present the data in different locale
formats i.e. Hungarian, English UK, I have to either manually intervene each
time to set the locale on the spreadsheet or use the standard Java API to format
numbers and dates. This is very messy, time consuming and error prone.
Comment 1 thorsten.martens 2006-12-19 15:29:47 UTC
TM->requirements: please have a look, thanks !