私はopenofficeのエクステンションで作業していましたが、LOEclipse(Libreoffice starter extension)を使って作成しています。私はLibreOfficeのツール/オプションでOptionsPageを作成しようとしています。LOEclipse、openoffice拡張機能でOptionsPageを作成するにはどうすればいいですか?
これは私のOptionsDialog.xcuファイルです:問題は、私はそれがこのメニューを作成しない拡張子をコンパイルする場合EventHandlerServiceは、動作していないということですが、私はEventeHandlerServicesの値を削除する場合
<?xml version="1.0" encoding="UTF-8"?>
<oor:component-data oor:name="OptionsDialog" oor:package="org.openoffice.Office" xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w2.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<node oor:name="Nodes">
<node oor:name="org.libreoffice.example.InfoPage" oor:op="fuse">
<prop oor:name="Label">
<value>Some Label</value>
</prop>
<prop oor:name="AllModules">
<value>true</value>
</prop>
<prop oor:name="OptionsPage">
<value>%origin%/../../../../../dialog/InfoDialog.xdl</value>
</prop>
<node oor:name="Leaves">
<node oor:name="org.libreoffice.example.OptionsPage" oor:op="fuse">
<prop oor:name="Id">
<value>org.libreoffice.example.OptionsPage</value>
</prop>
<prop oor:name="Label">
<value>Some Label</value>
</prop>
<prop oor:name="OptionsPage">
<value>%origin%/../../../../../dialog/OptionsDialog.xdl</value>
</prop>
<prop oor:name="EventHandlerService">
<value>org.libreoffice.example.comp.StarterProjectImpl</value>
</prop>
</node>
</node>
</node>
</node>
</oor:component-data>
メニューは表示されますが、データは保持されません。
あなたは、誰かがどんな提案を持っている場合は、私は非常に感謝されるStarterProjectImpl hereのソース
を見ることができます。ありがとう。
私はStarterProjectImpl.javaに問題がありました。私はXContainerWindowEventHandlerとこのイベントに関連するものがありませんでした。再度、感謝します。 – unknown