- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

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-2025 by Apryse Software 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
8 #include <PDF/Annots/TextMarkup.h>
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:
30 Highlight(SDF::Obj d);
31
38 Highlight(const Annot& ann) : TextMarkup(ann.GetSDFObj()) {}
39
48 static Highlight Create(SDF::SDFDoc& doc, const Rect& pos);
49 static Highlight CreateAnnot(SDF::SDFDoc& doc, const Rect& pos);
50
51 // @cond PRIVATE_DOC
52 #ifndef SWIGHIDDEN
53 Highlight(TRN_Annot highlight);
54 #endif
55 // @endcond
56 };//class Highlight
57
58 };//namespace Annot
59 };//namespace PDF
60 };//namespace pdftron
61
62 #ifdef SWIG
63 #undef Highlight
64 #endif
65
66 #include <Impl/Page.inl>
67
68 #endif // PDFTRON_H_CPPPDFAnnotsHighlight
pdftron::PDF::Annot::GetSDFObj
SDF::Obj GetSDFObj() const
pdftron::PDF::Annots::TextMarkup
Definition: TextMarkup.h:19
pdftron::PDF::Rect
Definition: Rect.h:28
pdftron::PDF::Annots::Highlight::CreateAnnot
static Highlight CreateAnnot(SDF::SDFDoc &doc, const Rect &pos)
pdftron::PDF::Annots::Highlight::Highlight
Highlight(const Annot &ann)
Definition: Highlight.h:38
pdftron::SDF::SDFDoc
Definition: SDFDoc.h:67
pdftron::PDF::Annots::Highlight
Definition: Highlight.h:21
pdftron::PDF::Annot
Definition: Annot.h:33
pdftron::PDF::Annots::Highlight::Create
static Highlight Create(SDF::SDFDoc &doc, const Rect &pos)
pdftron::SDF::Obj
Definition: Obj.h:40
TextMarkup.h
pdftron::PDF::Annots::Highlight::Highlight
Highlight(SDF::Obj d)