aboutsummaryrefslogtreecommitdiffhomepage
path: root/experimental/PdfViewer/SkPdfJbig2DecodeFilterDictionary_autogen.h
diff options
context:
space:
mode:
Diffstat (limited to 'experimental/PdfViewer/SkPdfJbig2DecodeFilterDictionary_autogen.h')
-rw-r--r--experimental/PdfViewer/SkPdfJbig2DecodeFilterDictionary_autogen.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/experimental/PdfViewer/SkPdfJbig2DecodeFilterDictionary_autogen.h b/experimental/PdfViewer/SkPdfJbig2DecodeFilterDictionary_autogen.h
index 8cc72db275..610c5ed77f 100644
--- a/experimental/PdfViewer/SkPdfJbig2DecodeFilterDictionary_autogen.h
+++ b/experimental/PdfViewer/SkPdfJbig2DecodeFilterDictionary_autogen.h
@@ -5,6 +5,7 @@
#include "SkPdfArray_autogen.h"
#include "SkPdfDictionary_autogen.h"
+// Optional parameter for the JBIG2Decode filter
class SkPdfJbig2DecodeFilterDictionary : public SkPdfDictionary {
public:
virtual SkPdfObjectType getType() const { return kJbig2DecodeFilterDictionary_SkPdfObjectType;}
@@ -521,6 +522,14 @@ public:
SkPdfJbig2DecodeFilterDictionary& operator=(const SkPdfJbig2DecodeFilterDictionary& from) {this->fPodofoDoc = from.fPodofoDoc; this->fPodofoObj = from.fPodofoObj; return *this;}
+/** ()A stream containing the JBIG2 global (page 0) segments. Global segments
+ * must be placed in this stream even if only a single JBIG2 image XObject refers
+ * to it.
+**/
+ bool has_JBIG2Globals() const {
+ return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "JBIG2Globals", "", NULL));
+ }
+
SkPdfStream JBIG2Globals() const {
SkPdfStream ret;
if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "JBIG2Globals", "", &ret)) return ret;