- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Underline.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_CPPPDFAnnotsUnderline
6 #define PDFTRON_H_CPPPDFAnnotsUnderline
7
8 #include <PDF/Annots/TextMarkup.h>
9
10 namespace pdftron {
11 namespace PDF {
12 namespace Annots {
17 class Underline : public TextMarkup
18 {
19 public:
26 Underline(SDF::Obj d);
27
34 Underline(const Annot& ann) : TextMarkup(ann.GetSDFObj()) {}
35
44 static Underline Create(SDF::SDFDoc& doc, const Rect& pos);
45 static Underline CreateAnnot(SDF::SDFDoc& doc, const Rect& pos);
46
47 // @cond PRIVATE_DOC
48 #ifndef SWIGHIDDEN
49 Underline(TRN_Annot underline);
50 #endif
51 // @endcond
52
53 };//class Underline
54 };//namespace Annot
55 };//namespace PDF
56 };//namespace pdftron
57 #include <Impl/Page.inl>
58
59 #endif // PDFTRON_H_CPPPDFAnnotsUnderline
pdftron::PDF::Annot::GetSDFObj
SDF::Obj GetSDFObj() const
pdftron::PDF::Annots::TextMarkup
Definition: TextMarkup.h:19
pdftron::PDF::Annots::Underline::Underline
Underline(SDF::Obj d)
pdftron::PDF::Annots::Underline
Definition: Underline.h:17
pdftron::PDF::Rect
Definition: Rect.h:28
pdftron::SDF::SDFDoc
Definition: SDFDoc.h:67
pdftron::PDF::Annots::Underline::Underline
Underline(const Annot &ann)
Definition: Underline.h:34
pdftron::PDF::Annots::Underline::Create
static Underline Create(SDF::SDFDoc &doc, const Rect &pos)
pdftron::PDF::Annot
Definition: Annot.h:33
pdftron::SDF::Obj
Definition: Obj.h:40
pdftron::PDF::Annots::Underline::CreateAnnot
static Underline CreateAnnot(SDF::SDFDoc &doc, const Rect &pos)
TextMarkup.h