All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
PushButtonWidget.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_CPPPDFPushButtonWidget
6 #define PDFTRON_H_CPPPDFPushButtonWidget
7 
8 #include <PDF/Annots/Widget.h>
9 
10 namespace pdftron {
11  namespace PDF {
12  namespace Annots {
13 
17 class PushButtonWidget : public Widget
18 {
19 public:
30 
40  PushButtonWidget(const Annot& annot);
41 
51  static PushButtonWidget Create(PDFDoc& doc, const Rect& pos, const UString& field_name = "");
52 
62  static PushButtonWidget Create(PDFDoc& doc, const Rect& pos, const Field& field);
63 };
64  }; //namespace Annots
65  }; //namespace PDF
66 }; //namespace trn
67 
68 #include <Impl/PushButtonWidget.inl>
69 
70 #endif // PDFTRON_H_CPPPDFPushButtonWidget
static PushButtonWidget Create(PDFDoc &doc, const Rect &pos, const UString &field_name="")