Overview | Module | Use | Devguide | Index

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

:: com :: sun :: star :: document ::
interface XStandaloneDocumentInfo
  Base Hierarchy
      ::com::sun::star::uno::XInterface
       |
       +-XDocumentInfo
          |
          +-XStandaloneDocumentInfo
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 See also StandaloneDocumentInfo See also 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 raises( | URL ) ::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 raises( | URL ) ::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 © 2003 Sun Microsystems, Inc.