blob: cb95ec81664bb231c97b1e37bd7c9643e85d63d9 [file] [log] [blame]
#include "SkPdfHideActionDictionary_autogen.h"
std::string SkPdfHideActionDictionary::S() const {
std::string ret;
if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "S", "", &ret)) return ret;
// TODO(edisonn): warn about missing required field, assert for known good pdfs
return "";
}
SkPdfDictionary* SkPdfHideActionDictionary::getTAsDictionary() const {
SkPdfDictionary* ret = NULL;
if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "T", "", &ret)) return ret;
// TODO(edisonn): warn about missing required field, assert for known good pdfs
return NULL;
}
std::string SkPdfHideActionDictionary::getTAsString() const {
std::string ret = "";
if (StringFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "T", "", &ret)) return ret;
// TODO(edisonn): warn about missing required field, assert for known good pdfs
return "";
}
SkPdfArray* SkPdfHideActionDictionary::getTAsArray() const {
SkPdfArray* ret = NULL;
if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "T", "", &ret)) return ret;
// TODO(edisonn): warn about missing required field, assert for known good pdfs
return NULL;
}
bool SkPdfHideActionDictionary::H() const {
bool ret;
if (BoolFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "H", "", &ret)) return ret;
// TODO(edisonn): warn about missing required field, assert for known good pdfs
return false;
}