Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


:: com :: sun :: star :: document ::

deprecated interface XStandaloneDocumentInfo
Base Interfaces
XStandaloneDocumentInfoXDocumentInfo

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

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.