LibreOffice
LibreOffice 24.2 SDK API Reference
|
Interface representing a library and provides access to its modules. More...
import"XStarBasicAccess.idl";
Public Member Functions | |
com::sun::star::container::XNameContainer | getLibraryContainer () |
returns the library container giving access to the libraries stored in a document or basic library file. More... | |
void | createLibrary ([in] string LibName, [in] string Password, [in] string ExternalSourceURL, [in] string LinkTargetURL) raises ( com::sun::star::container::ElementExistException ) |
Creates an empty library. More... | |
void | addModule ([in] string LibraryName, [in] string ModuleName, [in] string Language, [in] string Source) raises ( com::sun::star::container::NoSuchElementException ) |
Adds a module to an existing (e.g., created by createLibrary) library. More... | |
void | addDialog ([in] string LibraryName, [in] string DialogName, [in] sequence< byte > Data) raises ( com::sun::star::container::NoSuchElementException ) |
Adds an old style basic dialog (SI controls) to an existing (e.g., created by createLibrary) library. More... | |
Public Member Functions inherited from XInterface | |
any | queryInterface ([in] type aType) |
queries for a new interface to an existing UNO object. More... | |
void | acquire () |
increases the reference counter by one. More... | |
void | release () |
decreases the reference counter by one. More... | |
Interface representing a library and provides access to its modules.
void addDialog | ( | [in] string | LibraryName, |
[in] string | DialogName, | ||
[in] sequence< byte > | Data | ||
) | |||
raises | ( | com::sun::star::container::NoSuchElementException | |
) |
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
NoSuchElementException | if the library doesn't exist. |
void addModule | ( | [in] string | LibraryName, |
[in] string | ModuleName, | ||
[in] string | Language, | ||
[in] string | Source | ||
) | |||
raises | ( | com::sun::star::container::NoSuchElementException | |
) |
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.
NoSuchElementException | if the library doesn't exist. |
void createLibrary | ( | [in] string | LibName, |
[in] string | Password, | ||
[in] string | ExternalSourceURL, | ||
[in] string | LinkTargetURL | ||
) | |||
raises | ( | com::sun::star::container::ElementExistException | |
) |
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
com::sun::star::container::XNameContainer getLibraryContainer | ( | ) |
returns the library container giving access to the libraries stored in a document or basic library file.