Index: experimental/PdfViewer/autogen/SkPdfFDFNamedPageReferenceDictionary_autogen.cpp |
=================================================================== |
--- experimental/PdfViewer/autogen/SkPdfFDFNamedPageReferenceDictionary_autogen.cpp (revision 0) |
+++ experimental/PdfViewer/autogen/SkPdfFDFNamedPageReferenceDictionary_autogen.cpp (revision 0) |
@@ -0,0 +1,16 @@ |
+#include "SkPdfFDFNamedPageReferenceDictionary_autogen.h" |
+ |
+std::string SkPdfFDFNamedPageReferenceDictionary::Name() const { |
+ std::string ret; |
+ if (StringFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Name", "", &ret)) return ret; |
+ // TODO(edisonn): warn about missing required field, assert for known good pdfs |
+ return ""; |
+} |
+ |
+SkPdfFileSpec SkPdfFDFNamedPageReferenceDictionary::F() const { |
+ SkPdfFileSpec ret; |
+ if (FileSpecFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "F", "", &ret)) return ret; |
+ // TODO(edisonn): warn about missing required field, assert for known good pdfs |
+ return SkPdfFileSpec(); |
+} |
+ |