Methods' Summary |
storeAsStorage |
Stores all string table data to a storage and associates this storage
to this instance as if setStorage was called with
this storage. The modified state will be unmodified after the call.
This method can throw all exceptions thrown by the methods of
::com::sun::star::embed::XStorage
|
setStorage |
Associates a storage to the StringResourceWithStorage instance
which is used on subsequent calls of store.
|
Methods' Details |
storeAsStorage
- Description
- Stores all string table data to a storage and associates this storage
to this instance as if setStorage was called with
this storage. The modified state will be unmodified after the call.
This method can throw all exceptions thrown by the methods of
::com::sun::star::embed::XStorage
|
|
setStorage
- Description
- Associates a storage to the StringResourceWithStorage instance
which is used on subsequent calls of store.
- Parameter Storage
- the storage to be associated to the StringResourceManager
This call has to be used carefully as it removes the storage
previously connected to the StringResourceWithStorage. It may
force the implementation to reload data from the previous storage
before releasing it. The StringResourceManager will be modified
after calling this method as the data isn't stored to the new
storage yet. storeAsStorage should be preferred
as it directly stores the data to the new storage and afterwards
this storage is in sync with the resource data.
- Throws
- ::com::sun::star::lang::IllegalArgumentException
if a null interface is passed as Storage
|
|
Top of Page
Copyright © 2000, 2012 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.