|
pdfmm 0.9.20
|
#include <PdfInfo.h>
Inherits mm::PdfDictionaryElement.
This class provides access to the documents info dictionary, which provides information about the PDF document.
| PdfInfo::PdfInfo | ( | PdfDocument & | doc, |
| PdfInfoInitial | initial = PdfInfoInitial::WriteCreationTime | PdfInfoInitial::WriteProducer |
||
| ) |
Create a new PdfInfo object
| parent | the parent of this object |
| initial | which information should be writting initially to the information dictionary |
| PdfInfo::PdfInfo | ( | PdfObject & | obj, |
| PdfInfoInitial | initial = PdfInfoInitial::None |
||
| ) |
Create a PdfInfo object from an existing object in the PDF file.
| obj | must be an info dictionary. |
| initial | which information should be writting initially to the information |
Get creation date of document
Get the creator of the document
Get the keywords of the document
Get modification date of document
Get the producer of the document
Get the subject of the document
| const PdfName & PdfInfo::GetTrapped | ( | ) | const |
Get the trapping state of the document
Set the author of the document.
| author | author |
Set the creator of the document. Typically the name of the application using the library.
| creator | creator |
Set custom info key.
| name | Name of the key. |
| value | Value of the key. |
Set keywords for this document
| keywords | a list of keywords |
Set the producer of the document.
| producer | producer |
Set the subject of the document.
| subject | subject |
Set the title of the document.
| title | title |
| void PdfInfo::SetTrapped | ( | const PdfName & | trapped | ) |
Set the trapping state of the document.
| trapped | trapped |