- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Caret.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_CPPPDFAnnotsCaret
6 #define PDFTRON_H_CPPPDFAnnotsCaret
7
8 #include <PDF/Annots/Markup.h>
9
10 namespace pdftron {
11 namespace PDF {
12 namespace Annots {
17 class Caret : public Markup
18 {
19 public:
20
27 Caret(SDF::Obj d = 0);
28
35 Caret(const Annot& ann) : Markup(ann.GetSDFObj()) {}
36
45 static Caret Create(SDF::SDFDoc& doc, const Rect& pos);
46 static Caret CreateAnnot(SDF::SDFDoc& doc, const Rect& pos);
60 static Caret Create(SDF::SDFDoc& doc, const Rect& pos, Rect padding);
61 static Caret CreateAnnot(SDF::SDFDoc& doc, const Rect& pos, Rect padding);
69 const char* GetSymbol() const;
70
77 void SetSymbol(const char* symbol);
78
79 // @cond PRIVATE_DOC
80 #ifndef SWIGHIDDEN
81 Caret(TRN_Annot caret);
82 #endif
83 // @endcond
84 };
85
86
87 };//namespace Annot
88 };//namespace PDF
89 };//namespace pdftron
90
91 #include <Impl/Page.inl>
92
93 #endif // PDFTRON_H_CPPPDFAnnotsCaret
pdftron::PDF::Annot::GetSDFObj
SDF::Obj GetSDFObj() const
pdftron::PDF::Rect
Definition: Rect.h:28
pdftron::PDF::Annots::Caret::CreateAnnot
static Caret CreateAnnot(SDF::SDFDoc &doc, const Rect &pos)
pdftron::PDF::Annots::Caret::Caret
Caret(const Annot &ann)
Definition: Caret.h:35
Markup.h
pdftron::SDF::SDFDoc
Definition: SDFDoc.h:67
pdftron::PDF::Annots::Caret::Create
static Caret Create(SDF::SDFDoc &doc, const Rect &pos)
pdftron::PDF::Annots::Caret::Caret
Caret(SDF::Obj d=0)
pdftron::PDF::Annots::Caret::SetSymbol
void SetSymbol(const char *symbol)
pdftron::PDF::Annots::Caret::GetSymbol
const char * GetSymbol() const
pdftron::PDF::Annot
Definition: Annot.h:33
pdftron::PDF::Annots::Caret
Definition: Caret.h:17
pdftron::SDF::Obj
Definition: Obj.h:40
pdftron::PDF::Annots::Markup
Definition: Markup.h:43