:: com :: sun :: star :: document ::
|
deprecated |
interface XStandaloneDocumentInfo |
|
|
- Base Interfaces
XStandaloneDocumentInfo
┗ XDocumentInfo
XDocumentInfo |
- (referenced interface's summary:)
- provides access to the user fields for the information regarding the
document
|
|
- Usage Restrictions
- deprecated
- Deprecation Info
- Use XDocumentProperties instead.
- Description
- makes it possible to load document information from
a resource specified by a URL and to store it into a resource also
specified by a URL
Only the document information part of the resource is transferred.
Instead of DocumentInfo not the whole document will be opened.
Note: Without specifying the source or target of this info (the document)
nothing can work and will be handled as void (for reading) or ignored (for writing).
After specifying the source/target by using this interface,
the interface XDocumentInfo (which must be implemented on same
object then this one!) provides access to the info properties.
- See also
- DocumentInfo, StandaloneDocumentInfo, XDocumentInfo
|
Methods' Summary |
loadFromURL |
loads the document information from a file referred by an URL
|
storeIntoURL |
stores the document information into a file referred by a URL
|
Methods' Details |
loadFromURL
void |
loadFromURL( |
[in] string |
URL ) |
raises( |
::com::sun::star::io::IOException ); |
- Description
- loads the document information from a file referred by an URL
After an unsuccessful call the contents of the document
information are undefined (void).
This method only works for storage file formats.
- Parameter URL
- specifies the source of information
- Throws
- com::sun::star::io::IOException
if storage couldn't be found or opened
|
|
storeIntoURL
void |
storeIntoURL( |
[in] string |
URL ) |
raises( |
::com::sun::star::io::IOException ); |
- Description
- stores the document information into a file referred by a URL
Only the document information part of the document is overwritten.
This method only works for storage file formats.
- Parameter URL
- specifies the target for saving
- Throws
- com::sun::star::io::IOException
if storage couldn't be found or opened
|
|
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.