23 friend class PdfField;
27 PdfTextBox_MultiLine = 0x0001000,
28 PdfTextBox_Password = 0x0002000,
29 PdfTextBox_FileSelect = 0x0100000,
30 PdfTextBox_NoSpellcheck = 0x0400000,
31 PdfTextBox_NoScroll = 0x0800000,
32 PdfTextBox_Comb = 0x1000000,
33 PdfTextBox_RichText = 0x2000000
37 PdfTextBox(PdfAcroForm& acroform,
const std::shared_ptr<PdfField>& parent);
39 PdfTextBox(PdfAnnotationWidget& widget,
const std::shared_ptr<PdfField>& parent);
58 void SetMaxLen(int64_t maxLen);
64 int64_t GetMaxLen()
const;
73 void SetMultiLine(
bool multiLine);
78 bool IsMultiLine()
const;
88 void SetPasswordField(
bool password);
94 bool IsPasswordField()
const;
104 void SetFileField(
bool file);
109 bool IsFileField()
const;
118 void SetSpellCheckingEnabled(
bool spellcheck);
123 bool IsSpellCheckingEnabled()
const;
132 void SetScrollBarsEnabled(
bool scroll);
137 bool IsScrollBarsEnabled()
const;
150 void SetCombs(
bool combs);
155 bool IsCombs()
const;
164 void SetRichText(
bool richText);
169 bool IsRichText()
const;
This class represents a PDF indirect Object in memory.
Definition: PdfObject.h:35
A text field in a PDF file.
Definition: PdfTextBox.h:22
Alternative to std::optional that supports reference (but not pointer) types.
Definition: nullable.h:29
SPDX-FileCopyrightText: (C) 2022 Francesco Pretto ceztko@gmail.com SPDX-License-Identifier: LGPL-2....
Definition: basetypes.h:16