Overview | Module | Use | Devguide | Index

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

:: com :: sun :: star :: resource ::
unpublished | interface XStringResourceWithLocation |
  Base Interfaces
      XStringResourceWithLocation
      ┗ XStringResourcePersistence
         ┗ XStringResourceManager
            ┗ XStringResourceResolver
               ┗ ::com::sun::star::util::XModifyBroadcaster
  XStringResourcePersistence | (referenced interface's summary:) Interface derived from XStringResourceManager containing basic persistence functionality limited to operations that are independent from a associated location or storage.
Usage Restrictions not published Description Extends XStringResourcePersistence by methods to handle an associated location. See also XStringResourcePersistence .

Methods' Summary
storeAsURL | Stores all string table data to a location and associates this location to this instance as if setLocation was called with this location. The modified state will be unmodified after the call.
setURL | Associates a location to the StringResourceWithStorage instance which is used on subsequent calls of store.

Methods' Details
storeAsURL
void
storeAsURL( | [in] string | URL )
raises( | ::com::sun::star::uno::Exception );
Description Stores all string table data to a location and associates this location to this instance as if setLocation was called with this location. The modified state will be unmodified after the call. Parameter URL the location the string table data should be stored to.
setURL
void
setURL( | [in] string | URL )
raises( | ::com::sun::star::lang::IllegalArgumentException );
Description Associates a location to the StringResourceWithStorage instance which is used on subsequent calls of store. Parameter URL the location to be associated to the StringResourceManager This call has to be used carefully as it removes the location previously connected to the StringResourceWithStorage. It may force the implementation to reload data from the previous location before releasing it. The StringResourceManager will be modified after calling this method as the data isn't stored to the new location yet. storeAsURL should be preferred as it directly stores the data to the new location and afterwards this location is in sync with the resource data. Throws ::com::sun::star::lang::IllegalArgumentException if an empty string is passed as URL

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.