| #include "SkPdfAlternateImageDictionary_autogen.h" |
| |
| SkPdfStream* SkPdfAlternateImageDictionary::Image() const { |
| SkPdfStream* ret; |
| if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Image", "", &ret)) return ret; |
| // TODO(edisonn): warn about missing required field, assert for known good pdfs |
| return NULL; |
| } |
| |
| bool SkPdfAlternateImageDictionary::DefaultForPrinting() const { |
| bool ret; |
| if (BoolFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "DefaultForPrinting", "", &ret)) return ret; |
| // TODO(edisonn): warn about missing required field, assert for known good pdfs |
| return false; |
| } |