| OLD | NEW |
| 1 #include "SkPdfInteractiveFormDictionary_autogen.h" | 1 #include "SkPdfInteractiveFormDictionary_autogen.h" |
| 2 | 2 |
| 3 SkPdfArray* SkPdfInteractiveFormDictionary::Fields() const { | 3 SkPdfArray* SkPdfInteractiveFormDictionary::Fields() const { |
| 4 SkPdfArray* ret; | 4 SkPdfArray* ret; |
| 5 if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Fields", "",
&ret)) return 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 | 6 // TODO(edisonn): warn about missing required field, assert for known good pdf
s |
| 7 return NULL; | 7 return NULL; |
| 8 } | 8 } |
| 9 | 9 |
| 10 bool SkPdfInteractiveFormDictionary::NeedAppearances() const { | 10 bool SkPdfInteractiveFormDictionary::NeedAppearances() const { |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 // TODO(edisonn): warn about missing required field, assert for known good pdf
s | 41 // TODO(edisonn): warn about missing required field, assert for known good pdf
s |
| 42 return ""; | 42 return ""; |
| 43 } | 43 } |
| 44 | 44 |
| 45 long SkPdfInteractiveFormDictionary::Q() const { | 45 long SkPdfInteractiveFormDictionary::Q() const { |
| 46 long ret; | 46 long ret; |
| 47 if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Q", "", &ret)
) return 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 | 48 // TODO(edisonn): warn about missing required field, assert for known good pdf
s |
| 49 return 0; | 49 return 0; |
| 50 } | 50 } |
| OLD | NEW |