|
Syntax
- com::sun::star::container::XNameContainer getLibraryContainer
();
Description
-
Returns
-
The library container giving access to the libraries stored in a document
or basic library file.
Syntax
- void createLibrary
(
- string LibName,
- string Password,
- string ExternalSourceURL,
- string LinkTargetURL )
- raises ( com::sun::star::container::ElementExistException );
Description
Creates an empty library. This method can be called alternatively to
accessing directly the NameContainer returned by getLibraryContainer.
By using this method together with addModule and addStarBasicDialog
the caller does not have to implement XStarBasicLibraryInfo, XModuleInfo
and XStarBasicDialogInfo
Syntax
- void addModule
(
- string LibraryName,
- string ModuleName,
- string Language,
- string Source )
- raises ( com::sun::star::container::NoSuchElementException );
Description
Adds a module to an existing (e.g. created by createLibrary) library.
By using this method together with createLibrary the caller does not have
to implement XStarBasicLibraryInfo and XModuleInfo
Throws
- NoSuchElementException
if the library doesn't exist.
Syntax
- void addDialog
(
- string LibraryName,
- string DialogName,
- sequence< byte > Data )
- raises ( com::sun::star::container::NoSuchElementException );
Description
Adds an old style basic dialog (SI controls) to an existing (e.g. created
by createLibrary) library.
By using this method together with createLibrary the caller does not have
to implement XStarBasicLibraryInfo and XStarBasicDialogInfo
Throws
- NoSuchElementException
if the library doesn't exist.
|