Index: experimental/PdfViewer/autogen/SkPdfCIDFontDescriptorDictionary_autogen.cpp |
=================================================================== |
--- experimental/PdfViewer/autogen/SkPdfCIDFontDescriptorDictionary_autogen.cpp (revision 0) |
+++ experimental/PdfViewer/autogen/SkPdfCIDFontDescriptorDictionary_autogen.cpp (revision 0) |
@@ -0,0 +1,30 @@ |
+#include "SkPdfCIDFontDescriptorDictionary_autogen.h" |
+ |
+SkPdfDictionary* SkPdfCIDFontDescriptorDictionary::Style() const { |
+ SkPdfDictionary* ret; |
+ if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Style", "", &ret)) return ret; |
+ // TODO(edisonn): warn about missing required field, assert for known good pdfs |
+ return NULL; |
+} |
+ |
+std::string SkPdfCIDFontDescriptorDictionary::Lang() const { |
+ std::string ret; |
+ if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Lang", "", &ret)) return ret; |
+ // TODO(edisonn): warn about missing required field, assert for known good pdfs |
+ return ""; |
+} |
+ |
+SkPdfDictionary* SkPdfCIDFontDescriptorDictionary::FD() const { |
+ SkPdfDictionary* ret; |
+ if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "FD", "", &ret)) return ret; |
+ // TODO(edisonn): warn about missing required field, assert for known good pdfs |
+ return NULL; |
+} |
+ |
+SkPdfStream* SkPdfCIDFontDescriptorDictionary::CIDSet() const { |
+ SkPdfStream* ret; |
+ if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "CIDSet", "", &ret)) return ret; |
+ // TODO(edisonn): warn about missing required field, assert for known good pdfs |
+ return NULL; |
+} |
+ |