[api-dev] Overwrite property when exporting to HTML partly ignored?

2008-12-11 Thread Tobias Krais
Hi together, I am exporting e.g. a presentation document to HTML via API. I set the Overwrite property. The HTML export consists of several files. The main file (presentation.html) is really overwritten while other files (text0.html and img0.jpg) are not overwritten. Instead a message appears

Re: [api-dev] Netbeans OOo Plugin 2.0: How to add custom files for an option dialog to an add-on project?

2008-12-11 Thread Benjamin Vollmer
Hi, Christian Lins wrote: On 12/11/08 11:43, Benjamin Vollmer wrote: - Jürgen said it make sense to use a folder structure like /registry/data/org/openoffice/Office/ for the data-configuration files. But my experience is that for the OptionsDialog.xcu this doesn't work. The refered .xdl

Re: [api-dev] Netbeans OOo Plugin 2.0: How to add custom files for an option dialog to an add-on project?

2008-12-11 Thread Steff Grund
Hello, this works for me: prop oor:name=OptionsPage value%origin%/../../../../../dialogs/Leaf.xdl/value /prop Regards, Steffen Benjamin Vollmer wrote: Hi, Ok, let us take my example. OptionsDialog.xcu is stored under /registry/data/org/openoffice/Office/ and the option dialog file is

Re: [api-dev] Netbeans OOo Plugin 2.0: How to add custom files for an option dialog to an add-on project?

2008-12-11 Thread Juergen Schmidt
Benjamin Vollmer wrote: Hello, Ariel Constenla-Haile wrote: I send a NB project to your mail (you may have to correct the library dependency, as I'm working on a OOo 3.1). Thanks Ariel. I finally get it to work. My Conclusion: Only with the informations from dev guide it is impossible

[api-dev] Usage of UNO_QUERY_THROW

2008-12-11 Thread Daniel Rentz
Hi, does the following snippet throw an exception? uno::Reference XSomething xS1; uno::Reference XSomething xS2( xS1, uno::UNO_QUERY_THROW ); Here, xS2 querries the same interface type from xS1. The intention is to check that xS1 is not null. Daniel

Re: [api-dev] Usage of UNO_QUERY_THROW

2008-12-11 Thread Daniel Rentz
Daniel Rentz schrieb: Hi, does the following snippet throw an exception? uno::Reference XSomething xS1; uno::Reference XSomething xS2( xS1, uno::UNO_QUERY_THROW ); Here, xS2 querries the same interface type from xS1. The intention is to check that xS1 is not null. Ah, by studying the

Re: [api-dev] Usage of UNO_QUERY_THROW

2008-12-11 Thread Frank Schönheit - Sun Microsystems Germany
Hi Daniel, Ah, by studying the sources, I learned that it should be uno::Reference XSomething xS2( xS1, uno::UNO_SET_THROW ); Right? Right. Ciao Frank -- - Frank Schönheit, Software Engineer frank.schoenh...@sun.com - - Sun Microsystems