Form field highlighting

This commit is contained in:
Jakub Melka
2020-04-23 19:25:57 +02:00
parent d16e2a2c02
commit 76af397b07
6 changed files with 164 additions and 29 deletions

View File

@@ -367,6 +367,7 @@ public:
Q_DECLARE_FLAGS(FormAppearanceFlags, FormAppearanceFlag)
bool hasAcroForm() const { return m_form.getFormType() == PDFForm::FormType::AcroForm; }
bool hasXFAForm() const { return m_form.getFormType() == PDFForm::FormType::XFAForm; }
/// Returns form field for widget. If widget doesn't have attached form field,
/// then nullptr is returned.