Howto move macros and toolbars from document to extension

Writing a book, Automating Document Production - Discuss your special needs here
Post Reply
User avatar
blixten
Posts: 2
Joined: Sun Nov 11, 2018 2:01 pm

Howto move macros and toolbars from document to extension

Post by blixten »

What steps should I do to create an extension by moving macros and toolbars from existing document.

I have attached a simple document with just one "HelloWorld"-macro, a "Hellobar"-toolbar with its own "HW"-icon connected to the macro,
that can be used as an example.
Attachments
HelloWorld.odt
(10.81 KiB) Downloaded 240 times
OpenOffice 4.1.5 on Windows 10
User avatar
Lupp
Volunteer
Posts: 3549
Joined: Sat May 31, 2014 7:05 pm
Location: München, Germany

Re: Howto move macros and toolbars from document to extensio

Post by Lupp »

On Windows 10: LibreOffice 24.2 (new numbering) and older versions, PortableOpenOffice 4.1.7 and older, StarOffice 5.2
---
Lupp from München
User avatar
blixten
Posts: 2
Joined: Sun Nov 11, 2018 2:01 pm

Re: Howto move macros and toolbars from document to extensio

Post by blixten »

I just installed and tried the suggested BasicAddonBuilder (v0.5.2), but when pressing "Create"-button, I got:
Error 1: An exception occurred
Type: com.sun.star.ucb.InteractiveAugmentedIOException
Message: a file or directory could not be deleted
Any suggestions on why?
...and why does it want to DELETE anything?
OpenOffice 4.1.5 on Windows 10
Post Reply