All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
PDFDocInfo.h
Go to the documentation of this file.
1 //---------------------------------------------------------------------------------------
2 // Copyright (c) 2001-2023 by Apryse Software Inc. All Rights Reserved.
3 // Consult legal.txt regarding legal and license information.
4 //---------------------------------------------------------------------------------------
5 #ifndef PDFTRON_H_CPPPDFPDFDocInfo
6 #define PDFTRON_H_CPPPDFPDFDocInfo
7 
8 #include <C/PDF/TRN_PDFDocInfo.h>
9 #include <PDF/Date.h>
10 
11 namespace pdftron {
12  namespace PDF {
13 
19 {
20 public:
21 
25  UString GetTitle();
26 
31 
36  void SetTitle(const UString& title);
37 
42 
47 
52  void SetAuthor(const UString& author);
53 
58 
63 
68  void SetSubject(const UString& subject);
69 
74 
79 
84  void SetKeywords(const UString& keywords);
85 
92 
97 
103  void SetCreator(const UString& creator);
104 
111 
116 
121  void SetProducer(const UString& producer);
122 
128 
133  void SetCreationDate(const Date& creation_date);
134 
139  Date GetModDate();
140 
146  void SetModDate(const Date& mod_date);
147 
153 
159  PDFDocInfo (SDF::Obj tr);
160  PDFDocInfo (const PDFDocInfo&);
162 
163  //added default constructor for swig
164  PDFDocInfo ();
165 
166 
167 // @cond PRIVATE_DOC
168 #ifndef SWIGHIDDEN
169  TRN_PDFDocInfo mp_info;
170  PDFDocInfo (TRN_PDFDocInfo impl);
171 #endif
172 // @endcond
173 };
174 
175 
176 
177 #include <Impl/PDFDocInfo.inl>
178 
179  }; // namespace PDF
180 }; // namespace pdftron
181 
182 #endif // PDFTRON_H_CPPPDFPDFDocInfo
void SetProducer(const UString &producer)
void SetModDate(const Date &mod_date)
void SetSubject(const UString &subject)
void SetCreator(const UString &creator)
void SetTitle(const UString &title)
void SetKeywords(const UString &keywords)
void SetAuthor(const UString &author)
void SetCreationDate(const Date &creation_date)
PDFDocInfo & operator=(const PDFDocInfo &)