Loading...
Searching...
No Matches
CheckBoxWidget.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_CPPPDFCheckBoxWidget
6
#define PDFTRON_H_CPPPDFCheckBoxWidget
7
8
#include <
PDF/Annots/Widget.h
>
9
10
namespace
pdftron
{
11
namespace
PDF
{
12
namespace
Annots
{
13
17
class
CheckBoxWidget
:
public
Widget
18
{
19
public
:
29
CheckBoxWidget
(
SDF::Obj
d = 0);
30
40
CheckBoxWidget
(
const
Annot
& annot);
41
51
static
CheckBoxWidget
Create
(
PDFDoc
& doc,
const
Rect
& pos,
const
UString
& field_name =
""
);
52
62
static
CheckBoxWidget
Create
(
PDFDoc
& doc,
const
Rect
& pos,
const
Field
& field);
63
69
bool
IsChecked
();
70
76
void
SetChecked
(
bool
checked);
77
};
78
79
};
//namespace Annots
80
};
//namespace PDF
81
};
//namespace trn
82
83
#include <Impl/CheckBoxWidget.inl>
84
85
#endif
// PDFTRON_H_CPPPDFCheckBoxWidget
Widget.h
pdftron::PDF::Annot::Annot
Annot(SDF::Obj d=0)
pdftron::PDF::Annots::CheckBoxWidget::IsChecked
bool IsChecked()
pdftron::PDF::Annots::CheckBoxWidget::SetChecked
void SetChecked(bool checked)
pdftron::PDF::Annots::CheckBoxWidget::CheckBoxWidget
CheckBoxWidget(SDF::Obj d=0)
pdftron::PDF::Annots::CheckBoxWidget::Create
static CheckBoxWidget Create(PDFDoc &doc, const Rect &pos, const Field &field)
pdftron::PDF::Annots::CheckBoxWidget::CheckBoxWidget
CheckBoxWidget(const Annot &annot)
pdftron::PDF::Annots::CheckBoxWidget::Create
static CheckBoxWidget Create(PDFDoc &doc, const Rect &pos, const UString &field_name="")
pdftron::PDF::Annots::Widget::Widget
Widget(SDF::Obj d=0)
pdftron::PDF::Field
Definition
Field.h:70
pdftron::PDF::PDFDoc
Definition
PDFDoc.h:72
pdftron::PDF::Rect
Definition
Rect.h:29
pdftron::SDF::Obj
Definition
Obj.h:41
pdftron::UString
Definition
UString.h:28
pdftron::PDF::Annots
Definition
Caret.h:12
pdftron::PDF
Definition
Action.h:15
pdftron
Definition
BasicTypes.h:10