Index: experimental/PdfViewer/autogen/SkPdfJavascriptDictionary_autogen.cpp |
=================================================================== |
--- experimental/PdfViewer/autogen/SkPdfJavascriptDictionary_autogen.cpp (revision 0) |
+++ experimental/PdfViewer/autogen/SkPdfJavascriptDictionary_autogen.cpp (revision 0) |
@@ -0,0 +1,37 @@ |
+#include "SkPdfJavascriptDictionary_autogen.h" |
+ |
+std::string SkPdfJavascriptDictionary::getBeforeAsString() const { |
+ std::string ret = ""; |
+ if (StringFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Before", "", &ret)) return ret; |
+ // TODO(edisonn): warn about missing required field, assert for known good pdfs |
+ return ""; |
+} |
+ |
+SkPdfStream* SkPdfJavascriptDictionary::getBeforeAsStream() const { |
+ SkPdfStream* ret = NULL; |
+ if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Before", "", &ret)) return ret; |
+ // TODO(edisonn): warn about missing required field, assert for known good pdfs |
+ return NULL; |
+} |
+ |
+std::string SkPdfJavascriptDictionary::getAfterAsString() const { |
+ std::string ret = ""; |
+ if (StringFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "After", "", &ret)) return ret; |
+ // TODO(edisonn): warn about missing required field, assert for known good pdfs |
+ return ""; |
+} |
+ |
+SkPdfStream* SkPdfJavascriptDictionary::getAfterAsStream() const { |
+ SkPdfStream* ret = NULL; |
+ if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "After", "", &ret)) return ret; |
+ // TODO(edisonn): warn about missing required field, assert for known good pdfs |
+ return NULL; |
+} |
+ |
+SkPdfArray* SkPdfJavascriptDictionary::Doc() const { |
+ SkPdfArray* ret; |
+ if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Doc", "", &ret)) return ret; |
+ // TODO(edisonn): warn about missing required field, assert for known good pdfs |
+ return NULL; |
+} |
+ |