To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=80037
------- Additional comments from [EMAIL PROTECTED] Thu Jul 26 12:28:54 +0000 2007 ------- Hi Markus, So then the queryKeys() method should also not offer it. In fact both places use the same subroutine. And no, you don't do anything wrong, you'd "just" had to refrain from using the nasty automatic format. Unfortunately that isn't straight forward using the API. For each format returned by queryKeys() call getByKey() and inspect the util::NumberFormatProperties returned. If the Type is util::NumberFormat::CURRENCY check whether FormatString contains "[$", if it doesn't it is an automatic format. But why do you query for all formats if you want only currency formats? If you just want to apply some currency format matching the locale use util::XNumberFormatTypes::getStandardFormat(util::NumberFormat::CURRENCY,locale) instead. That never returns an automatic currency format. Eike --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
