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-2023 by Apryse Software 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  static StrikeOut CreateAnnot(SDF::SDFDoc& doc, const Rect& pos);
46 
47 // @cond PRIVATE_DOC
48 #ifndef SWIGHIDDEN
49 StrikeOut(TRN_Annot strikeout);
50 #endif
51 // @endcond
52 
53 };//class StrikeOut
54  };//namespace Annot
55  };//namespace PDF
56 };//namespace pdftron
57 #include <Impl/Page.inl>
58 
59 #endif // PDFTRON_H_CPPPDFAnnotsStrikeOut
SDF::Obj GetSDFObj() const
static StrikeOut Create(SDF::SDFDoc &doc, const Rect &pos)
static StrikeOut CreateAnnot(SDF::SDFDoc &doc, const Rect &pos)
StrikeOut(const Annot &ann)
Definition: StrikeOut.h:34