| OLD | NEW |
| 1 #ifndef __DEFINED__SkPdfImageDictionary | 1 #ifndef __DEFINED__SkPdfImageDictionary |
| 2 #define __DEFINED__SkPdfImageDictionary | 2 #define __DEFINED__SkPdfImageDictionary |
| 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 SkPdfImageDictionary : public SkPdfXObjectDictionary { | 8 class SkPdfImageDictionary : public SkPdfXObjectDictionary { |
| 9 public: | 9 public: |
| 10 virtual SkPdfObjectType getType() const { return kObjectDictionaryXObjectDicti
onaryImageDictionary_SkPdfObjectType;} | 10 virtual SkPdfObjectType getType() const { return kImageDictionary_SkPdfObjectT
ype;} |
| 11 virtual SkPdfObjectType getTypeEnd() const { return (SkPdfObjectType)(kObjectD
ictionaryXObjectDictionaryImageDictionary_SkPdfObjectType + 1);} | 11 virtual SkPdfObjectType getTypeEnd() const { return (SkPdfObjectType)(kImageDi
ctionary_SkPdfObjectType + 1);} |
| 12 public: | 12 public: |
| 13 virtual SkPdfImageDictionary* asImageDictionary() {return this;} | 13 virtual SkPdfImageDictionary* asImageDictionary() {return this;} |
| 14 virtual const SkPdfImageDictionary* asImageDictionary() const {return this;} | 14 virtual const SkPdfImageDictionary* asImageDictionary() const {return this;} |
| 15 | 15 |
| 16 private: | 16 private: |
| 17 virtual SkPdfType1FormDictionary* asType1FormDictionary() {return NULL;} | 17 virtual SkPdfType1FormDictionary* asType1FormDictionary() {return NULL;} |
| 18 virtual const SkPdfType1FormDictionary* asType1FormDictionary() const {return
NULL;} | 18 virtual const SkPdfType1FormDictionary* asType1FormDictionary() const {return
NULL;} |
| 19 | 19 |
| 20 public: | 20 public: |
| 21 private: | 21 private: |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 186 SkPdfStream Metadata() const { | 186 SkPdfStream Metadata() const { |
| 187 SkPdfStream ret; | 187 SkPdfStream ret; |
| 188 if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Metadata"
, "", &ret)) return ret; | 188 if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Metadata"
, "", &ret)) return ret; |
| 189 // TODO(edisonn): warn about missing required field, assert for known good p
dfs | 189 // TODO(edisonn): warn about missing required field, assert for known good p
dfs |
| 190 return SkPdfStream(); | 190 return SkPdfStream(); |
| 191 } | 191 } |
| 192 | 192 |
| 193 }; | 193 }; |
| 194 | 194 |
| 195 #endif // __DEFINED__SkPdfImageDictionary | 195 #endif // __DEFINED__SkPdfImageDictionary |
| OLD | NEW |