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 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-11 Thread Steff Grund
Hello, this works for me: > > %origin%/../../../../../dialogs/Leaf.xdl > 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 stored under "/dialogs/". How should

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 Christian Lins
On 12/11/08 14:06, Benjamin Vollmer wrote: [snip] Probably a referencing problem. Did you use %origin% to specify the location of the xdl file? Please note that %origin% is relative to the referencing xcu file! Ok, let us take my example. OptionsDialog.xcu is stored under "/registry/data/org/op

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 D

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 Christian Lins
On 12/11/08 11:43, Benjamin Vollmer wrote: - I didn't understand that the main class from the nb addon project must implement the XContainerWindowEventHandler interface. I used a seperate class for this because in the dev guide it seems to be also a standalone class, but this class was never i

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
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 to implement an extension

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 .xd

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 d

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 yo

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 p

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 Benjamin Vollmer
Hi, Juergen Schmidt wrote: Hi Benjamin, did the project wizard work for you in this environment? Yes, I can create new OpenOffice.org add-on projects without problems. My existing add-on project was created with plugin version 2.0.0. regards Benjamin Juergen Benjamin Vollmer wrote: J

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 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 f

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 Be

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 /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 file wiza