Methods' Details
|
- createLibrary
-  
- com::sun::star::script::XNameContainer
createLibrary(
-
- raises ( com::sun::star::lang::IllegalArgumentException, com::sun::star::container::ElementExistException );
- Description
-
Creates a new library
|
- createLibraryLink
-  
- com::sun::star::script::XNameAccess
createLibraryLink(
[ in ] string |
Name, |
[ in ] string |
StorageURL, |
[ in ] 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 a 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.
|
- removeLibrary
-  
- void
removeLibrary(
-
- raises ( com::sun::star::container::NoSuchElementException, com::sun::star::lang::WrappedTargetException );
- Description
- removes the library item with the specified name. If the accessed
library item is a link only the link is removed, not the target library.
|
- isLibraryLoaded
-  
- boolean
isLibraryLoaded(
-
- raises ( com::sun::star::container::NoSuchElementException );
- Description
-
returns true if the accessed library is already loaded from
the storage, otherwise false.
|
- loadLibrary
-  
- void
loadLibrary(
-
- raises ( com::sun::star::container::NoSuchElementException, com::sun::star::lang::WrappedTargetException );
- Description
-
Causes the accessed library to be loaded from its storage
if it hasn't already been loaded.
|
Copyright 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA.