PoDoFo 1.0.0-dev
Loading...
Searching...
No Matches
PdfCheckBox.h
1
7#ifndef PDF_CHECKBOX_H
8#define PDF_CHECKBOX_H
9
10#include "PdfButton.h"
11#include "PdfXObject.h"
12
13namespace PoDoFo
14{
17 class PODOFO_API PdfCheckBox final : public PdfToggleButton
18 {
19 friend class PdfField;
20
21 private:
22 PdfCheckBox(PdfAcroForm& acroform, const std::shared_ptr<PdfField>& parent);
23
24 PdfCheckBox(PdfAnnotationWidget& widget, const std::shared_ptr<PdfField>& parent);
25
26 PdfCheckBox(PdfObject& obj, PdfAcroForm* acroform);
27
28 public:
29 PdfCheckBox* GetParent();
30 const PdfCheckBox* GetParent() const;
31 };
32}
33
34#endif // PDF_CHECKBOX_H
A checkbox can be checked or unchecked by the user.
Definition PdfCheckBox.h:18
This class represents a PDF indirect Object in memory.
Definition PdfObject.h:35
Convenient type for char array storage and/or buffer with std::string compatibility.
Definition basetypes.h:38
SPDX-FileCopyrightText: (C) 2022 Francesco Pretto ceztko@gmail.com SPDX-License-Identifier: LGPL-2....
Definition basetypes.h:16