edisonn@google.com | 131d4ee | 2013-06-26 17:48:12 +0000 | [diff] [blame^] | 1 | #include "SkPdfAppearanceCharacteristicsDictionary_autogen.h" |
| 2 | |
| 3 | long SkPdfAppearanceCharacteristicsDictionary::R() const { |
| 4 | long ret; |
| 5 | if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "R", "", &ret)) return ret; |
| 6 | // TODO(edisonn): warn about missing required field, assert for known good pdfs |
| 7 | return 0; |
| 8 | } |
| 9 | |
| 10 | SkPdfArray* SkPdfAppearanceCharacteristicsDictionary::BC() const { |
| 11 | SkPdfArray* ret; |
| 12 | if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "BC", "", &ret)) return ret; |
| 13 | // TODO(edisonn): warn about missing required field, assert for known good pdfs |
| 14 | return NULL; |
| 15 | } |
| 16 | |
| 17 | SkPdfArray* SkPdfAppearanceCharacteristicsDictionary::BG() const { |
| 18 | SkPdfArray* ret; |
| 19 | if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "BG", "", &ret)) return ret; |
| 20 | // TODO(edisonn): warn about missing required field, assert for known good pdfs |
| 21 | return NULL; |
| 22 | } |
| 23 | |
| 24 | std::string SkPdfAppearanceCharacteristicsDictionary::CA() const { |
| 25 | std::string ret; |
| 26 | if (StringFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "CA", "", &ret)) return ret; |
| 27 | // TODO(edisonn): warn about missing required field, assert for known good pdfs |
| 28 | return ""; |
| 29 | } |
| 30 | |
| 31 | std::string SkPdfAppearanceCharacteristicsDictionary::RC() const { |
| 32 | std::string ret; |
| 33 | if (StringFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "RC", "", &ret)) return ret; |
| 34 | // TODO(edisonn): warn about missing required field, assert for known good pdfs |
| 35 | return ""; |
| 36 | } |
| 37 | |
| 38 | std::string SkPdfAppearanceCharacteristicsDictionary::AC() const { |
| 39 | std::string ret; |
| 40 | if (StringFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "AC", "", &ret)) return ret; |
| 41 | // TODO(edisonn): warn about missing required field, assert for known good pdfs |
| 42 | return ""; |
| 43 | } |
| 44 | |
| 45 | SkPdfStream* SkPdfAppearanceCharacteristicsDictionary::I() const { |
| 46 | SkPdfStream* ret; |
| 47 | if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "I", "", &ret)) return ret; |
| 48 | // TODO(edisonn): warn about missing required field, assert for known good pdfs |
| 49 | return NULL; |
| 50 | } |
| 51 | |
| 52 | SkPdfStream* SkPdfAppearanceCharacteristicsDictionary::RI() const { |
| 53 | SkPdfStream* ret; |
| 54 | if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "RI", "", &ret)) return ret; |
| 55 | // TODO(edisonn): warn about missing required field, assert for known good pdfs |
| 56 | return NULL; |
| 57 | } |
| 58 | |
| 59 | SkPdfStream* SkPdfAppearanceCharacteristicsDictionary::IX() const { |
| 60 | SkPdfStream* ret; |
| 61 | if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "IX", "", &ret)) return ret; |
| 62 | // TODO(edisonn): warn about missing required field, assert for known good pdfs |
| 63 | return NULL; |
| 64 | } |
| 65 | |
| 66 | SkPdfDictionary* SkPdfAppearanceCharacteristicsDictionary::IF() const { |
| 67 | SkPdfDictionary* ret; |
| 68 | if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "IF", "", &ret)) return ret; |
| 69 | // TODO(edisonn): warn about missing required field, assert for known good pdfs |
| 70 | return NULL; |
| 71 | } |
| 72 | |
| 73 | long SkPdfAppearanceCharacteristicsDictionary::TP() const { |
| 74 | long ret; |
| 75 | if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "TP", "", &ret)) return ret; |
| 76 | // TODO(edisonn): warn about missing required field, assert for known good pdfs |
| 77 | return 0; |
| 78 | } |
| 79 | |