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

Unified Diff: experimental/PdfViewer/SkPdfDocumentCatalogActionsDictionary_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/SkPdfDocumentCatalogActionsDictionary_autogen.h
===================================================================
--- experimental/PdfViewer/SkPdfDocumentCatalogActionsDictionary_autogen.h (revision 9684)
+++ experimental/PdfViewer/SkPdfDocumentCatalogActionsDictionary_autogen.h (working copy)
@@ -5,6 +5,7 @@
#include "SkPdfArray_autogen.h"
#include "SkPdfDictionary_autogen.h"
+// Entries in the document catalog's additional-actions dictionary
class SkPdfDocumentCatalogActionsDictionary : public SkPdfDictionary {
public:
virtual SkPdfObjectType getType() const { return kDocumentCatalogActionsDictionary_SkPdfObjectType;}
@@ -521,6 +522,13 @@
SkPdfDocumentCatalogActionsDictionary& operator=(const SkPdfDocumentCatalogActionsDictionary& from) {this->fPodofoDoc = from.fPodofoDoc; this->fPodofoObj = from.fPodofoObj; return *this;}
+/** (Optional; PDF 1.4) A JavaScript action to be performed before closing a document.
+ * (The name DC stands for "document close.")
+**/
+ bool has_DC() const {
+ return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "DC", "", NULL));
+ }
+
SkPdfDictionary* DC() const {
SkPdfDictionary* ret;
if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "DC", "", &ret)) return ret;
@@ -528,6 +536,13 @@
return NULL;
}
+/** (Optional; PDF 1.4) A JavaScript action to be performed before saving a document.
+ * (The name WS stands for "will save.")
+**/
+ bool has_WS() const {
+ return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "WS", "", NULL));
+ }
+
SkPdfDictionary* WS() const {
SkPdfDictionary* ret;
if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "WS", "", &ret)) return ret;
@@ -535,6 +550,13 @@
return NULL;
}
+/** (Optional; PDF 1.4) A JavaScript action to be performed after saving a document. (The
+ * name DS stands for "did save.")
+**/
+ bool has_DS() const {
+ return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "DS", "", NULL));
+ }
+
SkPdfDictionary* DS() const {
SkPdfDictionary* ret;
if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "DS", "", &ret)) return ret;
@@ -542,6 +564,13 @@
return NULL;
}
+/** (Optional; PDF 1.4) A JavaScript action to be performed before printing a document.
+ * (The name WP stands for "will print.")
+**/
+ bool has_WP() const {
+ return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "WP", "", NULL));
+ }
+
SkPdfDictionary* WP() const {
SkPdfDictionary* ret;
if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "WP", "", &ret)) return ret;
@@ -549,6 +578,13 @@
return NULL;
}
+/** (Optional; PDF 1.4) A JavaScript action to be performed after printing a document.
+ * (The name DP stands for "did print.")
+**/
+ bool has_DP() const {
+ return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "DP", "", NULL));
+ }
+
SkPdfDictionary* DP() const {
SkPdfDictionary* ret;
if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "DP", "", &ret)) return ret;

Powered by Google App Engine
This is Rietveld 408576698