|
Syntax
- com::sun::star::script::XNameContainer createLibrary
(
- string Name )
- raises ( com::sun::star::lang::IllegalArgumentException , com::sun::star::container::ElementExistException );
Description
Creates a new library
Syntax
- com::sun::star::script::XNameAccess createLibraryLink
(
- string Name,
- string StorageURL,
- boolean ReadOnly )
- raises ( com::sun::star::lang::IllegalArgumentException , com::sun::star::container::ElementExistException );
Description
Creates a link to an "external" library that then can be
accessed using this library manager. The format of the
StorageURL is matter of the implementation. If the read
only flag is set, the linked library cannot be modified.
In this case the returned interface really is only an
XNameAccess. If ReadOnly is false (and the referenced
storage allows write access) the returned interface also
can be a XNameContainer.
Syntax
- void removeLibrary
(
- string Name )
- raises ( com::sun::star::container::NoSuchElementException , com::sun::star::lang::WrappedTargetException );
Description
removes the library with the specified name.
Syntax
- boolean isLibraryLoaded
(
- string Name )
- raises ( com::sun::star::container::NoSuchElementException );
Description
returns true if the accessed library is already loaded from
the storage, otherwise false.
Syntax
- void loadLibrary
(
- string Name )
- raises ( com::sun::star::container::NoSuchElementException , com::sun::star::lang::WrappedTargetException );
Description
Makes the accessed library to be loaded from its storage
if it hasn't already been loaded.
|