PoDoFo 1.0.0-dev
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
PdfComboBox.h
1
7#ifndef PDF_COMBOBOX_H
8#define PDF_COMBOBOX_H
9
10#include "PdfChoiceField.h"
11
12namespace PoDoFo
13{
16 class PODOFO_API PdfComboBox final : public PdChoiceField
17 {
18 friend class PdfField;
19
20 private:
21 PdfComboBox(PdfAcroForm& acroform, const std::shared_ptr<PdfField>& parent);
22
23 PdfComboBox(PdfAnnotationWidget& widget, const std::shared_ptr<PdfField>& parent);
24
25 PdfComboBox(PdfObject& obj, PdfAcroForm* acroform);
26
27 public:
35 void SetEditable(bool edit);
36
40 bool IsEditable() const;
41
42 PdfComboBox* GetParent();
43 const PdfComboBox* GetParent() const;
44 };
45}
46
47#endif // PDF_COMBOBOX_H
A list of items in a PDF file.
Definition PdfChoiceField.h:23
A combo box with a drop down list of items.
Definition PdfComboBox.h:17
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