wxMaxima
Loading...
Searching...
No Matches
pdfinfo.h
Go to the documentation of this file.
1
2// Name: pdfinfo.h
3// Purpose:
4// Author: Ulrich Telle
5// Created: 2009-06-24
6// Copyright: (c) Ulrich Telle
7// Licence: wxWindows licence
9
11
12#ifndef _PDF_INFO_H_
13#define _PDF_INFO_H_
14
15// wxWidgets headers
16#include "wx/pdfdocdef.h"
17
19class WXDLLIMPEXP_PDFDOC wxPdfInfo
20{
21public:
24
26 virtual~wxPdfInfo() {}
27
31
34 void SetTitle(const wxString& title) { m_title = title; }
35
38
41 void SetAuthor(const wxString& author) { m_author = author; }
42
45
48 void SetSubject(const wxString& subject) { m_subject = subject; }
49
53
56 void SetKeywords(const wxString& keywords) { m_keywords = keywords; }
57
61
64 void SetCreator(const wxString& creator) { m_creator = creator; }
65
70
73 void SetProducer(const wxString& producer) { m_producer = producer; }
74
78
81 void SetCreationDate(const wxString& creationDate) { m_creationDate = creationDate; }
82
86
89 void SetModDate(const wxString& modDate) { m_modDate = modDate; }
90
94
97 const wxString GetTitle() const { return m_title; }
98
101
104 const wxString GetAuthor() const { return m_author; }
105
108
111 const wxString GetSubject() const { return m_subject; }
112
116
119 const wxString GetKeywords() const { return m_keywords; }
120
124
127 const wxString GetCreator() const { return m_creator; }
128
131
134 const wxString GetProducer() const { return m_producer; }
135
138
141 const wxString GetCreationDate() const { return m_creationDate; }
142
145
148 const wxString GetModDate() const { return m_modDate; }
149
150private:
151 wxString m_title;
152 wxString m_author;
153 wxString m_subject;
154 wxString m_keywords;
155 wxString m_creator;
156 wxString m_producer;
157 wxString m_creationDate;
158 wxString m_modDate;
159};
160
161#endif
Class representing a PDF document information dictionary.
Definition: pdfinfo.h:20
void SetCreationDate(const wxString &creationDate)
Set the creation date of the document. The creation date records when the document was originally cre...
Definition: pdfinfo.h:81
virtual ~wxPdfInfo()
Destructor.
Definition: pdfinfo.h:26
void SetCreator(const wxString &creator)
Set the creator of the document. The creator is the application that initiated document creation,...
Definition: pdfinfo.h:64
void SetAuthor(const wxString &author)
Set the author of the document. The author is the person or organization that created the document's ...
Definition: pdfinfo.h:41
void SetSubject(const wxString &subject)
Set the subject of the document. The subject is a brief description of the document's topic or purpos...
Definition: pdfinfo.h:48
const wxString GetAuthor() const
Get the author of the document. The author is the person or organization that created the document's ...
Definition: pdfinfo.h:104
void SetTitle(const wxString &title)
Set the title of the document. The title appears in the document's metadata and is typically displaye...
Definition: pdfinfo.h:34
const wxString GetCreator() const
Get the creator of the document. The creator is the application that initiated document creation,...
Definition: pdfinfo.h:127
const wxString GetSubject() const
Get the subject of the document. The subject is a brief description of the document's topic or purpos...
Definition: pdfinfo.h:111
const wxString GetCreationDate() const
Get the creation date of the document. The creation date records when the document was originally cre...
Definition: pdfinfo.h:141
void SetKeywords(const wxString &keywords)
Set the keywords for the document. Keywords are words or phrases associated with the document,...
Definition: pdfinfo.h:56
const wxString GetModDate() const
Get the modification date of the document. The modification date records when the document was last c...
Definition: pdfinfo.h:148
const wxString GetProducer() const
Get the producer of the document. The producer is the PDF-writing library, analogous to a PDF distill...
Definition: pdfinfo.h:134
const wxString GetKeywords() const
Get the keywords for the document. Keywords are words or phrases associated with the document,...
Definition: pdfinfo.h:119
wxPdfInfo()
Default constructor.
Definition: pdfinfo.h:23
void SetModDate(const wxString &modDate)
Set the modification date of the document. The modification date records when the document was last c...
Definition: pdfinfo.h:89
void SetProducer(const wxString &producer)
Set the producer of the document. The producer is the PDF-writing library, analogous to a PDF distill...
Definition: pdfinfo.h:73
const wxString GetTitle() const
Get the title of the document. The title appears in the document's metadata and is typically displaye...
Definition: pdfinfo.h:97
Compile time switches for the wxPdfDocument component.