How to import library Standard?
Imagine this situation.
I have new computer.
Fresh install of OpenOffice.
I want to import my macros from backup.
I can import all libraryes except "Standard".
Ponny
[Solved] How to import library Standard
[Solved] How to import library Standard
Last edited by Ponny on Sun Nov 22, 2020 2:32 pm, edited 1 time in total.
MS Windows 10: OpenOffice 4.1.13; LibreOffice 7.3.5.2
Re: How to import library Standard
Replace directory %APPDIR%\OpenOffice\4\user\basic\Standard
Edit: Replace the entire %APPDIR%\OpenOffice\4\user\ in order to transfer all settings, macros, templates and stuff |
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Re: How to import library Standard
Or, if you wish the same configuration as previously, replace all %APPDIR%\OpenOffice\4\ from your backup.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
Re: How to import library Standard
Thankyou
I made this after many different tryes. But I stil hope, there is some more "legal" way. Like this via dialog window. Macros ..... Libraryes ..... Import ..... or something similar.
I made this after many different tryes. But I stil hope, there is some more "legal" way. Like this via dialog window. Macros ..... Libraryes ..... Import ..... or something similar.
MS Windows 10: OpenOffice 4.1.13; LibreOffice 7.3.5.2
Re: How to import library Standard [SOLVED]
At some point I started to organize my Basic code in libraries other than "Standard". These can be exported and imported.
WIth Python as macro langauge every module is nothing more than a text file in the Scripts/python/ directory.
WIth Python as macro langauge every module is nothing more than a text file in the Scripts/python/ directory.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Re: How to import library Standard [SOLVED]
I tried to move module from Library "Standart" to "Tukec".
But then macro stop working.
error in line:
document = ThisComponent.CurrentController.Frame
But there is no change in this module.
But then macro stop working.
error in line:
document = ThisComponent.CurrentController.Frame
But there is no change in this module.
MS Windows 10: OpenOffice 4.1.13; LibreOffice 7.3.5.2
Re: How to import library Standard [SOLVED]
Uf, sorry, my mistake. I forgot to point it to right Ooo file.
Well, there is more things in module, about user dialog window. I need to find it and change some things, to macro - user dialog - work.
This will need some time.
Well, there is more things in module, about user dialog window. I need to find it and change some things, to macro - user dialog - work.
This will need some time.
MS Windows 10: OpenOffice 4.1.13; LibreOffice 7.3.5.2
Re: How to import library Standard [SOLVED]
Now you can export the library as an extension and port it to other machines. And you can import the library to a parallel installation pointing to the librarie's script.xlb. And you can import the library into a document.
Export
Call the organizer dialog for modules, dialogs and libraries.
Select the libraries tab and select your library under [My Macros] or within a loaded document if the lib in question is embedded in a document or template.
Click [Export...] and export an extension file (*.oxt) which contains nothing but that library installable in OpenOffice and LibreOffice as well.
Import
Call the organizer dialog for modules, dialogs and libraries.
Select the libraries tab and select either [My Macros] or a loaded document as target container.
Click [Import...] and point either to an extension file containing the Basic library, a document containing the Basic library or point to the script.xlb of the library within your profile.
Export
Call the organizer dialog for modules, dialogs and libraries.
Select the libraries tab and select your library under [My Macros] or within a loaded document if the lib in question is embedded in a document or template.
Click [Export...] and export an extension file (*.oxt) which contains nothing but that library installable in OpenOffice and LibreOffice as well.
Import
Call the organizer dialog for modules, dialogs and libraries.
Select the libraries tab and select either [My Macros] or a loaded document as target container.
Click [Import...] and point either to an extension file containing the Basic library, a document containing the Basic library or point to the script.xlb of the library within your profile.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Re: [Solved] How to import library Standard
Thankyou
I will try this.
I will try this.
MS Windows 10: OpenOffice 4.1.13; LibreOffice 7.3.5.2