All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
TextMarkup.h
Go to the documentation of this file.
1 //---------------------------------------------------------------------------------------
2 // Copyright (c) 2001-2023 by Apryse Software Inc. All Rights Reserved.
3 // Consult legal.txt regarding legal and license information.
4 //---------------------------------------------------------------------------------------
5 #ifndef PDFTRON_H_CPPPDFAnnotsTextMarkup
6 #define PDFTRON_H_CPPPDFAnnotsTextMarkup
7 
8 #include <PDF/Annots/Markup.h>
9 #include <PDF/QuadPoint.h>
10 
11 
12 namespace pdftron {
13  namespace PDF {
14  namespace Annots {
19 class TextMarkup : public Markup
20 {
21  public:
29 
36  TextMarkup(const Annot& ann) : Markup(ann.GetSDFObj()) {}
37 
50  int GetQuadPointCount();
51 
65  QuadPoint GetQuadPoint(int idx) const;
66 
81  void SetQuadPoint(int idx, const QuadPoint& qp);
82 
83 // @cond PRIVATE_DOC
84 #ifndef SWIGHIDDEN
85  TextMarkup(TRN_Annot textmarkup);
86 #endif
87 // @endcond
88 
89  };//class TextMarkup
90  };//namespace Annot
91  };//namespace PDF
92 };//namespace pdftron
93 #include <Impl/Page.inl>
94 
95 #endif // PDFTRON_H_CPPPDFAnnotsTextMarkup
SDF::Obj GetSDFObj() const
TextMarkup(const Annot &ann)
Definition: TextMarkup.h:36
void SetQuadPoint(int idx, const QuadPoint &qp)
QuadPoint GetQuadPoint(int idx) const