Overview | Module | Use | Devguide | Index

Methods' Summary | Attributes' Summary | Methods' Details | Attributes' Details

:: com :: sun :: star :: script ::
unpublished | interface XStorageBasedLibraryContainer |
  Base Interfaces
      XStorageBasedLibraryContainer
      ┗ XPersistentLibraryContainer
         ┣ ::com::sun::star::util::XModifiable
         ┃ ┗ ::com::sun::star::util::XModifyBroadcaster
         ┗ XLibraryContainer2
            ┗ XLibraryContainer
               ┗ ::com::sun::star::container::XNameAccess
                  ┗ ::com::sun::star::container::XElementAccess
  XPersistentLibraryContainer | (referenced interface's summary:) describes a container of script libraries which is persistent.
Usage Restrictions not published Description is the interface for an XLibraryContainer which can be made persistent in an ::com::sun::star::embed::XStorage. A persistent library container is associated with a root storage. The container is responsible for a particular sub storage of the root storage, the container storage. Since OOo 2.3

Methods' Summary
storeLibrariesToStorage | stores the libraries to a storage other than the current container storage

Attributes' Summary
RootStorage | denotes the root storage associated with the container.

Methods' Details
storeLibrariesToStorage
void
storeLibrariesToStorage( | [in] ::com::sun::star::embed::XStorage | RootStorage )
raises( | ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException );
Description stores the libraries to a storage other than the current container storage Note that the library container is not automatically associated with the new root storage. Instead, you need to manually set the ::RootStroage attribute afterwards. This separation allows for Save-To as well Save-As operations. Parameter RootStorage denotes the root storage into which the libraries should be written, which must not be NULL. Note that the actual libraries are written into a sub storage of this root storage, as usual. Throws ::com::sun::star::lang::IllegalArgumentException if the `RootStorage` parameter is NULL, or equals RootStorage. Throws ::com::sun::star::lang::WrappedTargetException if an error occurs during storing.

Attributes' Details
RootStorage
::com::sun::star::embed::XStorage RootStorage set raises (::com::sun::star::lang::IllegalArgumentException); Description denotes the root storage associated with the container. Effectively, this attribute is a typed version of XPersistentLibraryContainer::RootLocation, it's guaranteed that at every time, `XPersistentLibraryContainer::RootLocation` and `RootStorage` have the same value. You should only set this attribute to a new value if you previously called storeLibrariesToStorage with the same storage. Setting this attribute to a storage into which the container has not been stored previously might result in unexpected behavior.

Top of Page

Copyright © 2000, 2014 LibreOffice contributors and/or their affiliates. All rights reserved.

LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.

The Document Foundation acknowledges all community members, please find more info at our website.

Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.