blob: 548f91f7a130224c8944191bc6007a4b4b0671f9 [file] [log] [blame]
#include "SkPdfEncryptionCommonDictionary_autogen.h"
std::string SkPdfEncryptionCommonDictionary::Filter() const {
std::string ret;
if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Filter", "", &ret)) return ret;
// TODO(edisonn): warn about missing required field, assert for known good pdfs
return "";
}
double SkPdfEncryptionCommonDictionary::V() const {
double ret;
if (DoubleFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "V", "", &ret)) return ret;
// TODO(edisonn): warn about missing required field, assert for known good pdfs
return 0;
}
long SkPdfEncryptionCommonDictionary::Length() const {
long ret;
if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Length", "", &ret)) return ret;
// TODO(edisonn): warn about missing required field, assert for known good pdfs
return 0;
}