aboutsummaryrefslogtreecommitdiffhomepage
path: root/experimental/PdfViewer/SkPdfFDFFileAnnotationDictionary_autogen.h
diff options
context:
space:
mode:
Diffstat (limited to 'experimental/PdfViewer/SkPdfFDFFileAnnotationDictionary_autogen.h')
-rw-r--r--experimental/PdfViewer/SkPdfFDFFileAnnotationDictionary_autogen.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/experimental/PdfViewer/SkPdfFDFFileAnnotationDictionary_autogen.h b/experimental/PdfViewer/SkPdfFDFFileAnnotationDictionary_autogen.h
index 2511f969d9..c46deb73dc 100644
--- a/experimental/PdfViewer/SkPdfFDFFileAnnotationDictionary_autogen.h
+++ b/experimental/PdfViewer/SkPdfFDFFileAnnotationDictionary_autogen.h
@@ -5,6 +5,7 @@
#include "SkPdfArray_autogen.h"
#include "SkPdfDictionary_autogen.h"
+// Additional entry for annotation dictionaries in an FDF file
class SkPdfFDFFileAnnotationDictionary : public SkPdfDictionary {
public:
virtual SkPdfObjectType getType() const { return kFDFFileAnnotationDictionary_SkPdfObjectType;}
@@ -521,6 +522,13 @@ public:
SkPdfFDFFileAnnotationDictionary& operator=(const SkPdfFDFFileAnnotationDictionary& from) {this->fPodofoDoc = from.fPodofoDoc; this->fPodofoObj = from.fPodofoObj; return *this;}
+/** (Required for annotations in FDF files) The ordinal page number on which
+ * this annotation should appear, where page 0 is the first page.
+**/
+ bool has_Page() const {
+ return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Page", "", NULL));
+ }
+
long Page() const {
long ret;
if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Page", "", &ret)) return ret;