OLD | NEW |
(Empty) | |
| 1 #include "SkPdfWebCaptureCommandDictionary_autogen.h" |
| 2 |
| 3 std::string SkPdfWebCaptureCommandDictionary::URL() const { |
| 4 std::string ret; |
| 5 if (StringFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "URL", "", &
ret)) return ret; |
| 6 // TODO(edisonn): warn about missing required field, assert for known good pdf
s |
| 7 return ""; |
| 8 } |
| 9 |
| 10 long SkPdfWebCaptureCommandDictionary::L() const { |
| 11 long ret; |
| 12 if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "L", "", &ret)
) return ret; |
| 13 // TODO(edisonn): warn about missing required field, assert for known good pdf
s |
| 14 return 0; |
| 15 } |
| 16 |
| 17 long SkPdfWebCaptureCommandDictionary::F() const { |
| 18 long ret; |
| 19 if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "F", "", &ret)
) return ret; |
| 20 // TODO(edisonn): warn about missing required field, assert for known good pdf
s |
| 21 return 0; |
| 22 } |
| 23 |
| 24 std::string SkPdfWebCaptureCommandDictionary::getPAsString() const { |
| 25 std::string ret = ""; |
| 26 if (StringFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "P", "", &re
t)) return ret; |
| 27 // TODO(edisonn): warn about missing required field, assert for known good pdf
s |
| 28 return ""; |
| 29 } |
| 30 |
| 31 SkPdfStream* SkPdfWebCaptureCommandDictionary::getPAsStream() const { |
| 32 SkPdfStream* ret = NULL; |
| 33 if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "P", "", &re
t)) return ret; |
| 34 // TODO(edisonn): warn about missing required field, assert for known good pdf
s |
| 35 return NULL; |
| 36 } |
| 37 |
| 38 std::string SkPdfWebCaptureCommandDictionary::CT() const { |
| 39 std::string ret; |
| 40 if (StringFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "CT", "", &r
et)) return ret; |
| 41 // TODO(edisonn): warn about missing required field, assert for known good pdf
s |
| 42 return ""; |
| 43 } |
| 44 |
| 45 std::string SkPdfWebCaptureCommandDictionary::H() const { |
| 46 std::string ret; |
| 47 if (StringFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "H", "", &re
t)) return ret; |
| 48 // TODO(edisonn): warn about missing required field, assert for known good pdf
s |
| 49 return ""; |
| 50 } |
| 51 |
| 52 SkPdfDictionary* SkPdfWebCaptureCommandDictionary::S() const { |
| 53 SkPdfDictionary* ret; |
| 54 if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "S", "",
&ret)) return ret; |
| 55 // TODO(edisonn): warn about missing required field, assert for known good pdf
s |
| 56 return NULL; |
| 57 } |
| 58 |
OLD | NEW |