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-2020 by PDFTron Systems 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 
46  // @cond PRIVATE_DOC
47  #ifndef SWIGHIDDEN
48  Underline(TRN_Annot underline);
49  #endif
50  // @endcond
51 
52 };//class Underline
53  };//namespace Annot
54  };//namespace PDF
55 };//namespace pdftron
56 #include <Impl/Page.inl>
57 
58 #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)