blob: f05bf2266e36ca94e3f9455391fc43e7c710d460 [file] [log] [blame]
#include "SkPdfSoundObjectDictionary_autogen.h"
std::string SkPdfSoundObjectDictionary::Type() const {
std::string ret;
if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Type", "", &ret)) return ret;
// TODO(edisonn): warn about missing required field, assert for known good pdfs
return "";
}
double SkPdfSoundObjectDictionary::R() const {
double ret;
if (DoubleFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "R", "", &ret)) return ret;
// TODO(edisonn): warn about missing required field, assert for known good pdfs
return 0;
}
long SkPdfSoundObjectDictionary::C() const {
long ret;
if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "C", "", &ret)) return ret;
// TODO(edisonn): warn about missing required field, assert for known good pdfs
return 0;
}
long SkPdfSoundObjectDictionary::B() const {
long ret;
if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "B", "", &ret)) return ret;
// TODO(edisonn): warn about missing required field, assert for known good pdfs
return 0;
}
std::string SkPdfSoundObjectDictionary::E() const {
std::string ret;
if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "E", "", &ret)) return ret;
// TODO(edisonn): warn about missing required field, assert for known good pdfs
return "";
}
std::string SkPdfSoundObjectDictionary::CO() const {
std::string ret;
if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "CO", "", &ret)) return ret;
// TODO(edisonn): warn about missing required field, assert for known good pdfs
return "";
}
SkPdfObject* SkPdfSoundObjectDictionary::CP() const {
SkPdfObject* ret;
if (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "CP", "", &ret)) return ret;
// TODO(edisonn): warn about missing required field, assert for known good pdfs
return NULL;
}