Frank Schönheit - Sun Microsystems Germany escribió:
Hi Marc,
Isn't css.ui.doalogs.FilterOptionsDialog the service to call in front of
importing? (Frank?)
Uh, never heard of this one. (I really dislike the fact people do not
use [EMAIL PROTECTED] when they define new APIs. This limits others
to knowing-by-chance-only.)
Since the description is somewhat sparse, I am not completely sure,
might be it can in fact be used to open the character set selection
dialog for importing csv/dBase files.
Hi Frank, Marc
all I know is that this can be implemented by an export/import component:
"It should be possible to prompt the user for better values by
registering another component that implements the service
com.sun.star.ui.dialogs.FilterOptionsDialog. It is called UIComponent.
It enables a filter developer to query for user options before the
filter operation is performed. It does not show this dialog inside the
filter, because any UI can be suppressed, for example, an external
application uses the API of OpenOffice.org for scripting running in a
hidden mode."
http://api.openoffice.org/docs/DevelopersGuide/OfficeDev/OfficeDev.xhtml#1_2_4_2_4_Filter_Options
I still didn't play with it, and all the filter examples in the SDK are
too "simple"; this is a common problem in the SDK: we beginners need
easy, simple examples, BUT there should also be complex,
real-world-oriented examples.
As an example: the context menu interceptor example is very good for
starting learning, but for the real world is completely useless (see
this thread for explanations
http://www.openoffice.org/servlets/ReadMsg?listName=dev&msgNo=21144)
Regards
Ariel
--
Ariel Constenla-Haile
La Plata, Argentina
[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.arielconstenlahaile.com.ar/ooo/
"Aus der Kriegsschule des Lebens
- Was mich nicht umbringt,
macht mich härter."
Nietzsche Götzendämmerung, Sprüche und Pfeile, 8.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]