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

Unified Diff: experimental/PdfViewer/SkPdfWebCaptureInformationDictionary_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/SkPdfWebCaptureInformationDictionary_autogen.h
===================================================================
--- experimental/PdfViewer/SkPdfWebCaptureInformationDictionary_autogen.h (revision 9684)
+++ experimental/PdfViewer/SkPdfWebCaptureInformationDictionary_autogen.h (working copy)
@@ -5,6 +5,7 @@
#include "SkPdfArray_autogen.h"
#include "SkPdfDictionary_autogen.h"
+// Entries in the Web Capture information dictionary
class SkPdfWebCaptureInformationDictionary : public SkPdfDictionary {
public:
virtual SkPdfObjectType getType() const { return kWebCaptureInformationDictionary_SkPdfObjectType;}
@@ -521,6 +522,14 @@
SkPdfWebCaptureInformationDictionary& operator=(const SkPdfWebCaptureInformationDictionary& from) {this->fPodofoDoc = from.fPodofoDoc; this->fPodofoObj = from.fPodofoObj; return *this;}
+/** (Required) The Web Capture version number. For PDF 1.3, the version number is 1.0.
+ * Note: This value is a single real number, not a major and minor version number. Thus, for
+ * example, a version number of 1.2 would be considered greater than 1.15.
+**/
+ bool has_V() const {
+ return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "V", "", NULL));
+ }
+
double V() const {
double ret;
if (DoubleFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "V", "", &ret)) return ret;
@@ -528,6 +537,15 @@
return 0;
}
+/** (Optional) An array of indirect references to Web Capture command dictionaries (see
+ * "Command Dictionaries" on page 672) describing commands that were used in building
+ * the PDF file. The commands appear in the array in the order in which they were executed
+ * in building the file.
+**/
+ bool has_C() const {
+ return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "C", "", NULL));
+ }
+
SkPdfArray C() const {
SkPdfArray ret;
if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "C", "", &ret)) return ret;

Powered by Google App Engine
This is Rietveld 408576698