Index: experimental/PdfViewer/autogen/SkPdfTrapNetworkAnnotationDictionary_autogen.cpp |
=================================================================== |
--- experimental/PdfViewer/autogen/SkPdfTrapNetworkAnnotationDictionary_autogen.cpp (revision 0) |
+++ experimental/PdfViewer/autogen/SkPdfTrapNetworkAnnotationDictionary_autogen.cpp (revision 0) |
@@ -0,0 +1,44 @@ |
+#include "SkPdfTrapNetworkAnnotationDictionary_autogen.h" |
+ |
+std::string SkPdfTrapNetworkAnnotationDictionary::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 ""; |
+} |
+ |
+std::string SkPdfTrapNetworkAnnotationDictionary::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 ""; |
+} |
+ |
+SkPdfDate SkPdfTrapNetworkAnnotationDictionary::LastModified() const { |
+ SkPdfDate ret; |
+ if (DateFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "LastModified", "", &ret)) return ret; |
+ // TODO(edisonn): warn about missing required field, assert for known good pdfs |
+ return SkPdfDate(); |
+} |
+ |
+SkPdfArray* SkPdfTrapNetworkAnnotationDictionary::Version() const { |
+ SkPdfArray* ret; |
+ if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Version", "", &ret)) return ret; |
+ // TODO(edisonn): warn about missing required field, assert for known good pdfs |
+ return NULL; |
+} |
+ |
+SkPdfArray* SkPdfTrapNetworkAnnotationDictionary::AnnotStates() const { |
+ SkPdfArray* ret; |
+ if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "AnnotStates", "", &ret)) return ret; |
+ // TODO(edisonn): warn about missing required field, assert for known good pdfs |
+ return NULL; |
+} |
+ |
+SkPdfArray* SkPdfTrapNetworkAnnotationDictionary::FontFauxing() const { |
+ SkPdfArray* ret; |
+ if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "FontFauxing", "", &ret)) return ret; |
+ // TODO(edisonn): warn about missing required field, assert for known good pdfs |
+ return NULL; |
+} |
+ |