Language
Asturianu (ast)
Català (ca)
Čeština (cs)
Dansk (da)
Deutsch (de)
English [US] (en-US)
Español (es)
Esperanto (eo)
Eesti keel (et)
Euskara (eu)
Français (fr)
Gàidhlig (gd)
Galego (gl)
Italiano (it)
Lietuvių (lt)
Magyar (hu)
Nederlands (nl)
Norsk (no)
Polski (pl)
Português [do Brasil] (pt-BR)
Português [Europeu] (pt)
Română (ro)
Slovenčina (sk)
Slovenščina (sl)
Suomi (fi)
Svenska (sv)
Yкраїнська (uk)
Tiếng Việt (vi)
Türkçe (tr)
ኦሮሚኛ (om)
Հայերեն (hy)
Ελληνικά (el)
български език (bg)
Русский (ru)
Cрпски [ћирилицом] (sr)
עברית (he)
हिन्दी (hi)
ភាសាខ្មែរ (km)
தமிழ் (ta)
ภาษาไทย (th)
简体中文 (zh-CN)
正體中文 (zh-TW)
日本語 (ja)
한국어 (ko)
The Free and Open Productivity Suite
:: 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 © 2013, 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.