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-2024 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 
9 
10 namespace pdftron {
11  namespace PDF {
12  namespace Annots {
17 class Underline : public TextMarkup
18 {
19 public:
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
SDF::Obj GetSDFObj() const
Underline(const Annot &ann)
Definition: Underline.h:34
static Underline Create(SDF::SDFDoc &doc, const Rect &pos)
static Underline CreateAnnot(SDF::SDFDoc &doc, const Rect &pos)