All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SignatureWidget.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_CPPPDFAnnotsSignatureWidget
6 #define PDFTRON_H_CPPPDFAnnotsSignatureWidget
7 
9 #include <PDF/Image.h>
10 
11 namespace pdftron {
12  namespace PDF {
13  namespace Annots {
17 class SignatureWidget : public Widget
18 {
19  public:
28 
35  SignatureWidget(const Annot& annot);
36 
43 
52 
62  static SignatureWidget Create(PDFDoc& doc, const Rect& pos, const UString& field_name = "");
63 
73  static SignatureWidget Create(PDFDoc& doc, const Rect& pos, const Field& field);
74 
84  static SignatureWidget Create(PDFDoc& doc, const Rect& pos, const DigitalSignatureField& field);
85 
86 };//class SignatureWidget
87  };//namespace Annot
88  };//namespace PDF
89 };//namespace pdftron
90 #include <Impl/SignatureWidget.inl>
91 
92 #endif // PDFTRON_H_CPPPDFAnnotsSignatureWidget
static SignatureWidget Create(PDFDoc &doc, const Rect &pos, const UString &field_name="")
DigitalSignatureField GetDigitalSignatureField()