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

Unified Diff: experimental/PdfViewer/SkPdfSubmitFormActionDictionary_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/SkPdfSubmitFormActionDictionary_autogen.h
===================================================================
--- experimental/PdfViewer/SkPdfSubmitFormActionDictionary_autogen.h (revision 9684)
+++ experimental/PdfViewer/SkPdfSubmitFormActionDictionary_autogen.h (working copy)
@@ -5,6 +5,7 @@
#include "SkPdfArray_autogen.h"
#include "SkPdfDictionary_autogen.h"
+// Additional entries specific to a submit-form action
class SkPdfSubmitFormActionDictionary : public SkPdfDictionary {
public:
virtual SkPdfObjectType getType() const { return kSubmitFormActionDictionary_SkPdfObjectType;}
@@ -521,6 +522,13 @@
SkPdfSubmitFormActionDictionary& operator=(const SkPdfSubmitFormActionDictionary& from) {this->fPodofoDoc = from.fPodofoDoc; this->fPodofoObj = from.fPodofoObj; return *this;}
+/** (Required) The type of action that this dictionary describes; must
+ * be SubmitForm for a submit-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,14 @@
return "";
}
+/** (Required) A URL file specification (see Section 3.10.4, "URL Speci-
+ * fications") giving the uniform resource locator (URL) of the script
+ * at the Web server that will process the submission.
+**/
+ bool has_F() const {
+ return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "F", "", NULL));
+ }
+
SkPdfFileSpec F() const {
SkPdfFileSpec ret;
if (FileSpecFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "F", "", &ret)) return ret;
@@ -535,6 +551,23 @@
return SkPdfFileSpec();
}
+/** (Optional) An array identifying which fields to include in the sub-
+ * mission or which to exclude, depending on the setting of the
+ * Include/Exclude flag in the Flags entry (see Table 8.62). Each ele-
+ * ment of the array is either an indirect 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 submitted except those
+ * whose NoExport flag (see Table 8.50 on page 532) is set. (Fields
+ * with no values may also be excluded, depending on the setting of
+ * the IncludeNoValueFields flag; see Table 8.62.) See the text follow-
+ * ing Table 8.62 for further discussion.
+**/
+ 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;
@@ -542,6 +575,13 @@
return SkPdfArray();
}
+/** (Optional; inheritable) A set of flags specifying various characteris-
+ * tics of the action (see Table 8.62). 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