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

Unified Diff: experimental/PdfViewer/SkPdfWebCaptureCommandSettingsDictionary_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/SkPdfWebCaptureCommandSettingsDictionary_autogen.h
===================================================================
--- experimental/PdfViewer/SkPdfWebCaptureCommandSettingsDictionary_autogen.h (revision 9684)
+++ experimental/PdfViewer/SkPdfWebCaptureCommandSettingsDictionary_autogen.h (working copy)
@@ -5,6 +5,7 @@
#include "SkPdfArray_autogen.h"
#include "SkPdfDictionary_autogen.h"
+// Entries in a Web Capture command settings dictionary
class SkPdfWebCaptureCommandSettingsDictionary : public SkPdfDictionary {
public:
virtual SkPdfObjectType getType() const { return kWebCaptureCommandSettingsDictionary_SkPdfObjectType;}
@@ -521,6 +522,13 @@
SkPdfWebCaptureCommandSettingsDictionary& operator=(const SkPdfWebCaptureCommandSettingsDictionary& from) {this->fPodofoDoc = from.fPodofoDoc; this->fPodofoObj = from.fPodofoObj; return *this;}
+/** (Optional) A dictionary containing global conversion engine settings relevant to all con-
+ * version engines. If this key is absent, default settings will be used.
+**/
+ bool has_G() const {
+ return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "G", "", NULL));
+ }
+
SkPdfDictionary* G() const {
SkPdfDictionary* ret;
if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "G", "", &ret)) return ret;
@@ -528,6 +536,15 @@
return NULL;
}
+/** (Optional) Settings for specific conversion engines. Each key in this dictionary is the
+ * internal name of a conversion engine (see below). The associated value is a dictionary
+ * containing the settings associated with that conversion engine. If the settings for a par-
+ * ticular conversion engine are not found in the dictionary, default settings will be used.
+**/
+ bool has_C() const {
+ return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "C", "", NULL));
+ }
+
SkPdfDictionary* C() const {
SkPdfDictionary* ret;
if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "C", "", &ret)) return ret;

Powered by Google App Engine
This is Rietveld 408576698