Index: experimental/PdfViewer/autogen/SkPdfResetFormActionDictionary_autogen.cpp |
=================================================================== |
--- experimental/PdfViewer/autogen/SkPdfResetFormActionDictionary_autogen.cpp (revision 0) |
+++ experimental/PdfViewer/autogen/SkPdfResetFormActionDictionary_autogen.cpp (revision 0) |
@@ -0,0 +1,23 @@ |
+#include "SkPdfResetFormActionDictionary_autogen.h" |
+ |
+std::string SkPdfResetFormActionDictionary::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 ""; |
+} |
+ |
+SkPdfArray* SkPdfResetFormActionDictionary::Fields() const { |
+ SkPdfArray* ret; |
+ if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Fields", "", &ret)) return ret; |
+ // TODO(edisonn): warn about missing required field, assert for known good pdfs |
+ return NULL; |
+} |
+ |
+long SkPdfResetFormActionDictionary::Flags() const { |
+ long ret; |
+ if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Flags", "", &ret)) return ret; |
+ // TODO(edisonn): warn about missing required field, assert for known good pdfs |
+ return 0; |
+} |
+ |