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

Unified Diff: experimental/PdfViewer/SkPdfResetFormActionDictionary_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/SkPdfResetFormActionDictionary_autogen.h
===================================================================
--- experimental/PdfViewer/SkPdfResetFormActionDictionary_autogen.h (revision 9684)
+++ experimental/PdfViewer/SkPdfResetFormActionDictionary_autogen.h (working copy)
@@ -5,6 +5,7 @@
#include "SkPdfArray_autogen.h"
#include "SkPdfDictionary_autogen.h"
+// Additional entries specific to a reset-form action
class SkPdfResetFormActionDictionary : public SkPdfDictionary {
public:
virtual SkPdfObjectType getType() const { return kResetFormActionDictionary_SkPdfObjectType;}
@@ -521,6 +522,13 @@
SkPdfResetFormActionDictionary& operator=(const SkPdfResetFormActionDictionary& from) {this->fPodofoDoc = from.fPodofoDoc; this->fPodofoObj = from.fPodofoObj; return *this;}
+/** (Required) The type of action that this dictionary describes; must be
+ * ResetForm for a reset-form action.
+**/
+ 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,19 @@
return "";
}
+/** (Optional) An array identifying which fields to reset or which to exclude
+ * from resetting, depending on the setting of the Include/Exclude flag in
+ * the Flags entry (see Table 8.64). Each element of the array is either an in-
+ * direct reference to a field dictionary or (PDF 1.3) a string representing
+ * the fully qualified name of a field. Elements of both kinds may be mixed
+ * in the same array.
+ * If this entry is omitted, the Include/Exclude flag is ignored; all fields in
+ * the document's interactive form are reset.
+**/
+ 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 +556,13 @@
return SkPdfArray();
}
+/** (Optional; inheritable) A set of flags specifying various characteristics of
+ * the action (see Table 8.64). Default value: 0.
+**/
+ bool has_Flags() const {
+ return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Flags", "", NULL));
+ }
+
long Flags() const {
long ret;
if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Flags", "", &ret)) return ret;

Powered by Google App Engine
This is Rietveld 408576698