Index: experimental/PdfViewer/autogen/SkPdfGoToActionDictionary_autogen.cpp |
=================================================================== |
--- experimental/PdfViewer/autogen/SkPdfGoToActionDictionary_autogen.cpp (revision 0) |
+++ experimental/PdfViewer/autogen/SkPdfGoToActionDictionary_autogen.cpp (revision 0) |
@@ -0,0 +1,30 @@ |
+#include "SkPdfGoToActionDictionary_autogen.h" |
+ |
+std::string SkPdfGoToActionDictionary::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 SkPdfGoToActionDictionary::getDAsName() const { |
+ std::string ret = ""; |
+ if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "D", "", &ret)) return ret; |
+ // TODO(edisonn): warn about missing required field, assert for known good pdfs |
+ return ""; |
+} |
+ |
+std::string SkPdfGoToActionDictionary::getDAsString() const { |
+ std::string ret = ""; |
+ if (StringFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "D", "", &ret)) return ret; |
+ // TODO(edisonn): warn about missing required field, assert for known good pdfs |
+ return ""; |
+} |
+ |
+SkPdfArray* SkPdfGoToActionDictionary::getDAsArray() const { |
+ SkPdfArray* ret = NULL; |
+ if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "D", "", &ret)) return ret; |
+ // TODO(edisonn): warn about missing required field, assert for known good pdfs |
+ return NULL; |
+} |
+ |