#include <PdfInfo.h>
Inheritance diagram for PoDoFo::PdfInfo:

Public Types | |
| ePdfInfoInitial_WriteCreationTime = 0x01 | |
| Write the creation time (current time). Default for new documents. | |
| ePdfInfoInitial_WriteModificationTime = 0x02 | |
| Write the modification time (current time). Default for loaded documents. | |
| ePdfInfoInitial_WriteProducer = 0x04 | |
| Write producer key. Default for new documents. | |
| enum | EPdfInfoInitial { ePdfInfoInitial_WriteCreationTime = 0x01, ePdfInfoInitial_WriteModificationTime = 0x02, ePdfInfoInitial_WriteProducer = 0x04 } |
Public Member Functions | |
| PdfInfo (PdfVecObjects *pParent, int eInitial=ePdfInfoInitial_WriteCreationTime|ePdfInfoInitial_WriteProducer) | |
| PdfInfo (PdfObject *pObject, int eInitial=ePdfInfoInitial_WriteModificationTime) | |
| ~PdfInfo () | |
| void | SetAuthor (const PdfString &sAuthor) |
| const PdfString & | GetAuthor () const |
| void | SetCreator (const PdfString &sCreator) |
| const PdfString & | GetCreator () const |
| void | SetKeywords (const PdfString &sKeywords) |
| const PdfString & | GetKeywords () const |
| void | SetSubject (const PdfString &sSubject) |
| const PdfString & | GetSubject () const |
| void | SetTitle (const PdfString &sTitle) |
| const PdfString & | GetTitle () const |
| void | SetProducer (const PdfString &sProducer) |
| const PdfString & | GetProducer () const |
| void | SetTrapped (const PdfName &sTrapped) |
| const PdfName & | GetTrapped () const |
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
| const PdfString & PoDoFo::PdfInfo::GetAuthor | ( | ) | const [inline] |
Get the author of the document
| const PdfString & PoDoFo::PdfInfo::GetCreator | ( | ) | const [inline] |
Get the creator of the document
| const PdfString & PoDoFo::PdfInfo::GetKeywords | ( | ) | const [inline] |
Get the keywords of the document
| const PdfString & PoDoFo::PdfInfo::GetProducer | ( | ) | const [inline] |
Get the producer of the document
| const PdfString & PoDoFo::PdfInfo::GetSubject | ( | ) | const [inline] |
Get the subject of the document
| const PdfString & PoDoFo::PdfInfo::GetTitle | ( | ) | const [inline] |
Get the title of the document
| const PdfName & PoDoFo::PdfInfo::GetTrapped | ( | ) | const [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 |
| 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 |
1.4.7