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

service DocumentInfo
Description
this service provides document-specific information like the author, creation date and user fields

Contrary to the service StandaloneDocumentInfo the document - which contains such informations - must be loaded completly. As a result of that this DocumengInfo service is available on an open document via the interface XDocumentInfoSupplier only.

See also
StandaloneDocumentInfo, XDocumentInfoSupplier

Exported Interfaces
XDocumentInfo
Description
provides access to the user fields for the information regarding the document

These fields are additional to normal properties. (see below)

::com::sun::star::beans::XPropertySet
Description
neccessary to support normal properties
::com::sun::star::beans::XFastPropertySet
Description
supports faster access on well known properties by using index
::com::sun::star::beans::XPropertyContainer
Usage Restrictions
optional
Description
provides access to the user fields, which (instead to the user fields set by the interface XDocumentInfo) will be typesafe.

These fields are additional to normal properties (see below) and additional to the user fields set by the interface XDocumentInfo (see before).

Properties' Summary
string
Author
contains the intial author of the document  
string
Generator
identifies application was used to create or last modify the document  
::com::sun::star::util::DateTime
CreationDate
contains the date and time of the first time the document was stored  
string
Title
contains the title of the document  
string
Subject
[ DEPRECATED ]
subject of document  
string
Description
contains a multi-line comment of the document  
string
Keywords
contains a comma separated list of keywords for the document  
[ readonly ] string
MIMEType
contains the MIME-type of the document's resource  
::com::sun::star::lang::Locale
Language
default language of the document  
string
ModifiedBy
contains the name of the editor who was the last person to store this document  
::com::sun::star::util::DateTime
ModifyDate
contains the date and time of the last time the document was stored  
string
PrintedBy
contains the name of the editor who was the last person to print the document  
::com::sun::star::util::DateTime
PrintDate
contains the date and time of when the document was last printed  
string
Template
contains the path and name of the template from which the document was created  
::com::sun::star::util::DateTime
TemplateDate
contains the date and time of when the document was created or updated from the template  
string
AutoloadURL
contains the URL to load automatically after a specified time after the document is loaded into a desktop frame  
long
AutoloadSecs
contains the number of seconds after which a specified URL is to be loaded after the document is loaded into a desktop frame  
string
DefaultTarget
contains the name of the default frame into which links should be loaded if no target is specified  
string
BlindCopiesTo
[ DEPRECATED ]
 
string
CopyTo
[ DEPRECATED ]
 
string
InReplyTo
[ DEPRECATED ]
 
string
Newsgroups
[ DEPRECATED ]
 
string
Original
[ DEPRECATED ]
 
short
Priority
[ DEPRECATED ]
 
string
Recipient
[ DEPRECATED ]
 
string
References
[ DEPRECATED ]
 
string
ReplyTo
[ DEPRECATED ]
 
string
Theme
contains the theme of the document.  
[ readonly ] boolean
IsEncrypted
[ DEPRECATED ]
 
boolean
AutoloadEnabled
[ DEPRECATED ]
 
Properties' Details
Author
string Author;
Description
contains the intial author of the document
Generator
string Generator;
Description
identifies application was used to create or last modify the document
CreationDate
::com::sun::star::util::DateTime CreationDate;
Description
contains the date and time of the first time the document was stored
Title
string Title;
Description
contains the title of the document
Subject
string Subject;
Usage Restrictions
deprecated
Deprecation Info
use DocumentInfo::Title instead.
Description
subject of document
Description
string Description;
Description
contains a multi-line comment of the document

Line delimiters can be UNIX, Macintosh or DOS style.

Keywords
string Keywords;
Description
contains a comma separated list of keywords for the document
MIMEType
[ readonly ] string MIMEType;
Description
contains the MIME-type of the document's resource

The MIME-type is neither stored in the document information nor in the document; it is sent within a protocol header or is detected, thus it cannot be changed.

Language
::com::sun::star::lang::Locale Language;
Description
default language of the document
ModifiedBy
string ModifiedBy;
Description
contains the name of the editor who was the last person to store this document
ModifyDate
::com::sun::star::util::DateTime ModifyDate;
Description
contains the date and time of the last time the document was stored
PrintedBy
string PrintedBy;
Description
contains the name of the editor who was the last person to print the document
PrintDate
::com::sun::star::util::DateTime PrintDate;
Description
contains the date and time of when the document was last printed
Template
string Template;
Description
contains the path and name of the template from which the document was created

The value is an empty string if the document was not created from a template or if it was detached from the template.

TemplateDate
::com::sun::star::util::DateTime TemplateDate;
Description
contains the date and time of when the document was created or updated from the template
AutoloadURL
string AutoloadURL;
Description
contains the URL to load automatically after a specified time after the document is loaded into a desktop frame
AutoloadSecs
long AutoloadSecs;
Description
contains the number of seconds after which a specified URL is to be loaded after the document is loaded into a desktop frame
DefaultTarget
string DefaultTarget;
Description
contains the name of the default frame into which links should be loaded if no target is specified

This applies to the autoload feature too, but to others as well.

BlindCopiesTo
string BlindCopiesTo;
Usage Restrictions
deprecated
CopyTo
string CopyTo;
Usage Restrictions
deprecated
InReplyTo
string InReplyTo;
Usage Restrictions
deprecated
Newsgroups
string Newsgroups;
Usage Restrictions
deprecated
Original
string Original;
Usage Restrictions
deprecated
Priority
short Priority;
Usage Restrictions
deprecated
Recipient
string Recipient;
Usage Restrictions
deprecated
References
string References;
Usage Restrictions
deprecated
ReplyTo
string ReplyTo;
Usage Restrictions
deprecated
Theme
string Theme;
Description
contains the theme of the document.
IsEncrypted
[ readonly ] boolean IsEncrypted;
Usage Restrictions
deprecated
AutoloadEnabled
boolean AutoloadEnabled;
Usage Restrictions
deprecated

 
Top of Page