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

Unified Diff: experimental/PdfViewer/SkPdfOpiVersionDictionary_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/SkPdfOpiVersionDictionary_autogen.h
===================================================================
--- experimental/PdfViewer/SkPdfOpiVersionDictionary_autogen.h (revision 9684)
+++ experimental/PdfViewer/SkPdfOpiVersionDictionary_autogen.h (working copy)
@@ -5,6 +5,7 @@
#include "SkPdfArray_autogen.h"
#include "SkPdfDictionary_autogen.h"
+// Entry in an OPI version dictionary
class SkPdfOpiVersionDictionary : public SkPdfDictionary {
public:
virtual SkPdfObjectType getType() const { return kOpiVersionDictionary_SkPdfObjectType;}
@@ -521,6 +522,14 @@
SkPdfOpiVersionDictionary& operator=(const SkPdfOpiVersionDictionary& from) {this->fPodofoDoc = from.fPodofoDoc; this->fPodofoObj = from.fPodofoObj; return *this;}
+/** (Required; PDF 1.2) An OPI dictionary specifying the attributes of this proxy
+ * (see Tables 9.50 and 9.51). The key for this entry must be the name 1.3 or 2.0,
+ * identifying the version of OPI to which the proxy corresponds.
+**/
+ bool has_version_number() const {
+ return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "version_number", "", NULL));
+ }
+
SkPdfDictionary* version_number() const {
SkPdfDictionary* ret;
if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "version_number", "", &ret)) return ret;

Powered by Google App Engine
This is Rietveld 408576698