Loading...
Searching...
No Matches
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
TextMarkup.h
pdftron::PDF::Annot::Annot
Annot(SDF::Obj d=0)
pdftron::PDF::Annot::GetSDFObj
SDF::Obj GetSDFObj() const
pdftron::PDF::Annots::TextMarkup::TextMarkup
TextMarkup(SDF::Obj d)
pdftron::PDF::Annots::Underline::Create
static Underline Create(SDF::SDFDoc &doc, const Rect &pos)
pdftron::PDF::Annots::Underline::CreateAnnot
static Underline CreateAnnot(SDF::SDFDoc &doc, const Rect &pos)
pdftron::PDF::Annots::Underline::Underline
Underline(SDF::Obj d)
pdftron::PDF::Annots::Underline::Underline
Underline(const Annot &ann)
Definition Underline.h:34
pdftron::PDF::Rect
Definition Rect.h:29
pdftron::SDF::Obj
Definition Obj.h:41
pdftron::SDF::SDFDoc
Definition SDFDoc.h:68
pdftron::PDF::Annots
Definition Caret.h:12
pdftron::PDF
Definition Action.h:15
pdftron
Definition BasicTypes.h:10