Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
RadioButtonGroup.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_CPPPDFRadioButtonGroup
6
#define PDFTRON_H_CPPPDFRadioButtonGroup
7
8
#include <
PDF/PDFDoc.h
>
9
#include <
PDF/Annots/RadioButtonWidget.h
>
10
11
namespace
pdftron {
12
namespace
PDF {
13
namespace
Annots {
14
19
class
RadioButtonGroup
20
{
21
public
:
31
RadioButtonGroup
(
const
Field
& field);
32
40
static
RadioButtonGroup
Create
(
PDFDoc
& doc,
const
UString
& field_name =
""
);
41
51
RadioButtonWidget
Add
(
const
Rect
& pos,
const
char
* onstate =
""
);
52
58
UInt32
GetNumButtons
();
59
65
RadioButtonWidget
GetButton
(
UInt32
index);
66
71
Field
GetField
()
const
;
72
77
void
AddGroupButtonsToPage
(
Page
page);
78
79
RadioButtonGroup
(
const
RadioButtonGroup
& group);
80
RadioButtonGroup
&
operator=
(
const
RadioButtonGroup
& c);
81
RadioButtonGroup
(TRN_RadioButtonGroup impl);
82
~RadioButtonGroup
();
83
private
:
84
TRN_RadioButtonGroup mp_group;
85
};
86
}
//namespace Annots
87
}
//namespace PDF
88
}
//namespace pdftron
89
90
91
#include <Impl/RadioButtonGroup.inl>
92
93
#endif // PDFTRON_H_CPPPDFRadioButtonGroup
pdftron::PDF::Annots::RadioButtonGroup::GetNumButtons
UInt32 GetNumButtons()
pdftron::PDF::Annots::RadioButtonGroup::~RadioButtonGroup
~RadioButtonGroup()
pdftron::PDF::Annots::RadioButtonGroup::Create
static RadioButtonGroup Create(PDFDoc &doc, const UString &field_name="")
pdftron::PDF::Annots::RadioButtonGroup::GetButton
RadioButtonWidget GetButton(UInt32 index)
pdftron::PDF::Rect
Definition:
Rect.h:28
pdftron::PDF::Annots::RadioButtonGroup
Definition:
RadioButtonGroup.h:19
pdftron::PDF::PDFDoc
Definition:
PDFDoc.h:70
pdftron::UInt32
TRN_UInt32 UInt32
Definition:
BasicTypes.h:13
pdftron::PDF::Annots::RadioButtonGroup::operator=
RadioButtonGroup & operator=(const RadioButtonGroup &c)
PDFDoc.h
pdftron::PDF::Annots::RadioButtonGroup::GetField
Field GetField() const
pdftron::PDF::Page
Definition:
Page.h:29
pdftron::PDF::Annots::RadioButtonGroup::Add
RadioButtonWidget Add(const Rect &pos, const char *onstate="")
pdftron::PDF::Field
Definition:
Field.h:67
pdftron::PDF::Annots::RadioButtonGroup::RadioButtonGroup
RadioButtonGroup(const Field &field)
pdftron::PDF::Annots::RadioButtonWidget
Definition:
RadioButtonWidget.h:19
pdftron::UString
Definition:
UString.h:26
RadioButtonWidget.h
pdftron::PDF::Annots::RadioButtonGroup::AddGroupButtonsToPage
void AddGroupButtonsToPage(Page page)