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

Unified Diff: experimental/PdfViewer/SkPdfWebCaptureImageSetDictionary_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/SkPdfWebCaptureImageSetDictionary_autogen.h
===================================================================
--- experimental/PdfViewer/SkPdfWebCaptureImageSetDictionary_autogen.h (revision 9684)
+++ experimental/PdfViewer/SkPdfWebCaptureImageSetDictionary_autogen.h (working copy)
@@ -5,6 +5,7 @@
#include "SkPdfArray_autogen.h"
#include "SkPdfDictionary_autogen.h"
+// Additional entries specific to a Web Capture image set
class SkPdfWebCaptureImageSetDictionary : public SkPdfDictionary {
public:
virtual SkPdfObjectType getType() const { return kWebCaptureImageSetDictionary_SkPdfObjectType;}
@@ -521,6 +522,13 @@
SkPdfWebCaptureImageSetDictionary& operator=(const SkPdfWebCaptureImageSetDictionary& from) {this->fPodofoDoc = from.fPodofoDoc; this->fPodofoObj = from.fPodofoObj; return *this;}
+/** (Required) The subtype of content set that this dictionary describes; must be SIS ("Spider
+ * image set") for an image set.
+**/
+ bool has_S() const {
+ return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "S", "", NULL));
+ }
+
std::string S() const {
std::string ret;
if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "S", "", &ret)) return ret;
@@ -528,6 +536,17 @@
return "";
}
+/** (Required) The reference counts (see below) for the image XObjects belonging to the
+ * image set. For an image set containing a single XObject, the value is simply the integer
+ * reference count for that XObject. If the image set contains multiple XObjects, the value is
+ * an array of reference counts parallel to the O array (see Table 9.33 on page 668); that is,
+ * each element in the R array holds the reference count for the image XObject at the corre-
+ * sponding position in the O array.
+**/
+ bool has_R() const {
+ return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "R", "", NULL));
+ }
+
bool isRAInteger() const {
SkPdfObject* ret = NULL;
if (!ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "R", "", &ret)) return false;

Powered by Google App Engine
This is Rietveld 408576698