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

Unified Diff: experimental/PdfViewer/pdf_auto_gen.h

Issue 17124003: fix typo in spec (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:
Download patch
« no previous file with comments | « experimental/PdfViewer/PdfReference-okular-1.txt ('k') | experimental/PdfViewer/pdfspec_autogen.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: experimental/PdfViewer/pdf_auto_gen.h
===================================================================
--- experimental/PdfViewer/pdf_auto_gen.h (revision 9643)
+++ experimental/PdfViewer/pdf_auto_gen.h (working copy)
@@ -25859,6 +25859,73 @@
return """";
}
+ SkPdfObject* LastModified() const {
+ SkPdfObject* ret;
+ if (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "LastModified", "", &ret)) return ret;
+ return NULL;
+ }
+
+ SkPdfObject* BBox() const {
+ SkPdfObject* ret;
+ if (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "BBox", "", &ret)) return ret;
+ // TODO(edisonn): warn about missing required field, assert for known good pdfs
+ return NULL;
+ }
+
+ SkPdfObject* Matrix() const {
+ SkPdfObject* ret;
+ if (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Matrix", "", &ret)) return ret;
+ return NULL;
+ }
+
+ SkPdfDictionary* Resources() const {
+ SkPdfDictionary* ret;
+ if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Resources", "", &ret)) return ret;
+ return NULL;
+ }
+
+ SkPdfDictionary* Group() const {
+ SkPdfDictionary* ret;
+ if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Group", "", &ret)) return ret;
+ return NULL;
+ }
+
+ SkPdfDictionary* Ref() const {
+ SkPdfDictionary* ret;
+ if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Ref", "", &ret)) return ret;
+ return NULL;
+ }
+
+ SkPdfObject* Metadata() const {
+ SkPdfObject* ret;
+ if (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Metadata", "", &ret)) return ret;
+ return NULL;
+ }
+
+ SkPdfDictionary* PieceInfo() const {
+ SkPdfDictionary* ret;
+ if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "PieceInfo", "", &ret)) return ret;
+ return NULL;
+ }
+
+ long StructParent() const {
+ long ret;
+ if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "StructParent", "", &ret)) return ret;
+ return 0;
+ }
+
+ long StructParents() const {
+ long ret;
+ if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "StructParents", "", &ret)) return ret;
+ return 0;
+ }
+
+ SkPdfDictionary* OPI() const {
+ SkPdfDictionary* ret;
+ if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "OPI", "", &ret)) return ret;
+ return NULL;
+ }
+
};
@@ -93805,3 +93872,4 @@
}
};
+
« no previous file with comments | « experimental/PdfViewer/PdfReference-okular-1.txt ('k') | experimental/PdfViewer/pdfspec_autogen.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698