aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/qpdf/QPDFAcroFormDocumentHelper.hh7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/qpdf/QPDFAcroFormDocumentHelper.hh b/include/qpdf/QPDFAcroFormDocumentHelper.hh
index 2c22a5da..d417fc08 100644
--- a/include/qpdf/QPDFAcroFormDocumentHelper.hh
+++ b/include/qpdf/QPDFAcroFormDocumentHelper.hh
@@ -106,6 +106,13 @@ class QPDFAcroFormDocumentHelper: public QPDFDocumentHelper
bool
hasAcroForm();
+ // Add a form field, initializing the document's AcroForm
+ // dictionary if needed. Calling this method invalidates the
+ // cache, which makes it possible to add a field that is not yet
+ // associated with an annotation or page.
+ QPDF_DLL
+ void addFormField(QPDFFormFieldObjectHelper);
+
// Return a vector of all terminal fields in a document. Terminal
// fields are fields that have no children that are also fields.
// Terminal fields may still have children that are annotations.