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