Index: experimental/PdfViewer/autogen/SkPdfLineAnnotationDictionary_autogen.cpp |
=================================================================== |
--- experimental/PdfViewer/autogen/SkPdfLineAnnotationDictionary_autogen.cpp (revision 0) |
+++ experimental/PdfViewer/autogen/SkPdfLineAnnotationDictionary_autogen.cpp (revision 0) |
@@ -0,0 +1,44 @@ |
+#include "SkPdfLineAnnotationDictionary_autogen.h" |
+ |
+std::string SkPdfLineAnnotationDictionary::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 SkPdfLineAnnotationDictionary::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 ""; |
+} |
+ |
+SkPdfArray* SkPdfLineAnnotationDictionary::L() const { |
+ SkPdfArray* ret; |
+ if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "L", "", &ret)) return ret; |
+ // TODO(edisonn): warn about missing required field, assert for known good pdfs |
+ return NULL; |
+} |
+ |
+SkPdfDictionary* SkPdfLineAnnotationDictionary::BS() const { |
+ SkPdfDictionary* ret; |
+ if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "BS", "", &ret)) return ret; |
+ // TODO(edisonn): warn about missing required field, assert for known good pdfs |
+ return NULL; |
+} |
+ |
+SkPdfArray* SkPdfLineAnnotationDictionary::LE() const { |
+ SkPdfArray* ret; |
+ if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "LE", "", &ret)) return ret; |
+ // TODO(edisonn): warn about missing required field, assert for known good pdfs |
+ return NULL; |
+} |
+ |
+SkPdfArray* SkPdfLineAnnotationDictionary::IC() const { |
+ SkPdfArray* ret; |
+ if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "IC", "", &ret)) return ret; |
+ // TODO(edisonn): warn about missing required field, assert for known good pdfs |
+ return NULL; |
+} |
+ |