On 12.06.2013 10:24, Jörg Schmidt wrote:
From: Andre Fischer [mailto:awf....@gmail.com]
Sounds good. I have heard of a UI editor (written in Basic?) that
produces XML resource files that can be used in extensions.
Maybe you
can tell me how this works. And/or design a little dialog
that can be
used in a second demo extension for the sidebar. I would
then provide
the Java part of that extension.
I do not know which editor you mean.
But, with XML resource files, you mean something like:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE dlg:window PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN"
"dialog.dtd">
<dlg:window xmlns:dlg="http://openoffice.org/2000/dialog"
xmlns:script="http://openoffice.org/2000/script" dlg:id="Dialog3a"
dlg:left="157"
dlg:top="86" dlg:width="121" dlg:height="43" dlg:closeable="true"
dlg:moveable="true" dlg:title="Hilfe/Lizenz">
<dlg:styles>
<dlg:style dlg:style-id="0" dlg:font-weight="150"/>
</dlg:styles>
<dlg:bulletinboard>
<dlg:button dlg:style-id="0" dlg:id="CommandButton1" dlg:tab-index="0"
dlg:left="3" dlg:top="4" dlg:width="115" dlg:height="16" dlg:value="Hilfedatei
(PDF) aufrufen">
<script:event script:event-name="on-performaction"
script:macro-name="vnd.sun.star.script:mottco.Module1.hilfe_aufrufen?language=Basi
c&location=application" script:language="Script"/>
</dlg:button>
<dlg:button dlg:id="CommandButton2" dlg:tab-index="1" dlg:left="3"
dlg:top="24"
dlg:width="115" dlg:height="16" dlg:value="Lizenz anzeigen">
<script:event script:event-name="on-performaction"
script:macro-name="vnd.sun.star.script:mottco.Module1.lizenz_aufrufen?language=Bas
ic&location=application" script:language="Script"/>
</dlg:button>
</dlg:bulletinboard>
</dlg:window>
Yes, exactly. If you have an idea for a demo panel and can design the
dialog then I can wrap a Java extension around it.
-Andre
Greetings,
Jörg
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org