edisonn@google.com | 131d4ee | 2013-06-26 17:48:12 +0000 | [diff] [blame] | 1 | #include "SkPdfAppearanceDictionary_autogen.h" |
| 2 | |
| 3 | SkPdfStream* SkPdfAppearanceDictionary::getNAsStream() const { |
| 4 | SkPdfStream* ret = NULL; |
| 5 | if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "N", "", &ret)) return ret; |
| 6 | // TODO(edisonn): warn about missing required field, assert for known good pdfs |
| 7 | return NULL; |
| 8 | } |
| 9 | |
| 10 | SkPdfDictionary* SkPdfAppearanceDictionary::getNAsDictionary() const { |
| 11 | SkPdfDictionary* ret = NULL; |
| 12 | if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "N", "", &ret)) return ret; |
| 13 | // TODO(edisonn): warn about missing required field, assert for known good pdfs |
| 14 | return NULL; |
| 15 | } |
| 16 | |
| 17 | SkPdfStream* SkPdfAppearanceDictionary::getRAsStream() const { |
| 18 | SkPdfStream* ret = NULL; |
| 19 | if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "R", "", &ret)) return ret; |
| 20 | // TODO(edisonn): warn about missing required field, assert for known good pdfs |
| 21 | return NULL; |
| 22 | } |
| 23 | |
| 24 | SkPdfDictionary* SkPdfAppearanceDictionary::getRAsDictionary() const { |
| 25 | SkPdfDictionary* ret = NULL; |
| 26 | if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "R", "", &ret)) return ret; |
| 27 | // TODO(edisonn): warn about missing required field, assert for known good pdfs |
| 28 | return NULL; |
| 29 | } |
| 30 | |
| 31 | SkPdfStream* SkPdfAppearanceDictionary::getDAsStream() const { |
| 32 | SkPdfStream* ret = NULL; |
| 33 | if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "D", "", &ret)) return ret; |
| 34 | // TODO(edisonn): warn about missing required field, assert for known good pdfs |
| 35 | return NULL; |
| 36 | } |
| 37 | |
| 38 | SkPdfDictionary* SkPdfAppearanceDictionary::getDAsDictionary() const { |
| 39 | SkPdfDictionary* ret = NULL; |
| 40 | if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "D", "", &ret)) return ret; |
| 41 | // TODO(edisonn): warn about missing required field, assert for known good pdfs |
| 42 | return NULL; |
| 43 | } |
edisonn@google.com | 6e49c34 | 2013-06-27 20:03:43 +0000 | [diff] [blame^] | 44 | |