PoDoFo 1.1.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{
15 class PODOFO_API PdfCheckBox final : public PdfToggleButton
16 {
17 friend class PdfField;
18
19 private:
20 PdfCheckBox(PdfAcroForm& acroform, std::shared_ptr<PdfField>&& parent);
21
22 PdfCheckBox(PdfAnnotationWidget& widget, std::shared_ptr<PdfField>&& parent);
23
24 PdfCheckBox(PdfObject& obj, PdfAcroForm* acroform);
25
26 public:
27 PdfCheckBox* GetParent();
28 const PdfCheckBox* GetParent() const;
29 };
30}
31
32#endif // PDF_CHECKBOX_H
A checkbox can be checked or unchecked by the user.
Definition PdfCheckBox.h:16
This class represents a PDF indirect Object in memory.
Definition PdfObject.h:33
Convenient type for char array storage and/or buffer with std::string compatibility.
Definition basetypes.h:35
All classes, functions, types and enums of PoDoFo are members of these namespace.
Definition basetypes.h:13