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

Unified Diff: experimental/PdfViewer/SkPdfFDFTemplateDictionary_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/SkPdfFDFTemplateDictionary_autogen.h
===================================================================
--- experimental/PdfViewer/SkPdfFDFTemplateDictionary_autogen.h (revision 9684)
+++ experimental/PdfViewer/SkPdfFDFTemplateDictionary_autogen.h (working copy)
@@ -5,6 +5,7 @@
#include "SkPdfArray_autogen.h"
#include "SkPdfDictionary_autogen.h"
+// Entries in an FDF template dictionary
class SkPdfFDFTemplateDictionary : public SkPdfDictionary {
public:
virtual SkPdfObjectType getType() const { return kFDFTemplateDictionary_SkPdfObjectType;}
@@ -521,6 +522,13 @@
SkPdfFDFTemplateDictionary& operator=(const SkPdfFDFTemplateDictionary& from) {this->fPodofoDoc = from.fPodofoDoc; this->fPodofoObj = from.fPodofoObj; return *this;}
+/** (Required) A named page reference dictionary (see Table 8.76) specifying the
+ * location of the template.
+**/
+ bool has_TRef() const {
+ return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "TRef", "", NULL));
+ }
+
SkPdfDictionary* TRef() const {
SkPdfDictionary* ret;
if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "TRef", "", &ret)) return ret;
@@ -528,6 +536,14 @@
return NULL;
}
+/** (Optional) An array of references to FDF field dictionaries (see Table 8.72 on
+ * page 564) describing the root fields to be imported (those with no ancestors in
+ * the field hierarchy).
+**/
+ bool has_Fields() const {
+ return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Fields", "", NULL));
+ }
+
SkPdfArray Fields() const {
SkPdfArray ret;
if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Fields", "", &ret)) return ret;
@@ -535,6 +551,14 @@
return SkPdfArray();
}
+/** (Optional) A flag specifying whether fields imported from the template may be
+ * renamed in the event of name conflicts with existing fields; see below for further
+ * discussion. Default value: true.
+**/
+ bool has_Rename() const {
+ return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Rename", "", NULL));
+ }
+
bool Rename() const {
bool ret;
if (BoolFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Rename", "", &ret)) return ret;
« no previous file with comments | « experimental/PdfViewer/SkPdfFDFPageDictionary_autogen.h ('k') | experimental/PdfViewer/SkPdfFDFTrailerDictionary_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698