Index: experimental/PdfViewer/autogen/SkPdfFDFTemplateDictionary_autogen.cpp |
=================================================================== |
--- experimental/PdfViewer/autogen/SkPdfFDFTemplateDictionary_autogen.cpp (revision 0) |
+++ experimental/PdfViewer/autogen/SkPdfFDFTemplateDictionary_autogen.cpp (revision 0) |
@@ -0,0 +1,23 @@ |
+#include "SkPdfFDFTemplateDictionary_autogen.h" |
+ |
+SkPdfDictionary* SkPdfFDFTemplateDictionary::TRef() const { |
+ SkPdfDictionary* ret; |
+ if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "TRef", "", &ret)) return ret; |
+ // TODO(edisonn): warn about missing required field, assert for known good pdfs |
+ return NULL; |
+} |
+ |
+SkPdfArray* SkPdfFDFTemplateDictionary::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; |
+} |
+ |
+bool SkPdfFDFTemplateDictionary::Rename() const { |
+ bool ret; |
+ if (BoolFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Rename", "", &ret)) return ret; |
+ // TODO(edisonn): warn about missing required field, assert for known good pdfs |
+ return false; |
+} |
+ |