OpenOffice.org Administration Guide - OpenOffice.org wiki
OpenOffice.org Administration Guide - OpenOffice.org wiki
OpenOffice.org Administration Guide - OpenOffice.org wiki
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
<strong>OpenOffice</strong>.<strong>org</strong> Basic Macros and Libraries<br />
' destination for the modules from the source document.<br />
oLib = BasicLibraries ' For Basic libaries<br />
oGlobalLib = GlobalScope.BasicLibraries<br />
For iLib = 1 To 2<br />
If oGlobalLib.hasByName( DestLibraryName ) = False Then<br />
oGlobalLib.createLibrary( DestLibraryName )<br />
End If<br />
If oLib.hasByName( SrcLibraryName ) Then<br />
oLib.loadLibrary( SrcLibraryName )<br />
oSrcLib = oLib.getByName( SrcLibraryName )<br />
sSrcModules = oSrcLib.getElementNames()<br />
iCounter = lBound( sSrcModules() )<br />
while( iCounter