Index: experimental/PdfViewer/autogen/SkPdfTransitionDictionary_autogen.cpp |
=================================================================== |
--- experimental/PdfViewer/autogen/SkPdfTransitionDictionary_autogen.cpp (revision 0) |
+++ experimental/PdfViewer/autogen/SkPdfTransitionDictionary_autogen.cpp (revision 0) |
@@ -0,0 +1,44 @@ |
+#include "SkPdfTransitionDictionary_autogen.h" |
+ |
+std::string SkPdfTransitionDictionary::Type() const { |
+ std::string ret; |
+ if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Type", "", &ret)) return ret; |
+ // TODO(edisonn): warn about missing required field, assert for known good pdfs |
+ return ""; |
+} |
+ |
+double SkPdfTransitionDictionary::D() const { |
+ double ret; |
+ if (DoubleFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "D", "", &ret)) return ret; |
+ // TODO(edisonn): warn about missing required field, assert for known good pdfs |
+ return 0; |
+} |
+ |
+std::string SkPdfTransitionDictionary::S() const { |
+ std::string ret; |
+ if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "S", "", &ret)) return ret; |
+ // TODO(edisonn): warn about missing required field, assert for known good pdfs |
+ return ""; |
+} |
+ |
+std::string SkPdfTransitionDictionary::Dm() const { |
+ std::string ret; |
+ if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Dm", "", &ret)) return ret; |
+ // TODO(edisonn): warn about missing required field, assert for known good pdfs |
+ return ""; |
+} |
+ |
+std::string SkPdfTransitionDictionary::M() const { |
+ std::string ret; |
+ if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "M", "", &ret)) return ret; |
+ // TODO(edisonn): warn about missing required field, assert for known good pdfs |
+ return ""; |
+} |
+ |
+double SkPdfTransitionDictionary::Di() const { |
+ double ret; |
+ if (DoubleFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Di", "", &ret)) return ret; |
+ // TODO(edisonn): warn about missing required field, assert for known good pdfs |
+ return 0; |
+} |
+ |