PoDoFo 0.9.20
|
#include <PdfInfo.h>
Public Member Functions | |
PdfInfo (PdfObject &obj) | |
PdfInfo (PdfObject &obj, PdfInfoInitial initial) | |
void | SetTitle (nullable< const PdfString & > title) |
nullable< const PdfString & > | GetTitle () const |
void | SetAuthor (nullable< const PdfString & > author) |
nullable< const PdfString & > | GetAuthor () const |
void | SetSubject (nullable< const PdfString & > subject) |
nullable< const PdfString & > | GetSubject () const |
void | SetKeywords (nullable< const PdfString & > keywords) |
nullable< const PdfString & > | GetKeywords () const |
void | SetCreator (nullable< const PdfString & > creator) |
nullable< const PdfString & > | GetCreator () const |
void | SetProducer (nullable< const PdfString & > producer) |
nullable< const PdfString & > | GetProducer () const |
nullable< PdfDate > | GetCreationDate () const |
nullable< PdfDate > | GetModDate () const |
void | SetTrapped (nullable< const PdfName & > trapped) |
nullable< const PdfName & > | GetTrapped () const |
This class provides access to the documents info dictionary, which provides information about the PDF document.
PdfInfo::PdfInfo | ( | PdfObject & | obj | ) |
Create a PdfInfo object from an existing object in the PDF file.
obj | must be an info dictionary |
PdfInfo::PdfInfo | ( | PdfObject & | obj, |
PdfInfoInitial | initial ) |
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 the author of the document
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
Get the title of the document
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 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 |