OLD | NEW |
1 #ifndef __DEFINED__SkPdfDictionary | 1 #ifndef __DEFINED__SkPdfDictionary |
2 #define __DEFINED__SkPdfDictionary | 2 #define __DEFINED__SkPdfDictionary |
3 | 3 |
4 #include "SkPdfEnums_autogen.h" | 4 #include "SkPdfEnums_autogen.h" |
5 #include "SkPdfArray_autogen.h" | 5 #include "SkPdfArray_autogen.h" |
6 #include "SkPdfObject_autogen.h" | 6 #include "SkPdfObject_autogen.h" |
7 | 7 |
8 class SkPdfDictionary : public SkPdfObject { | 8 class SkPdfDictionary : public SkPdfObject { |
9 public: | 9 public: |
10 virtual SkPdfObjectType getType() const { return kDictionary_SkPdfObjectType;} | 10 virtual SkPdfObjectType getType() const { return kDictionary_SkPdfObjectType;} |
(...skipping 17 matching lines...) Expand all Loading... |
28 | 28 |
29 virtual SkPdfName* asName() {return NULL;} | 29 virtual SkPdfName* asName() {return NULL;} |
30 virtual const SkPdfName* asName() const {return NULL;} | 30 virtual const SkPdfName* asName() const {return NULL;} |
31 | 31 |
32 virtual SkPdfNull* asNull() {return NULL;} | 32 virtual SkPdfNull* asNull() {return NULL;} |
33 virtual const SkPdfNull* asNull() const {return NULL;} | 33 virtual const SkPdfNull* asNull() const {return NULL;} |
34 | 34 |
35 virtual SkPdfReference* asReference() {return NULL;} | 35 virtual SkPdfReference* asReference() {return NULL;} |
36 virtual const SkPdfReference* asReference() const {return NULL;} | 36 virtual const SkPdfReference* asReference() const {return NULL;} |
37 | 37 |
| 38 virtual SkPdfStream* asStream() {return NULL;} |
| 39 virtual const SkPdfStream* asStream() const {return NULL;} |
| 40 |
38 virtual SkPdfString* asString() {return NULL;} | 41 virtual SkPdfString* asString() {return NULL;} |
39 virtual const SkPdfString* asString() const {return NULL;} | 42 virtual const SkPdfString* asString() const {return NULL;} |
40 | 43 |
41 virtual SkPdfHexString* asHexString() {return NULL;} | 44 virtual SkPdfHexString* asHexString() {return NULL;} |
42 virtual const SkPdfHexString* asHexString() const {return NULL;} | 45 virtual const SkPdfHexString* asHexString() const {return NULL;} |
43 | 46 |
44 public: | 47 public: |
45 const SkPdfObject get(const char* dictionaryKeyName) const {return SkPdfObject
(fPodofoDoc, resolveReferenceObject(fPodofoDoc, fPodofoObj->GetDictionary().GetK
ey(PdfName(dictionaryKeyName))));} | 48 const SkPdfObject get(const char* dictionaryKeyName) const {return SkPdfObject
(fPodofoDoc, resolveReferenceObject(fPodofoDoc, fPodofoObj->GetDictionary().GetK
ey(PdfName(dictionaryKeyName))));} |
46 SkPdfObject get(const char* dictionaryKeyName) {return SkPdfObject(fPodofoDoc,
resolveReferenceObject(fPodofoDoc, fPodofoObj->GetDictionary().GetKey(PdfName(d
ictionaryKeyName))));} | 49 SkPdfObject get(const char* dictionaryKeyName) {return SkPdfObject(fPodofoDoc,
resolveReferenceObject(fPodofoDoc, fPodofoObj->GetDictionary().GetKey(PdfName(d
ictionaryKeyName))));} |
47 private: | 50 private: |
48 public: | 51 public: |
49 SkPdfDictionary(const PdfMemDocument* podofoDoc = NULL, const PdfObject* podof
oObj = NULL) : SkPdfObject(podofoDoc, podofoObj) {} | 52 SkPdfDictionary(const PdfMemDocument* podofoDoc = NULL, const PdfObject* podof
oObj = NULL) : SkPdfObject(podofoDoc, podofoObj) {} |
50 | 53 |
51 virtual bool valid() const {return true;} | 54 virtual bool valid() const {return true;} |
52 | 55 |
53 SkPdfDictionary& operator=(const SkPdfDictionary& from) {this->fPodofoDoc = fr
om.fPodofoDoc; this->fPodofoObj = from.fPodofoObj; return *this;} | 56 SkPdfDictionary& operator=(const SkPdfDictionary& from) {this->fPodofoDoc = fr
om.fPodofoDoc; this->fPodofoObj = from.fPodofoObj; return *this;} |
54 | 57 |
55 }; | 58 }; |
56 | 59 |
57 #endif // __DEFINED__SkPdfDictionary | 60 #endif // __DEFINED__SkPdfDictionary |
OLD | NEW |