:: 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 specigiying 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 © 2012, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.