On 26.09.2013 09:19, Jörg Schmidt wrote:
Hello,
From: Andre Fischer [mailto:awf....@gmail.com]
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
It took a long time but here is my example, a simple search for writer.

That's OK. I just came back from my vacation and am now catching up on emails.


Can you please help me now?

I will try. Can you tell me, what the extension does and how you want it to work and look?

-Andre



The complete example-extension can be found here:
http://calc-info.de/files/demo_textsuche.oxt

Here is the dialogue:

<?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="dlg_textsuche"
dlg:left="243" dlg:top="165" dlg:width="178" dlg:height="180" 
dlg:closeable="true"
dlg:moveable="true" dlg:title="Demo_Textsuche">
  <dlg:bulletinboard>
   <dlg:text dlg:id="lbl_hinweis" dlg:tab-index="0" dlg:left="5" dlg:top="10"
dlg:width="168" dlg:height="23" dlg:value="Diese Extension dient zur 
Demonstration
des Einbindens von Steuerelementen in die AOO-Sidebar." dlg:multiline="true"/>
   <dlg:textfield dlg:id="txt_suchtext" dlg:tab-index="1" dlg:left="5" 
dlg:top="49"
dlg:width="166" dlg:height="16"/>
   <dlg:text dlg:id="lbl_suchtext" dlg:tab-index="2" dlg:left="7" dlg:top="38"
dlg:width="57" dlg:height="12" dlg:value="Suchtext:"/>
   <dlg:button dlg:id="cmd_suche" dlg:tab-index="3" dlg:left="7" dlg:top="71"
dlg:width="60" dlg:height="16" dlg:value="Suche Nächsten">
    <script:event script:event-name="on-performaction"
script:macro-name="vnd.sun.star.script:Demo_Textsuche.textsuche.Suche_Einzel?langu
age=Basic&amp;location=application" script:language="Script"/>
   </dlg:button>
   <dlg:text dlg:id="lbl_lizenz" dlg:tab-index="5" dlg:left="58" dlg:top="148"
dlg:width="115" dlg:height="30" dlg:value="Lizenz: &#x0a;Apache License, Version
2.0&#x0a;Copyright 2013, Jörg Schmidt" dlg:align="right" dlg:multiline="true"/>
   <dlg:text dlg:id="lbl_ersatz" dlg:tab-index="7" dlg:left="7" dlg:top="95"
dlg:width="57" dlg:height="12" dlg:value="Ersetze durch:"/>
   <dlg:textfield dlg:id="txt_ersatz" dlg:tab-index="6" dlg:left="6" 
dlg:top="106"
dlg:width="166" dlg:height="16"/>
   <dlg:button dlg:id="cmd_ersatz" dlg:tab-index="4" dlg:left="7" dlg:top="129"
dlg:width="60" dlg:height="16" dlg:value="Ersetze Nächsten">
    <script:event script:event-name="on-performaction"
script:macro-name="vnd.sun.star.script:Demo_Textsuche.textsuche.Ersetze_Einzel?lan
guage=Basic&amp;location=application" script:language="Script"/>
   </dlg:button>
  </dlg:bulletinboard>
</dlg:window>



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

Reply via email to