Sadly, I do not have time to look into this right now, but, I believe
that I may have some useful examples in one of my documents. I do not
remember which one. The documents to check (and I do not have local
copies where I am now) are either:
I would check in this order:
http://www.pitonyak.org/database/
(1) Random DB Ramblins: http://www.pitonyak.org/database/AndrewBase.odt
http://www.pitonyak.org/oo.php
(2) OpenOffice.org macros Explained:
http://www.pitonyak.org/OOME_3_0.odt
(3) English macro Document: http://www.pitonyak.org/AndrewMacro.odt
In (1), I think that I directly manipulate macros, creating and then
running them. In (2) I think that I have a section on manipulating
libraries. (3), well, I just don't remember at the moment what I have in
there related to macro libraries.
On 2017-10-05 5:00, CHRISTOPHE JOYAU wrote:
Hello,
I'm looking for a way to import Basic Libraries with Open Office 4.X
about Libraries of a component (not about Globalscope Libraries).
I know to export with :
Librairies=BasicLibrairies
For Each Librairie In Librairies()
BasicLibraries.exportLibrary(Librairie.Name,ConvertToUrl(Chem &
"Basic"),com.sun.star.ucb.AuthenticationRequest)
Next
So i get in directory Chem & "Basic" => xba and xlb
I 'd like to do inverse operation and it 's not working if i use
BasicLibraries.CreateLibraryLink(R,ConvertToUrl(Chem & "Basic\" &
R),False)
With this command i can obtain a new library R in my component but
with an error and it's empty and with a password " " ( it's mad !) .
Could you please endicate the good command to import libraries ?
Thank you for your attention and i hope your answer !
Avec mes salutations,
Christophe Joyau
Pupitreur assistant-Utilisateurs
C entre I nterrégional de S aisie des D onnées
22 bis avenue du 8 mai 1945
95200 Sarcelles
Tel : 09.70.27.18.57
' Ensemble des librairies contenues dans Clas ( il aurait été plus
simple d'utiliser seulement )