5#ifndef PDF_CHOICE_FIELD_H
6#define PDF_CHOICE_FIELD_H
26 std::shared_ptr<PdfField>&&
parent);
29 std::shared_ptr<PdfField>&&
parent);
44 void RemoveItem(
unsigned index);
59 unsigned GetItemCount()
const;
63 void SetSelectedIndex(
int index);
68 int GetSelectedIndex()
const;
72 bool IsComboBox()
const;
82 bool IsSpellCheckingEnabled()
const;
90 void SetSorted(
bool sorted);
93 bool IsSorted()
const;
101 void SetMultiSelect(
bool multi);
105 bool IsMultiSelect()
const;
107 void SetCommitOnSelectionChange(
bool commit);
108 bool IsCommitOnSelectionChange()
const;
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
A list box.
Definition PdfListBox.h:14
This class represents a PDF indirect Object in memory.
Definition PdfObject.h:31
A string that can be written to a PDF document.
Definition PdfString.h:21
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
PdfFieldType
The type of PDF field.
Definition PdfDeclarations.h:610