von F3K Total » Mo, 17.02.2020 15:58
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&location=application" toolbar:text="GUI_Test"/>
<toolbar:toolbaritem xlink:href="vnd.sun.star.script:MFZE.alte_und_Hilfsmakros.Dialog_Eingabe_Msgbox_Daten?language=Basic&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
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]<?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&location=application" toolbar:text="GUI_Test"/>
<toolbar:toolbaritem xlink:href="vnd.sun.star.script:MFZE.alte_und_Hilfsmakros.Dialog_Eingabe_Msgbox_Daten?language=Basic&location=application" toolbar:text="Dialog_Eingabe_Msgbox_Daten"/>
</toolbar:toolbar>[/code] -> das Makro [b]MFZE.alte_und_Hilfsmakros.GUI_Test[/b] hängt an der Schaltfläche [b]GUI_Test[/b]
Gruß R