00001
00002
00003
00004
00005
00006 #ifndef H_PDFTRON_PDF_CPPWRAP_POPUP
00007 #define H_PDFTRON_PDF_CPPWRAP_POPUP
00008
00009 #include <PDF/Annot.h>
00010
00011 namespace pdftron {
00012 namespace PDF {
00013 namespace Annots {
00021 class Popup : public Annot
00022 {
00023 public:
00029 Popup(SDF::Obj d = 0);
00030
00036 Popup(const Annot& ann) : Annot(ann.GetSDFObj()) {}
00037
00046 static Popup Create(SDF::SDFDoc& doc, const Rect& pos);
00047
00057 Annot GetParent() const;
00058
00069 void SetParent(const Annot& parent);
00070
00079 bool IsOpen() const;
00080
00090 void SetOpen(bool is_open);
00091
00093 Popup(TRN_Annot popup);
00095 };
00096 };
00097 };
00098 };
00099 #include <Impl/Page.inl>
00100 #endif