OLD | NEW |
1 #include "SkPdfLaunchActionDictionary_autogen.h" | 1 #include "SkPdfLaunchActionDictionary_autogen.h" |
2 | 2 |
3 std::string SkPdfLaunchActionDictionary::S() const { | 3 std::string SkPdfLaunchActionDictionary::S() const { |
4 std::string ret; | 4 std::string ret; |
5 if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "S", "", &ret)
) return ret; | 5 if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "S", "", &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 ""; | 7 return ""; |
8 } | 8 } |
9 | 9 |
10 SkPdfFileSpec SkPdfLaunchActionDictionary::F() const { | 10 SkPdfFileSpec SkPdfLaunchActionDictionary::F() const { |
(...skipping 23 matching lines...) Expand all Loading... |
34 // TODO(edisonn): warn about missing required field, assert for known good pdf
s | 34 // TODO(edisonn): warn about missing required field, assert for known good pdf
s |
35 return NULL; | 35 return NULL; |
36 } | 36 } |
37 | 37 |
38 bool SkPdfLaunchActionDictionary::NewWindow() const { | 38 bool SkPdfLaunchActionDictionary::NewWindow() const { |
39 bool ret; | 39 bool ret; |
40 if (BoolFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "NewWindow", "
", &ret)) return ret; | 40 if (BoolFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "NewWindow", "
", &ret)) return ret; |
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 false; | 42 return false; |
43 } | 43 } |
| 44 |
OLD | NEW |