| OLD | NEW |
| 1 #ifndef __DEFINED__SkPdfType1FormDictionary | 1 #ifndef __DEFINED__SkPdfType1FormDictionary |
| 2 #define __DEFINED__SkPdfType1FormDictionary | 2 #define __DEFINED__SkPdfType1FormDictionary |
| 3 | 3 |
| 4 #include "SkPdfEnums_autogen.h" | 4 #include "SkPdfEnums_autogen.h" |
| 5 #include "SkPdfArray_autogen.h" | 5 #include "SkPdfArray_autogen.h" |
| 6 #include "SkPdfXObjectDictionary_autogen.h" | 6 #include "SkPdfXObjectDictionary_autogen.h" |
| 7 | 7 |
| 8 class SkPdfType1FormDictionary : public SkPdfXObjectDictionary { | 8 class SkPdfType1FormDictionary : public SkPdfXObjectDictionary { |
| 9 public: | 9 public: |
| 10 virtual SkPdfObjectType getType() const { return kObjectDictionaryXObjectDicti
onaryType1FormDictionary_SkPdfObjectType;} | 10 virtual SkPdfObjectType getType() const { return kType1FormDictionary_SkPdfObj
ectType;} |
| 11 virtual SkPdfObjectType getTypeEnd() const { return (SkPdfObjectType)(kObjectD
ictionaryXObjectDictionaryType1FormDictionary_SkPdfObjectType + 1);} | 11 virtual SkPdfObjectType getTypeEnd() const { return (SkPdfObjectType)(kType1Fo
rmDictionary_SkPdfObjectType + 1);} |
| 12 public: | 12 public: |
| 13 virtual SkPdfType1FormDictionary* asType1FormDictionary() {return this;} | 13 virtual SkPdfType1FormDictionary* asType1FormDictionary() {return this;} |
| 14 virtual const SkPdfType1FormDictionary* asType1FormDictionary() const {return
this;} | 14 virtual const SkPdfType1FormDictionary* asType1FormDictionary() const {return
this;} |
| 15 | 15 |
| 16 private: | 16 private: |
| 17 virtual SkPdfImageDictionary* asImageDictionary() {return NULL;} | 17 virtual SkPdfImageDictionary* asImageDictionary() {return NULL;} |
| 18 virtual const SkPdfImageDictionary* asImageDictionary() const {return NULL;} | 18 virtual const SkPdfImageDictionary* asImageDictionary() const {return NULL;} |
| 19 | 19 |
| 20 public: | 20 public: |
| 21 private: | 21 private: |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 SkPdfDictionary* OPI() const { | 127 SkPdfDictionary* OPI() const { |
| 128 SkPdfDictionary* ret; | 128 SkPdfDictionary* ret; |
| 129 if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "OPI",
"", &ret)) return ret; | 129 if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "OPI",
"", &ret)) return ret; |
| 130 // TODO(edisonn): warn about missing required field, assert for known good p
dfs | 130 // TODO(edisonn): warn about missing required field, assert for known good p
dfs |
| 131 return NULL; | 131 return NULL; |
| 132 } | 132 } |
| 133 | 133 |
| 134 }; | 134 }; |
| 135 | 135 |
| 136 #endif // __DEFINED__SkPdfType1FormDictionary | 136 #endif // __DEFINED__SkPdfType1FormDictionary |
| OLD | NEW |