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

 
Top of Page