PoDoFo 1.2.0
Loading...
Searching...
No Matches
PdfComboBox.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_COMBOBOX_H
6#define PDF_COMBOBOX_H
7
8#include "PdfChoiceField.h"
9
10namespace PoDoFo
11{
13 class PODOFO_API PdfComboBox final : public PdChoiceField
14 {
15 friend class PdfField;
16
17 private:
18 PdfComboBox(PdfAcroForm& acroform, std::shared_ptr<PdfField>&& parent);
19
20 PdfComboBox(PdfAnnotationWidget& widget, std::shared_ptr<PdfField>&& parent);
21
22 PdfComboBox(PdfObject& obj, PdfAcroForm* acroform);
23
24 public:
30 void SetEditable(bool edit);
31
33 bool IsEditable() const;
34
35 PdfComboBox* GetParent();
36 const PdfComboBox* GetParent() const;
37 };
38}
39
40#endif // PDF_COMBOBOX_H
A list of items in a PDF file.
Definition PdfChoiceField.h:20
A combo box with a drop down list of items.
Definition PdfComboBox.h:14
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