| #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; |
| } |