All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Highlight.h
Go to the documentation of this file.
1 //---------------------------------------------------------------------------------------
2 // Copyright (c) 2001-2018 by PDFTron Systems Inc. All Rights Reserved.
3 // Consult legal.txt regarding legal and license information.
4 //---------------------------------------------------------------------------------------
5 #ifndef PDFTRON_H_CPPPDFAnnotsHighlight
6 #define PDFTRON_H_CPPPDFAnnotsHighlight
7 
9 
10 #ifdef SWIG
11 #define Highlight HighlightAnnot
12 #endif
13 
14 namespace pdftron {
15  namespace PDF {
16  namespace Annots {
21 class Highlight : public TextMarkup
22 {
23 public:
31 
38  Highlight(const Annot& ann) : TextMarkup(ann.GetSDFObj()) {}
39 
48  static Highlight Create(SDF::SDFDoc& doc, const Rect& pos);
49 
51  #ifndef SWIGHIDDEN
52  Highlight(TRN_Annot highlight);
53  #endif
54 };//class Highlight
56 
57  };//namespace Annot
58  };//namespace PDF
59 };//namespace pdftron
60 
61 #ifdef SWIG
62 #undef Highlight
63 #endif
64 
65 #include <Impl/Page.inl>
66 
67 #endif // PDFTRON_H_CPPPDFAnnotsHighlight
SDF::Obj GetSDFObj() const
Highlight(const Annot &ann)
Definition: Highlight.h:38
static Highlight Create(SDF::SDFDoc &doc, const Rect &pos)

© 2002-2014 PDFTron Systems Inc.