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