Loading...
Searching...
No Matches
RadioButtonGroup.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_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
PDFDoc.h
RadioButtonWidget.h
pdftron::PDF::Annots::RadioButtonGroup::GetNumButtons
UInt32 GetNumButtons()
pdftron::PDF::Annots::RadioButtonGroup::GetButton
RadioButtonWidget GetButton(UInt32 index)
pdftron::PDF::Annots::RadioButtonGroup::Create
static RadioButtonGroup Create(PDFDoc &doc, const UString &field_name="")
pdftron::PDF::Annots::RadioButtonGroup::Add
RadioButtonWidget Add(const Rect &pos, const char *onstate="")
pdftron::PDF::Annots::RadioButtonGroup::RadioButtonGroup
RadioButtonGroup(const RadioButtonGroup &group)
pdftron::PDF::Annots::RadioButtonGroup::AddGroupButtonsToPage
void AddGroupButtonsToPage(Page page)
pdftron::PDF::Annots::RadioButtonGroup::~RadioButtonGroup
~RadioButtonGroup()
pdftron::PDF::Annots::RadioButtonGroup::operator=
RadioButtonGroup & operator=(const RadioButtonGroup &c)
pdftron::PDF::Annots::RadioButtonGroup::RadioButtonGroup
RadioButtonGroup(TRN_RadioButtonGroup impl)
pdftron::PDF::Annots::RadioButtonGroup::GetField
Field GetField() const
pdftron::PDF::Annots::RadioButtonGroup::RadioButtonGroup
RadioButtonGroup(const Field &field)
pdftron::PDF::Annots::RadioButtonWidget
Definition RadioButtonWidget.h:20
pdftron::PDF::Field
Definition Field.h:70
pdftron::PDF::PDFDoc
Definition PDFDoc.h:72
pdftron::PDF::Page
Definition Page.h:32
pdftron::PDF::Rect
Definition Rect.h:29
pdftron::UString
Definition UString.h:28
pdftron::PDF::Annots
Definition Caret.h:12
pdftron::PDF
Definition Action.h:15
pdftron
Definition BasicTypes.h:10
pdftron::UInt32
TRN_UInt32 UInt32
Definition BasicTypes.h:13