![]() |
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_HIGHLIGHT 00007 #define H_PDFTRON_PDF_CPPWRAP_HIGHLIGHT 00008 00009 #include <PDF/Annots/TextMarkup.h> 00010 00011 namespace pdftron { 00012 namespace PDF { 00013 namespace Annots { 00018 class Highlight : public TextMarkup 00019 { 00020 public: 00026 Highlight(SDF::Obj d); 00027 00033 Highlight(const Annot& ann) : TextMarkup(ann.GetSDFObj()) {} 00034 00043 static Highlight Create(SDF::SDFDoc& doc, const Rect& pos); 00044 00046 Highlight(TRN_Annot highlight); 00048 };//class Highlight 00049 00050 };//namespace Annot 00051 };//namespace PDF 00052 };//namespace pdftron 00053 #include <Impl/Page.inl> 00054 #endif