Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: script ::

unpublished interface XPersistentLibraryContainer
Base Interfaces
XPersistentLibraryContainer
┣ ::com::sun::star::util::XModifiable
┃ ┗ ::com::sun::star::util::XModifyBroadcasterXLibraryContainer2XLibraryContainer
      ┗ ::com::sun::star::container::XNameAccess
         ┗ ::com::sun::star::container::XElementAccess

::com::sun::star::util::XModifiable
(referenced interface's summary:)
makes the modify state of the object accessible.
XLibraryContainer2
(referenced interface's summary:)
Extension of XLibraryContainer to provide additional information about the libraries contained in a library container
Usage Restrictions
not published
Description
describes a container of script libraries which is persistent.

The type of persistence of the container elements is not defined here, but in derived interfaces or services using XPersistentLibraryContainer.

The actual libraries are stored in some object - a sub folder, or a sub storage, for example - below the root location.

Since
OOo 2.3

Methods' Summary
storeLibraries stores the libraries to the current location.  
Attributes' Summary
RootLocation denotes the root location associated with the container.  
ContainerLocationName denotes the name of the sub location where the container elements are actually stored.  
Methods' Details
storeLibraries
void
storeLibraries()
raises( ::com::sun::star::lang::WrappedTargetException );

Description
stores the libraries to the current location.
Throws
::com::sun::star::lang::WrappedTargetException if an error occurs during storing.
See also
RootLocation, ContainerLocationName
Attributes' Details
RootLocation
[ readonly ] any RootLocation;
Description
denotes the root location associated with the container.

The type of this location - it might be a folder in a file system, a storage, or anything else - is not specified here, but in derived interfaces or services implementing XPersistentLibraryContainer.

All operations of the library container take place in a location below the root location, the so-called container location, whose name is exposed as ContainerLocationName.

See also
ContainerLocationName
ContainerLocationName
[ readonly ] string ContainerLocationName;
Description
denotes the name of the sub location where the container elements are actually stored.
See also
RootLocation
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.