DocumentContentInfo Object (IDocumentContentInfo Interface)

This object contains information about the author, keywords, subject, creation and modification dates, and title of the document and stores the document information dictionary. You can access content information of the certain document using the DocumentContentInfo property of the corresponding FRDocument object.

If you want the values of the properties to be written into the output file, set the corresponding properties of the needed format export parameters to TRUE (see the description of the DocumentContentInfoWritingParams object).

Notes:

  • During export to PDF/A files document content information is always duplicated to XMP data. XMP (Extensible Metadata Platform) is a technology which allows embedding metadata directly into a file. It simplifies content information extraction for third-party applications. The metadata tags written to XMP are those from the Dublin Core set. This is done to comply with the PDF/A standard.
  • During export to PDF files document content information is normally written only to the properties of a file and not duplicated to XMP data. To include document content information to XMP for PDF files, set the WriteXmpMetadata property of the corresponding PDFExportFeatures object to TSPV_Yes. The metadata will be recorded in the same way as for PDF/A files.

Properties

Name Type Description
Application Engine, read-only Returns the Engine object.
Common attributes
Author BSTR

Stores the name of the author of the document. You may set this property to the name of the user.

The default value of this property is an empty string. If the Author attribute is specified in the original document, the value from the original document is used by default.

Keywords BSTR

Stores the keywords of the document.

The default value of this property is an empty string. If the Keywords attribute is specified in the original document, the value from the original document is used by default.

Subject BSTR

Stores the subject of the document.

The default value of this property is an empty string. If the Subject attribute is specified in the original document, the value from the original document is used by default.

Title BSTR

Stores the title of the document.

The default value of this property is an empty string. If the Title attribute is specified in the original document, the value from the original document is used by default.

Additional attributes for certain formats
AuthorsList AuthorsList, read-only

Stores the list of authors of the document. The value of this property is used only for FB2 and EPUB files.

Note: If the list of authors is empty, the value of the Author property is used. If the Author property is empty too, the value of the Author attribute of the output file will be "Unknown Author".

Creator BSTR Stores the creator of the document. The value of this property is used as the Creator attribute of PDF, PDF/A file. The default value of this property is "ABBYY FineReader Engine 12". The Creator attribute of the original PDF document is not taken into account.
Producer BSTR

Stores the producer of the document. The value of this property is used as the Producer attribute of PDF, PDF/A file.

The default value of this property is an empty string. If the Producer attribute is specified in the original document, the value from the original document is used by default.

DocumentInformationDictionary DocumentInformationDictionary

Stores the document information dictionary. This property is only relevant for documents in PDF and PDF/A formats. If the values of the Author, Keywords, Subject or Title properties are not empty strings, the values of these properties are used instead of the corresponding items of the DocumentInformationDictionary object.

Note: The property returns a constant object. To change the document information dictionary, you must at first obtain an intermediate DocumentInformationDictionary object using the IEngine::CreateDocumentInformationDictionary method, change the necessary parameters, and then assign the obtained object to the property.

CreationDate BSTR

Stores the creation date of the document. This property is only relevant for documents created from or to be exported to the files in PDF or XPS format.

The date in the output document must have valid format (D:YYYYMMDDHHmmSSOHH'mm, as specified by the PDF 2.0 standard). If during export the date format is found to be invalid an error will be returned.

The default value of this property is an empty string. If the CreationDate attribute is specified in the original document, the value from the original document is used by default.

ModificationDate BSTR

Stores the modification date of the document. This property is only relevant for documents created from or to be exported to the files in PDF or XPS format.

The date in the output document must have valid format (D:YYYYMMDDHHmmSSOHH'mm, as specified by the PDF 2.0 standard). If during export the date format is found to be invalid an error will be returned.

The default value of this property is an empty string. If the ModificationDate attribute is specified in the original document, the value from the original document is used by default.

Related objects

Object Diagram

See also

FRDocument

Working with Properties

03.07.2024 8:50:10

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.