Seite 1 von 1

Re: Schaltfläche in Symbolleiste - hinterlegtes Makro

Verfasst: Mo, 17.02.2020 15:58
von F3K Total
Tja,
da hast du wohl Recht. Wenn die Symbolleiste in der Datei gespeichert ist, kannst du die Datei entpacken und die im Ordner \Configurations2\toolbar\ enthaltene .xml analysieren, da findet man den Makropfad.
Ist die Symbolleiste unter OpenOffice gespeichert, findet man z.B. die .xml für Writer im Benutzerverzeichnis unter
\config\soffice.cfg\modules\swriter\toolbar\, sieht dann beispielsweise so aus:

Code: Alles auswählen

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE toolbar:toolbar PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "toolbar.dtd">
<toolbar:toolbar xmlns:toolbar="http://openoffice.org/2001/toolbar" xmlns:xlink="http://www.w3.org/1999/xlink" toolbar:uiname="RIK">
 <toolbar:toolbaritem xlink:href="vnd.sun.star.script:MFZE.alte_und_Hilfsmakros.GUI_Test?language=Basic&amp;location=application" toolbar:text="GUI_Test"/>
 <toolbar:toolbaritem xlink:href="vnd.sun.star.script:MFZE.alte_und_Hilfsmakros.Dialog_Eingabe_Msgbox_Daten?language=Basic&amp;location=application" toolbar:text="Dialog_Eingabe_Msgbox_Daten"/>
</toolbar:toolbar>
-> das Makro MFZE.alte_und_Hilfsmakros.GUI_Test hängt an der Schaltfläche GUI_Test
Gruß R