diff options
author | Jay Berkenbilt <ejb@ql.org> | 2019-01-02 03:27:18 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2019-01-04 05:18:13 +0100 |
commit | e3144ac4177b7c38567f41a8e31a6c162d3b76f4 (patch) | |
tree | 94d2e557359b040cae83224a9c5e33f7cb46d7db /include/qpdf/QPDFAnnotationObjectHelper.hh | |
parent | 26393f51373d95bb2fe5a99d1de9d04d8d7eb920 (diff) | |
download | qpdf-e3144ac4177b7c38567f41a8e31a6c162d3b76f4.tar.zst |
Add form fields to json output
Also add some additional methods for detecting form field types to
assist in the json creation and for later use.
Diffstat (limited to 'include/qpdf/QPDFAnnotationObjectHelper.hh')
-rw-r--r-- | include/qpdf/QPDFAnnotationObjectHelper.hh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/qpdf/QPDFAnnotationObjectHelper.hh b/include/qpdf/QPDFAnnotationObjectHelper.hh index c5d24334..5e8af0c6 100644 --- a/include/qpdf/QPDFAnnotationObjectHelper.hh +++ b/include/qpdf/QPDFAnnotationObjectHelper.hh @@ -61,6 +61,11 @@ class QPDFAnnotationObjectHelper: public QPDFObjectHelper QPDF_DLL std::string getAppearanceState(); + // Return flags from "/F". The value is a logical or of + // pdf_annotation_flag_e as defined in qpdf/Constants.h. + QPDF_DLL + int getFlags(); + // Return a specific stream. "which" may be one of "/N", "/R", or // "/D" to indicate the normal, rollover, or down appearance // stream. (Any value may be passed to "which"; if an appearance |