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

Unified Diff: experimental/PdfViewer/SkPdfWebCaptureCommandDictionary_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/SkPdfWebCaptureCommandDictionary_autogen.h
===================================================================
--- experimental/PdfViewer/SkPdfWebCaptureCommandDictionary_autogen.h (revision 9684)
+++ experimental/PdfViewer/SkPdfWebCaptureCommandDictionary_autogen.h (working copy)
@@ -5,6 +5,7 @@
#include "SkPdfArray_autogen.h"
#include "SkPdfDictionary_autogen.h"
+// Entries in a Web Capture command dictionary
class SkPdfWebCaptureCommandDictionary : public SkPdfDictionary {
public:
virtual SkPdfObjectType getType() const { return kWebCaptureCommandDictionary_SkPdfObjectType;}
@@ -521,6 +522,12 @@
SkPdfWebCaptureCommandDictionary& operator=(const SkPdfWebCaptureCommandDictionary& from) {this->fPodofoDoc = from.fPodofoDoc; this->fPodofoObj = from.fPodofoObj; return *this;}
+/** (Required) The initial URL from which source data was requested.
+**/
+ bool has_URL() const {
+ return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "URL", "", NULL));
+ }
+
std::string URL() const {
std::string ret;
if (StringFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "URL", "", &ret)) return ret;
@@ -528,6 +535,13 @@
return "";
}
+/** (Optional) The number of levels of pages retrieved from the initial URL. Default
+ * value: 1.
+**/
+ bool has_L() const {
+ return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "L", "", NULL));
+ }
+
long L() const {
long ret;
if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "L", "", &ret)) return ret;
@@ -535,6 +549,13 @@
return 0;
}
+/** (Optional) A set of flags specifying various characteristics of the command (see
+ * Table 9.39). Default value: 0.
+**/
+ bool has_F() const {
+ return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "F", "", NULL));
+ }
+
long F() const {
long ret;
if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "F", "", &ret)) return ret;
@@ -542,6 +563,12 @@
return 0;
}
+/** (Optional) Data that was posted to the URL.
+**/
+ bool has_P() const {
+ return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "P", "", NULL));
+ }
+
bool isPAString() const {
SkPdfObject* ret = NULL;
if (!ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "P", "", &ret)) return false;
@@ -568,6 +595,13 @@
return SkPdfStream();
}
+/** (Optional) A content type describing the data posted to the URL. Default value:
+ * application/x-www-form-urlencoded.
+**/
+ bool has_CT() const {
+ return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "CT", "", NULL));
+ }
+
std::string CT() const {
std::string ret;
if (StringFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "CT", "", &ret)) return ret;
@@ -575,6 +609,12 @@
return "";
}
+/** (Optional) Additional HTTP request headers sent to the URL.
+**/
+ bool has_H() const {
+ return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "H", "", NULL));
+ }
+
std::string H() const {
std::string ret;
if (StringFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "H", "", &ret)) return ret;
@@ -582,6 +622,13 @@
return "";
}
+/** (Optional) A command settings dictionary containing settings used in the con-
+ * version process (see "Command Settings" on page 674).
+**/
+ bool has_S() const {
+ return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "S", "", NULL));
+ }
+
SkPdfDictionary* S() const {
SkPdfDictionary* ret;
if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "S", "", &ret)) return ret;

Powered by Google App Engine
This is Rietveld 408576698