Poppler Qt5  0.73.0
Public Types | Public Member Functions | List of all members
Poppler::FormFieldText Class Reference

#include <poppler-form.h>

Inheritance diagram for Poppler::FormFieldText:
Inheritance graph
[legend]
Collaboration diagram for Poppler::FormFieldText:
Collaboration graph
[legend]

Public Types

enum  TextType { Normal, Multiline, FileSelect }
 
- Public Types inherited from Poppler::FormField
enum  AdditionalActionType { FieldModified, FormatField, ValidateField, CalculateField }
 
enum  FormType { FormButton, FormText, FormChoice, FormSignature }
 

Public Member Functions

bool canBeSpellChecked () const
 
double getFontSize () const
 
bool isPassword () const
 
bool isRichText () const
 
int maximumLength () const
 
void setFontSize (int fontSize)
 
void setText (const QString &text)
 
QString text () const
 
Qt::Alignment textAlignment () const
 
TextType textType () const
 
FormType type () const override
 
- Public Member Functions inherited from Poppler::FormField
LinkactivationAction () const
 
LinkadditionalAction (AdditionalActionType type) const
 
LinkadditionalAction (Annotation::AdditionalActionType type) const
 
QString fullyQualifiedName () const
 
int id () const
 
bool isReadOnly () const
 
bool isVisible () const
 
QString name () const
 
QRectF rect () const
 
void setName (const QString &name) const
 
void setReadOnly (bool value)
 
void setVisible (bool value)
 
QString uiName () const
 

Detailed Description

A form field that represents a text input.

Since
0.6

Member Enumeration Documentation

◆ TextType

The particular type of this text field.

Enumerator
Normal 

A simple singleline text field.

Multiline 

A multiline text field.

FileSelect 

An input field to select the path of a file on disk.

Member Function Documentation

◆ isPassword()

bool Poppler::FormFieldText::isPassword ( ) const

Whether this text field is a password input, eg its text must be replaced with asterisks.

Always false for FileSelect text fields.


The documentation for this class was generated from the following file: