Hello,
I am currently trying to create a Plugin for open office.
I have now come to a point which i cant pass without help.
I want to create a settings page for my extension.
This settingspage(Leafe) should be nested inside the Writer tree.
I can already see the Leaf inside the writer tree but then i cant see anythin on the right side of the window.
I have created a OptionsDialog.xcu file where I define the name of the Leaf and then link to the Settings.xdl which should get its information from my Settings.properties file.
Thank you for helping
Need help with an Addon for AOO 4.1.2
-
- Posts: 56
- Joined: Mon Oct 19, 2015 2:34 pm
Need help with an Addon for AOO 4.1.2
OpenOffice 4.1.1 same with the SDK
Operation System is Windows 8.1
Operation System is Windows 8.1
Re: Need help with an Addon for AOO 4.1.2
In which language are you writing the extension?
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
-
- Posts: 56
- Joined: Mon Oct 19, 2015 2:34 pm
Re: Need help with an Addon for AOO 4.1.2
I am writing my extension in Java but if you have a suggestion for an other language which would be maybe easier to use in this case i woul dappreciate it too.
OpenOffice 4.1.1 same with the SDK
Operation System is Windows 8.1
Operation System is Windows 8.1
Re: Need help with an Addon for AOO 4.1.2
There are some links off this page that may help; your problem is beyond my knowledge at present.
https://wiki.openoffice.org/wiki/Extens ... pment_java
https://wiki.openoffice.org/wiki/Extens ... pment_java
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
-
- Posts: 56
- Joined: Mon Oct 19, 2015 2:34 pm
Re: Need help with an Addon for AOO 4.1.2
OK thank you for your try but i think this does not do what i want bu ti am going to try it out and tell you more when it did or didnt work
OpenOffice 4.1.1 same with the SDK
Operation System is Windows 8.1
Operation System is Windows 8.1
Re: Need help with an Addon for AOO 4.1.2
Have you implemented and deproyed the service that provides your option page, which is defined in EventHandlerService prop of the Options configuration?
If you have add the service but the page is not shown, you have to check your service. The service have to implement the following interfaces:
- com.sun.star.awt.XContainerWindowEventHandler
- com.sun.star.lang.XServiceInfo
You can check your service is really ok or not with in simple Basic code:
If your service is not registerd, you will obtain error or null.
If you have add the service but the page is not shown, you have to check your service. The service have to implement the following interfaces:
- com.sun.star.awt.XContainerWindowEventHandler
- com.sun.star.lang.XServiceInfo
You can check your service is really ok or not with in simple Basic code:
Code: Select all
Sub testservice
sImpleName = "hoo.bar.OptionPageHandler" ' implementation name of your service which defined in EventHandlerService
obj = CreateUnoService(sImpleName)
' check your service instance with some object inspector
End sub
Please, edit this thread's initial post and add "[Solved]" to the subject line if your problem has been solved.
Apache OpenOffice 4-dev on Xubuntu 14.04
Apache OpenOffice 4-dev on Xubuntu 14.04