![]() |
00001 //--------------------------------------------------------------------------------------- 00002 // Copyright (c) 2001-2010 by PDFTron Systems Inc. All Rights Reserved. 00003 // Consult legal.txt regarding legal and license information. 00004 //--------------------------------------------------------------------------------------- 00005 00006 00007 #ifndef H_PDFTRON_PDF_CPPWRAP_MOVIE 00008 #define H_PDFTRON_PDF_CPPWRAP_MOVIE 00009 00010 #include <PDF/Annot.h> 00011 00012 namespace pdftron { 00013 namespace PDF { 00014 namespace Annots { 00020 class Movie : public Annot 00021 { 00022 public: 00028 Movie(SDF::Obj d = 0); 00029 00035 Movie(const Annot& ann) : Annot(ann.GetSDFObj()) {} 00036 00045 static Movie Create(SDF::SDFDoc& doc, const Rect& pos); 00046 00053 UString GetTitle() const; 00054 00062 void SetTitle(const UString& title); 00063 00073 bool IsToBePlayed() const; 00074 00086 void SetToBePlayed(bool isplay=true); 00087 00088 00090 Movie(TRN_Annot movie); 00092 00093 }; //class Movie 00094 }; //namespace Annot 00095 }; //namespace PDF 00096 }; //namespace pdftron 00097 #include <Impl/Page.inl> 00098 #endif