Hi Oliver,

> > i have some questions about the Addons.xcu:
> >
> > - - Is it correct, that one can only define *one* "OfficeToolBar" inside an 
> > Addons.xcu ?
> >   So if one needs more OfficeToolbars, he has to deploy another extension ?
> >   "OfficeToolBarMerging" can not help in this case ?

we define three ToolBars in one Addons.xcu. Is this what you are
asking? Here is ours:

<?xml version="1.0" encoding="UTF-8"?>
<oor:component-data xmlns:oor="http://openoffice.org/2001/registry";
xmlns:xs="http://www.w3.org/2001/XMLSchema"; oor:name="Addons"
oor:package="org.openoffice.Office">
  <node oor:name="AddonUI">
    <node oor:name="OfficeToolBar">

      <node oor:name="de.muenchen.allg.itd51.wollmux.SachleitendeVerfuegung"
oor:op="replace">

        <node oor:name="m1" oor:op="replace">
          <prop oor:name="URL" oor:type="xs:string">
            <value>wollmux:ZifferEinfuegen</value>
          </prop>
          <prop oor:name="Title" oor:type="xs:string">
            <value>Ziffer einfügen</value>
          </prop>
          <prop oor:name="ImageIdentifier" oor:type="xs:string">
            <value/>
          </prop>
          <prop oor:name="Target" oor:type="xs:string">
            <value>_self</value>
          </prop>
          <prop oor:name="Context" oor:type="xs:string">
            <value>com.sun.star.text.TextDocument</value>
          </prop>
        </node>

        [... definition of m2-m6 ...]

        <node oor:name="m7" oor:op="replace">
          <prop oor:name="URL" oor:type="xs:string">
            <value>wollmux:markBlock#draftOnly</value>
          </prop>
          <prop oor:name="Title" oor:type="xs:string">
            <value>nur im Entwurf</value>
          </prop>
          <prop oor:name="ImageIdentifier" oor:type="xs:string">
            <value/>
          </prop>
          <prop oor:name="Target" oor:type="xs:string">
            <value>_self</value>
          </prop>
          <prop oor:name="Context" oor:type="xs:string">
            <value>com.sun.star.text.TextDocument</value>
          </prop>
        </node>

      </node>

      <node oor:name="de.muenchen.allg.itd51.wollmux.Textbausteinsystem"
oor:op="replace">

        <node oor:name="m1" oor:op="replace">
          <prop oor:name="URL" oor:type="xs:string">
            <value>wollmux:TextbausteinEinfuegen</value>
          </prop>
          <prop oor:name="Title" oor:type="xs:string">
            <value>Textbaustein einfügen</value>
          </prop>
          <prop oor:name="ImageIdentifier" oor:type="xs:string">
            <value/>
          </prop>
          <prop oor:name="Target" oor:type="xs:string">
            <value>_self</value>
          </prop>
          <prop oor:name="Context" oor:type="xs:string">
            <value>com.sun.star.text.TextDocument</value>
          </prop>
        </node>

        <node oor:name="m2" oor:op="replace">
          <prop oor:name="URL" oor:type="xs:string">
            <value>wollmux:PlatzhalterAnspringen</value>
          </prop>
          <prop oor:name="Title" oor:type="xs:string">
            <value>Platzhalter anspringen</value>
          </prop>
          <prop oor:name="ImageIdentifier" oor:type="xs:string">
            <value/>
          </prop>
          <prop oor:name="Target" oor:type="xs:string">
            <value>_self</value>
          </prop>
          <prop oor:name="Context" oor:type="xs:string">
            <value>com.sun.star.text.TextDocument</value>
          </prop>
        </node>

        <node oor:name="m3" oor:op="replace">
          <prop oor:name="URL" oor:type="xs:string">
            <value>wollmux:FunctionDialog#Empfaengerauswahl</value>
          </prop>
          <prop oor:name="Title" oor:type="xs:string">
            <value>Empfänger auswählen</value>
          </prop>
          <prop oor:name="ImageIdentifier" oor:type="xs:string">
            <value/>
          </prop>
          <prop oor:name="Target" oor:type="xs:string">
            <value>_self</value>
          </prop>
          <prop oor:name="Context" oor:type="xs:string">
            <value>com.sun.star.text.TextDocument</value>
          </prop>
        </node>

      </node>

      <node 
oor:name="de.muenchen.allg.itd51.wollmux.WerkzeugeFuerVorlagenersteller"
oor:op="replace">

        <node oor:name="m1" oor:op="replace">
          <prop oor:name="URL" oor:type="xs:string">
            <value>wollmux:FormularMax4000</value>
          </prop>
          <prop oor:name="Title" oor:type="xs:string">
            <value>FormularMax 4000</value>
          </prop>
          <prop oor:name="ImageIdentifier" oor:type="xs:string">
            <value/>
          </prop>
          <prop oor:name="Target" oor:type="xs:string">
            <value>_self</value>
          </prop>
          <prop oor:name="Context" oor:type="xs:string">
            <value>com.sun.star.text.TextDocument</value>
          </prop>
        </node>

        [definition of m2-m4 ...]

        <node oor:name="m5" oor:op="replace">
          <prop oor:name="URL" oor:type="xs:string">
            <value>wollmux:dumpInfo</value>
          </prop>
          <prop oor:name="Title" oor:type="xs:string">
            <value>Fehlerinfos erstellen</value>
          </prop>
          <prop oor:name="ImageIdentifier" oor:type="xs:string">
            <value/>
          </prop>
          <prop oor:name="Target" oor:type="xs:string">
            <value>_self</value>
          </prop>
          <prop oor:name="Context" oor:type="xs:string">
            <value>com.sun.star.text.TextDocument</value>
          </prop>
        </node>

      </node>

    </node>
  </node>
</oor:component-data>

best regards,
Christoph

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to