Loading...
Searching...
No Matches
PushButtonWidget.h
Go to the documentation of this file.
1//---------------------------------------------------------------------------------------
2// Copyright (c) 2001-2025 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
10namespace pdftron {
11 namespace PDF {
12 namespace Annots {
13
18{
19public:
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
Annot(SDF::Obj d=0)
static PushButtonWidget Create(PDFDoc &doc, const Rect &pos, const Field &field)
static PushButtonWidget Create(PDFDoc &doc, const Rect &pos, const UString &field_name="")