OLD | NEW |
(Empty) | |
| 1 #include "SkPdfInteractiveFormDictionary_autogen.h" |
| 2 |
| 3 SkPdfArray* SkPdfInteractiveFormDictionary::Fields() const { |
| 4 SkPdfArray* ret; |
| 5 if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Fields", "",
&ret)) return ret; |
| 6 // TODO(edisonn): warn about missing required field, assert for known good pdf
s |
| 7 return NULL; |
| 8 } |
| 9 |
| 10 bool SkPdfInteractiveFormDictionary::NeedAppearances() const { |
| 11 bool ret; |
| 12 if (BoolFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "NeedAppearanc
es", "", &ret)) return ret; |
| 13 // TODO(edisonn): warn about missing required field, assert for known good pdf
s |
| 14 return false; |
| 15 } |
| 16 |
| 17 long SkPdfInteractiveFormDictionary::SigFlags() const { |
| 18 long ret; |
| 19 if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "SigFlags", ""
, &ret)) return ret; |
| 20 // TODO(edisonn): warn about missing required field, assert for known good pdf
s |
| 21 return 0; |
| 22 } |
| 23 |
| 24 SkPdfArray* SkPdfInteractiveFormDictionary::CO() const { |
| 25 SkPdfArray* ret; |
| 26 if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "CO", "", &re
t)) return ret; |
| 27 // TODO(edisonn): warn about missing required field, assert for known good pdf
s |
| 28 return NULL; |
| 29 } |
| 30 |
| 31 SkPdfDictionary* SkPdfInteractiveFormDictionary::DR() const { |
| 32 SkPdfDictionary* ret; |
| 33 if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "DR", ""
, &ret)) return ret; |
| 34 // TODO(edisonn): warn about missing required field, assert for known good pdf
s |
| 35 return NULL; |
| 36 } |
| 37 |
| 38 std::string SkPdfInteractiveFormDictionary::DA() const { |
| 39 std::string ret; |
| 40 if (StringFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "DA", "", &r
et)) return ret; |
| 41 // TODO(edisonn): warn about missing required field, assert for known good pdf
s |
| 42 return ""; |
| 43 } |
| 44 |
| 45 long SkPdfInteractiveFormDictionary::Q() const { |
| 46 long ret; |
| 47 if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Q", "", &ret)
) return ret; |
| 48 // TODO(edisonn): warn about missing required field, assert for known good pdf
s |
| 49 return 0; |
| 50 } |
| 51 |
OLD | NEW |