Index: experimental/PdfViewer/autogen/SkPdfFileTrailerDictionary_autogen.cpp |
=================================================================== |
--- experimental/PdfViewer/autogen/SkPdfFileTrailerDictionary_autogen.cpp (revision 0) |
+++ experimental/PdfViewer/autogen/SkPdfFileTrailerDictionary_autogen.cpp (revision 0) |
@@ -0,0 +1,44 @@ |
+#include "SkPdfFileTrailerDictionary_autogen.h" |
+ |
+long SkPdfFileTrailerDictionary::Size() const { |
+ long ret; |
+ if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Size", "", &ret)) return ret; |
+ // TODO(edisonn): warn about missing required field, assert for known good pdfs |
+ return 0; |
+} |
+ |
+long SkPdfFileTrailerDictionary::Prev() const { |
+ long ret; |
+ if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Prev", "", &ret)) return ret; |
+ // TODO(edisonn): warn about missing required field, assert for known good pdfs |
+ return 0; |
+} |
+ |
+SkPdfDictionary* SkPdfFileTrailerDictionary::Root() const { |
+ SkPdfDictionary* ret; |
+ if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Root", "", &ret)) return ret; |
+ // TODO(edisonn): warn about missing required field, assert for known good pdfs |
+ return NULL; |
+} |
+ |
+SkPdfDictionary* SkPdfFileTrailerDictionary::Encrypt() const { |
+ SkPdfDictionary* ret; |
+ if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Encrypt", "", &ret)) return ret; |
+ // TODO(edisonn): warn about missing required field, assert for known good pdfs |
+ return NULL; |
+} |
+ |
+SkPdfDictionary* SkPdfFileTrailerDictionary::Info() const { |
+ SkPdfDictionary* ret; |
+ if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Info", "", &ret)) return ret; |
+ // TODO(edisonn): warn about missing required field, assert for known good pdfs |
+ return NULL; |
+} |
+ |
+SkPdfArray* SkPdfFileTrailerDictionary::ID() const { |
+ SkPdfArray* ret; |
+ if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "ID", "", &ret)) return ret; |
+ // TODO(edisonn): warn about missing required field, assert for known good pdfs |
+ return NULL; |
+} |
+ |