Nice to meet you, I am Ari Urkullu.
First I will explain what kind of extension is. My extension allows to exchange
data trough a filter(I have supported the services
com.sun.star.document.ExportFilter, com.sun.star.document.ImportFilter,
com.sun.star.document.ExtendedTypeDetection and
com.sun.star.ui.dialogs.FilterOptionsDialog), between Calc and Freemind.
I am about to finish an extension for openoffice and I have a few problems. The
first one is that once I have the extension fully ended, I don´t know where do
I have to send it(both, the extension and the source code), so anybody who
wants could use it. I have two more problems, these ones about technical
questions. The first of this two, is that I don't know how to get the language
which Calc is using in the user interface(I mean, if the application Calc is
using English, his buttons and text will be shown in English, like Window,
Help, View,..., if Calc is using Spanish, will be shown in Spanish, like
"Ventana", "Ayuda","Vista",... and so on for other languages). So if I don't
know how to get the language that is being used, I don't know in what language
I must show Components that interact with the user. The second technical
problem I have, is that when I implement the service
com.sun.star.ui.dialogs.FilterOptionsDialog. To explain this problem I will
show it with an example. Imagine that we are importing data to Calc from a
Freemind file. We are first in the main window of Calc, and press File, next we
press Open..., and in the file chooser dialog we select the Freemind file.
Then, the service com.sun.star.ui.dialogs.FilterOptionsDialog is used, so we
can parametrize the filter. Here is where i find my problem. The problem is
that I don't know when the service is called for importing, and when it is
called for exporting(The parametrization is not the same for these two
options), so I am forced to ask to the user using dialogs if he wants to
import(Open...) or to export(Save...), and this is a question which the user
has already answered before the service is called, because he first chooses if
he wants to Open...(Import) or to Save(Export...).
I must say also, that I am doing this work as a part of the work that I have to
do for my degree end project. With this, I want to mean that I won´t be able to
release the extension before I have exposed the whole project, and I guess that
this will happen in the last days of February or in March.
Than you very much for paying attention to my words.
_________________________________________________________________
Hotmail es capacidad. ¡Descubre sus ventajas y llévate un Mazda 2 gratis!
http://www.vivelive.com/historiasdehotmail/