On 01/19/10 09:24, Ari Urkullu Villanueva wrote:
The first of this two, is that I don't know how to get the language which Calc is using in the user interface
The UI locale can be read from the configuration as "ooLocale" under "org.openoffice.Setup/L10N".
The second technical problem I have, is that when I implement the service com.sun.star.ui.dialogs.FilterOptionsDialog. The problem is that I don't know when the service is called for importing, and when it is called for exporting
If your filter options dialog implements the XImporter and XExporter interfaces, either setTargetDocument or setSourceDocument will be called. I'm not sure if this is documented anywhere, but it's what we use to distinguish between import and export for our own dialogs.
Niklas --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
