![]() |
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 #ifndef H_PDFTRON_PDF_CPPWRAP_TEXTMARKUP 00007 #define H_PDFTRON_PDF_CPPWRAP_TEXTMARKUP 00008 00009 #include <PDF/Annots/Markup.h> 00010 #include <PDF/QuadPoint.h> 00011 00012 00013 namespace pdftron { 00014 namespace PDF { 00015 namespace Annots { 00020 class TextMarkup : public Markup 00021 { 00022 public: 00028 TextMarkup(SDF::Obj d); 00029 00035 TextMarkup(const Annot& ann) : Markup(ann.GetSDFObj()) {} 00036 00049 int GetQuadPointCount(); 00050 00064 QuadPoint GetQuadPoint(int idx) const; 00065 00078 void SetQuadPoint(int idx, const QuadPoint& qp); 00079 00081 TextMarkup(TRN_Annot textmarkup); 00083 00084 };//class TextMarkup 00085 };//namespace Annot 00086 };//namespace PDF 00087 };//namespace pdftron 00088 #include <Impl/Page.inl> 00089 #endif