| #include "SkPdfVariableTextFieldDictionary_autogen.h" |
| |
| SkPdfDictionary* SkPdfVariableTextFieldDictionary::DR() const { |
| SkPdfDictionary* ret; |
| if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "DR", "", &ret)) return ret; |
| // TODO(edisonn): warn about missing required field, assert for known good pdfs |
| return NULL; |
| } |
| |
| std::string SkPdfVariableTextFieldDictionary::DA() const { |
| std::string ret; |
| if (StringFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "DA", "", &ret)) return ret; |
| // TODO(edisonn): warn about missing required field, assert for known good pdfs |
| return ""; |
| } |
| |
| long SkPdfVariableTextFieldDictionary::Q() const { |
| long ret; |
| if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Q", "", &ret)) return ret; |
| // TODO(edisonn): warn about missing required field, assert for known good pdfs |
| return 0; |
| } |