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

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

2008-12-04 Thread Benjamin Vollmer
Hello, I still have problems with the option handling in the extension context. The answers from the mailinglist were helpful, but I need more informations. The paths and identifiers are now correct. Unsolved questions: - Why does my .xdl-dialog not appear in the options dialog? I tried to

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

2008-12-04 Thread Ariel Constenla-Haile
Hello Benjamin, Benjamin Vollmer escribió: Hello, I still have problems with the option handling in the extension context. The answers from the mailinglist were helpful, but I need more informations. The paths and identifiers are now correct. Unsolved questions: - Why does my

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

2008-11-17 Thread Benjamin Vollmer
Hi, A small update: I corrected the paths to the .xcs / .xcu files and now both files will be included in the generated .oxt file. I have now a new leaf in the writer options as I should be, but the dialog elements from the referred .xdl file are still missing. Is there a way to debug this

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

2008-11-17 Thread Juergen Schmidt
Hi, sure you need the appropriate modules with debug info. But i would first check the extension identifier. It is important that you use the correct identifier that you have defined in the project properties (or in the description.xml) in the OptionsDialog.xcu as well. You can also debug

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

2008-11-12 Thread Juergen Schmidt
Hi Benjamin, did the project wizard work for you in this environment? Juergen Benjamin Vollmer wrote: Juergen Schmidt wrote: You should use the latest plugin (2.0.1, not available via the update center so far) and you should create the xcu/xcs files with the new file wizard. The plugin will

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

2008-11-11 Thread Juergen Schmidt
Hi Benjamin, well it depends where you add the files in your project. With the old plugin it should work if the files are in the project/src directory. You should use the latest plugin (2.0.1, not available via the update center so far) and you should create the xcu/xcs files with the new

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

2008-11-11 Thread Juergen Schmidt
Hi, i have uploaded the version 2.0.1 in the file section of the api project. Please report potential issues as soon as possible and help us to test the new version. http://api.openoffice.org/files/documents/22/4375/org-openoffice-extensions-2.0.1.nbm Juergen Juergen Schmidt wrote: Hi

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

2008-11-11 Thread Benjamin Vollmer
Juergen Schmidt wrote: You should use the latest plugin (2.0.1, not available via the update center so far) and you should create the xcu/xcs files with the new file wizard. The plugin will create the files under a new directory registry/[data/**/*.xcu|schema/**/*.xcs]. The reason for that is