Loading...
Searching...
No Matches
TextMarkup.h
Go to the documentation of this file.
1//---------------------------------------------------------------------------------------
2// Copyright (c) 2001-2025 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:
28 TextMarkup(SDF::Obj d);
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
Markup.h
QuadPoint.h
pdftron::PDF::Annot::Annot
Annot(SDF::Obj d=0)
pdftron::PDF::Annot::GetSDFObj
SDF::Obj GetSDFObj() const
pdftron::PDF::Annots::Markup::Markup
Markup(SDF::Obj d=0)
pdftron::PDF::Annots::TextMarkup::TextMarkup
TextMarkup(SDF::Obj d)
pdftron::PDF::Annots::TextMarkup::TextMarkup
TextMarkup(const Annot &ann)
Definition TextMarkup.h:36
pdftron::PDF::Annots::TextMarkup::SetQuadPoint
void SetQuadPoint(int idx, const QuadPoint &qp)
pdftron::PDF::Annots::TextMarkup::GetQuadPoint
QuadPoint GetQuadPoint(int idx) const
pdftron::PDF::Annots::TextMarkup::GetQuadPointCount
int GetQuadPointCount()
pdftron::PDF::QuadPoint
Definition QuadPoint.h:15
pdftron::SDF::Obj
Definition Obj.h:41
pdftron::PDF::Annots
Definition Caret.h:12
pdftron::PDF
Definition Action.h:15
pdftron
Definition BasicTypes.h:10