PoDoFo 0.9.6
|
#include <PdfInfo.h>
Public Types | |
enum | EPdfInfoInitial { ePdfInfoInitial_WriteCreationTime = 0x01 , ePdfInfoInitial_WriteModificationTime = 0x02 , ePdfInfoInitial_WriteProducer = 0x04 } |
Additional Inherited Members | |
![]() | |
PdfElement (const char *pszType, PdfVecObjects *pParent) | |
PdfElement (const char *pszType, PdfDocument *pParent) | |
PdfElement (const char *pszType, PdfObject *pObject) | |
PdfElement (EPdfDataType eExpectedDataType, PdfObject *pObject) | |
const char * | TypeNameForIndex (int i, const char **ppTypes, long lLen) const |
int | TypeNameToIndex (const char *pszType, const char **ppTypes, long lLen, int nUnknownValue) const |
PdfObject * | CreateObject (const char *pszType=NULL) |
PdfObject * | GetNonConstObject () const |
This class provides access to the documents info dictionary, which provides information about the PDF document.
Enum to specifiy the initial information of the info dictionary.
PoDoFo::PdfInfo::PdfInfo | ( | PdfVecObjects * | pParent, |
int | eInitial = ePdfInfoInitial_WriteCreationTime | ePdfInfoInitial_WriteProducer |
||
) |
Create a new PdfInfo object
pParent | the parent of this object |
eInitial | which information should be writting initially to the information dictionary |
PoDoFo::PdfInfo::PdfInfo | ( | PdfObject * | pObject, |
int | eInitial = ePdfInfoInitial_WriteModificationTime |
||
) |
Create a PdfInfo object from an existing object in the PDF file.
pObject | must be an info dictionary. |
eInitial | which information should be writting initially to the information |
PoDoFo::PdfInfo::~PdfInfo | ( | ) |
Destructor
|
inline |
Get the author of the document
|
inline |
Get creation date of document
|
inline |
Get the creator of the document
|
inline |
Get the keywords of the document
|
inline |
Get modification date of document
|
inline |
Get the producer of the document
|
inline |
Get the subject of the document
|
inline |
Get the title of the document
|
inline |
Get the trapping state of the document
void PoDoFo::PdfInfo::SetAuthor | ( | const PdfString & | sAuthor | ) |
Set the author of the document.
sAuthor | author |
void PoDoFo::PdfInfo::SetCreator | ( | const PdfString & | sCreator | ) |
Set the creator of the document. Typically the name of the application using the library.
sCreator | creator |
Set custom info key.
sName | Name of the key. |
sValue | Value of the key. |
void PoDoFo::PdfInfo::SetKeywords | ( | const PdfString & | sKeywords | ) |
Set keywords for this document
sKeywords | a list of keywords |
void PoDoFo::PdfInfo::SetProducer | ( | const PdfString & | sProducer | ) |
Set the producer of the document.
sProducer | producer |
void PoDoFo::PdfInfo::SetSubject | ( | const PdfString & | sSubject | ) |
Set the subject of the document.
sSubject | subject |
void PoDoFo::PdfInfo::SetTitle | ( | const PdfString & | sTitle | ) |
Set the title of the document.
sTitle | title |
void PoDoFo::PdfInfo::SetTrapped | ( | const PdfName & | sTrapped | ) |
Set the trapping state of the document.
sTrapped | trapped |