OLD | NEW |
(Empty) | |
| 1 #include "SkPdfMovieActivationDictionary_autogen.h" |
| 2 |
| 3 SkPdfObject* SkPdfMovieActivationDictionary::Start() const { |
| 4 SkPdfObject* ret; |
| 5 if (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Start", "",
&ret)) return ret; |
| 6 // TODO(edisonn): warn about missing required field, assert for known good pdf
s |
| 7 return NULL; |
| 8 } |
| 9 |
| 10 SkPdfObject* SkPdfMovieActivationDictionary::Duration() const { |
| 11 SkPdfObject* ret; |
| 12 if (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Duration",
"", &ret)) return ret; |
| 13 // TODO(edisonn): warn about missing required field, assert for known good pdf
s |
| 14 return NULL; |
| 15 } |
| 16 |
| 17 double SkPdfMovieActivationDictionary::Rate() const { |
| 18 double ret; |
| 19 if (DoubleFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Rate", "",
&ret)) return ret; |
| 20 // TODO(edisonn): warn about missing required field, assert for known good pdf
s |
| 21 return 0; |
| 22 } |
| 23 |
| 24 double SkPdfMovieActivationDictionary::Volume() const { |
| 25 double ret; |
| 26 if (DoubleFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Volume", ""
, &ret)) return ret; |
| 27 // TODO(edisonn): warn about missing required field, assert for known good pdf
s |
| 28 return 0; |
| 29 } |
| 30 |
| 31 bool SkPdfMovieActivationDictionary::ShowControls() const { |
| 32 bool ret; |
| 33 if (BoolFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "ShowControls"
, "", &ret)) return ret; |
| 34 // TODO(edisonn): warn about missing required field, assert for known good pdf
s |
| 35 return false; |
| 36 } |
| 37 |
| 38 std::string SkPdfMovieActivationDictionary::Mode() const { |
| 39 std::string ret; |
| 40 if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Mode", "", &r
et)) return ret; |
| 41 // TODO(edisonn): warn about missing required field, assert for known good pdf
s |
| 42 return ""; |
| 43 } |
| 44 |
| 45 bool SkPdfMovieActivationDictionary::Synchronous() const { |
| 46 bool ret; |
| 47 if (BoolFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Synchronous",
"", &ret)) return ret; |
| 48 // TODO(edisonn): warn about missing required field, assert for known good pdf
s |
| 49 return false; |
| 50 } |
| 51 |
| 52 SkPdfArray* SkPdfMovieActivationDictionary::FWScale() const { |
| 53 SkPdfArray* ret; |
| 54 if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "FWScale", ""
, &ret)) return ret; |
| 55 // TODO(edisonn): warn about missing required field, assert for known good pdf
s |
| 56 return NULL; |
| 57 } |
| 58 |
| 59 SkPdfArray* SkPdfMovieActivationDictionary::FWPosition() const { |
| 60 SkPdfArray* ret; |
| 61 if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "FWPosition",
"", &ret)) return ret; |
| 62 // TODO(edisonn): warn about missing required field, assert for known good pdf
s |
| 63 return NULL; |
| 64 } |
| 65 |
OLD | NEW |