PoDoFo 1.2.0
Loading...
Searching...
No Matches
PdfCheckBox.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_CHECKBOX_H
6#define PDF_CHECKBOX_H
7
8#include "PdfButton.h"
9#include "PdfXObject.h"
10
11namespace PoDoFo
12{
14 class PODOFO_API PdfCheckBox final : public PdfToggleButton
15 {
16 friend class PdfField;
17
18 private:
19 PdfCheckBox(PdfAcroForm& acroform, std::shared_ptr<PdfField>&& parent);
20
21 PdfCheckBox(PdfAnnotationWidget& widget, std::shared_ptr<PdfField>&& parent);
22
23 PdfCheckBox(PdfObject& obj, PdfAcroForm* acroform);
24
25 public:
26 PdfCheckBox* GetParent();
27 const PdfCheckBox* GetParent() const;
28 };
29}
30
31#endif // PDF_CHECKBOX_H
A checkbox can be checked or unchecked by the user.
Definition PdfCheckBox.h:15
This class represents a PDF indirect Object in memory.
Definition PdfObject.h:31
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