PoDoFo 1.2.0
Loading...
Searching...
No Matches
PdfListBox.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_LISTBOX_H
6#define PDF_LISTBOX_H
7
8#include "PdfChoiceField.h"
9
10namespace PoDoFo
11{
13 class PODOFO_API PdfListBox final : public PdChoiceField
14 {
15 friend class PdfField;
16
17 private:
18 PdfListBox(PdfAcroForm& acroform, std::shared_ptr<PdfField>&& parent);
19
20 PdfListBox(PdfAnnotationWidget& widget, std::shared_ptr<PdfField>&& parent);
21
22 PdfListBox(PdfObject& obj, PdfAcroForm* acroform);
23
24 public:
25 PdfListBox* GetParent();
26 const PdfListBox* GetParent() const;
27 };
28}
29
30#endif // PDF_LISTBOX_H
A list of items in a PDF file.
Definition PdfChoiceField.h:20
A list box.
Definition PdfListBox.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