PDFDocInfo.h

Go to the documentation of this file.
00001 //---------------------------------------------------------------------------------------
00002 // Copyright (c) 2001-2008 by PDFTron Systems Inc. All Rights Reserved.
00003 // Consult legal.txt regarding legal and license information.
00004 //---------------------------------------------------------------------------------------
00005 
00006 #ifndef   H_CPPPDFDocInfo
00007 #define   H_CPPPDFDocInfo
00008 
00009 #include <C/PDF/TRN_PDFDocInfo.h>
00010 #include <PDF/Date.h>
00011 
00012 namespace pdftron { 
00013         namespace PDF {
00014 
00019 class PDFDocInfo
00020 {
00021 public:
00022 
00026          UString GetTitle();
00027 
00031          SDF::Obj GetTitleObj();
00032 
00037          void SetTitle(const UString& title);
00038 
00042          UString GetAuthor();
00043 
00047          SDF::Obj GetAuthorObj();
00048 
00053          void SetAuthor(const UString& author);
00054 
00058          UString GetSubject();
00059 
00063          SDF::Obj GetSubjectObj();
00064 
00069          void SetSubject(const UString& subject);
00070 
00074          UString GetKeywords();
00075 
00079          SDF::Obj GetKeywordsObj();
00080 
00085          void SetKeywords(const UString& keywords);
00086         
00092          UString GetCreator();
00093 
00097          SDF::Obj GetCreatorObj();
00098 
00104          void SetCreator(const UString& creator);
00105 
00111          UString GetProducer();
00112 
00116          SDF::Obj GetProducerObj();
00117 
00122          void SetProducer(const UString& producer);
00123 
00128          Date GetCreationDate();
00129 
00134          void SetCreationDate(const Date& creation_date);
00135 
00140          Date GetModDate();
00141 
00147          void SetModDate(const Date& mod_date);
00148 
00153          SDF::Obj GetSDFObj();
00154 
00160          PDFDocInfo (SDF::Obj tr);
00161          PDFDocInfo (const PDFDocInfo&);
00162          PDFDocInfo& operator= (const PDFDocInfo&);
00163 
00164 
00166         TRN_PDFDocInfo mp_info;
00167          PDFDocInfo (TRN_PDFDocInfo impl);
00169 };
00170 
00171 
00172 
00173 #include <Impl/PDFDocInfo.inl>
00174 
00175         };      // namespace PDF
00176 };      // namespace pdftron
00177 
00178 #endif

© 2002-2008 PDFTron Systems Inc.