Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(26)

Unified Diff: experimental/PdfViewer/SkPdfJbig2DecodeFilterDictionary_autogen.h

Issue 16975013: Deal with ca and CA transparency operators in pdf. add comments to generated classes. (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: experimental/PdfViewer/SkPdfJbig2DecodeFilterDictionary_autogen.h
===================================================================
--- experimental/PdfViewer/SkPdfJbig2DecodeFilterDictionary_autogen.h (revision 9684)
+++ experimental/PdfViewer/SkPdfJbig2DecodeFilterDictionary_autogen.h (working copy)
@@ -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 @@
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;

Powered by Google App Engine
This is Rietveld 408576698