PoDoFo 1.2.0
Loading...
Searching...
No Matches
PdfRadioButton.h
1// SPDX-FileCopyrightText: 2007 Dominik Seichter <domseichter@web.de>
2// SPDX-FileCopyrightText: 2020 Francesco Pretto <ceztko@gmail.com>
3// SPDX-License-Identifier: LGPL-2.0-or-later OR MPL-2.0
4
5#ifndef PDF_RADIO_BUTTON_H
6#define PDF_RADIO_BUTTON_H
7
8#include "PdfButton.h"
9
10namespace PoDoFo
11{
14 class PODOFO_API PdfRadioButton final : public PdfToggleButton
15 {
16 friend class PdfField;
17
18 private:
19 PdfRadioButton(PdfAcroForm& acroform, std::shared_ptr<PdfField>&& parent);
20
21 PdfRadioButton(PdfAnnotationWidget& widget, std::shared_ptr<PdfField>&& parent);
22
23 PdfRadioButton(PdfObject& obj, PdfAcroForm* acroform);
24
25 public:
26 PdfRadioButton* GetParent();
27 const PdfRadioButton* GetParent() const;
28 };
29}
30
31#endif // PDF_RADIO_BUTTON_H
This class represents a PDF indirect Object in memory.
Definition PdfObject.h:31
A radio button TODO: This is just a stub.
Definition PdfRadioButton.h:15
Convenient type for char array storage and/or buffer with std::string compatibility.
Definition basetypes.h:30
All classes, functions, types and enums of PoDoFo are members of these namespace.
Definition basetypes.h:13