OLD | NEW |
(Empty) | |
| 1 #include "SkPdfEncryptedEmbeddedFileStreamDictionary_autogen.h" |
| 2 |
| 3 |
| 4 #include "SkPdfNativeDoc.h" |
| 5 int64_t SkPdfEncryptedEmbeddedFileStreamDictionary::EncryptionRevision(SkPdfNati
veDoc* doc) { |
| 6 SkPdfNativeObject* ret = get("EncryptionRevision", ""); |
| 7 if (doc) {ret = doc->resolveReference(ret);} |
| 8 if ((ret != NULL && ret->isInteger()) || (doc == NULL && ret != NULL && ret->i
sReference())) return ret->intValue(); |
| 9 // TODO(edisonn): warn about missing default value for optional fields |
| 10 return 0; |
| 11 } |
| 12 |
| 13 bool SkPdfEncryptedEmbeddedFileStreamDictionary::has_EncryptionRevision() const
{ |
| 14 return get("EncryptionRevision", "") != NULL; |
| 15 } |
| 16 |
OLD | NEW |