7#ifndef PDF_CHOICE_FIELD_H
8#define PDF_CHOICE_FIELD_H
29 const std::shared_ptr<PdfField>&
parent);
32 const std::shared_ptr<PdfField>&
parent);
51 void RemoveItem(
unsigned index);
72 unsigned GetItemCount()
const;
77 void SetSelectedIndex(
int index);
83 int GetSelectedIndex()
const;
89 bool IsComboBox()
const;
103 bool IsSpellCheckingEnabled()
const;
113 void SetSorted(
bool sorted);
118 bool IsSorted()
const;
128 void SetMultiSelect(
bool multi);
134 bool IsMultiSelect()
const;
136 void SetCommitOnSelectionChange(
bool commit);
137 bool IsCommitOnSelectionChange()
const;
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
A list box.
Definition PdfListBox.h:17
This class represents a PDF indirect Object in memory.
Definition PdfObject.h:35
A string that can be written to a PDF document.
Definition PdfString.h:24
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
PdfFieldType
The type of PDF field.
Definition PdfDeclarations.h:650