| OLD | NEW |
| 1 #ifndef __DEFINED__SkPdfObject | 1 #ifndef __DEFINED__SkPdfObject |
| 2 #define __DEFINED__SkPdfObject | 2 #define __DEFINED__SkPdfObject |
| 3 | 3 |
| 4 #include "SkPdfEnums_autogen.h" | 4 #include "SkPdfEnums_autogen.h" |
| 5 #include "SkPdfArray_autogen.h" | 5 #include "SkPdfArray_autogen.h" |
| 6 | 6 |
| 7 class SkPdfObject { | 7 class SkPdfObject { |
| 8 public: | 8 public: |
| 9 virtual SkPdfObjectType getType() const { return kObject_SkPdfObjectType;} | 9 virtual SkPdfObjectType getType() const { return kObject_SkPdfObjectType;} |
| 10 virtual SkPdfObjectType getTypeEnd() const { return kObject__End_SkPdfObjectTy
pe;} | 10 virtual SkPdfObjectType getTypeEnd() const { return kObject__End_SkPdfObjectTy
pe;} |
| (...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 515 | 515 |
| 516 virtual SkPdfXObjectDictionary* asXObjectDictionary() {return NULL;} | 516 virtual SkPdfXObjectDictionary* asXObjectDictionary() {return NULL;} |
| 517 virtual const SkPdfXObjectDictionary* asXObjectDictionary() const {return NULL
;} | 517 virtual const SkPdfXObjectDictionary* asXObjectDictionary() const {return NULL
;} |
| 518 | 518 |
| 519 virtual SkPdfImageDictionary* asImageDictionary() {return NULL;} | 519 virtual SkPdfImageDictionary* asImageDictionary() {return NULL;} |
| 520 virtual const SkPdfImageDictionary* asImageDictionary() const {return NULL;} | 520 virtual const SkPdfImageDictionary* asImageDictionary() const {return NULL;} |
| 521 | 521 |
| 522 virtual SkPdfType1FormDictionary* asType1FormDictionary() {return NULL;} | 522 virtual SkPdfType1FormDictionary* asType1FormDictionary() {return NULL;} |
| 523 virtual const SkPdfType1FormDictionary* asType1FormDictionary() const {return
NULL;} | 523 virtual const SkPdfType1FormDictionary* asType1FormDictionary() const {return
NULL;} |
| 524 | 524 |
| 525 virtual SkPdfHexString* asHexString() {return NULL;} | |
| 526 virtual const SkPdfHexString* asHexString() const {return NULL;} | |
| 527 | |
| 528 virtual SkPdfInteger* asInteger() {return NULL;} | 525 virtual SkPdfInteger* asInteger() {return NULL;} |
| 529 virtual const SkPdfInteger* asInteger() const {return NULL;} | 526 virtual const SkPdfInteger* asInteger() const {return NULL;} |
| 530 | 527 |
| 528 virtual SkPdfNumber* asNumber() {return NULL;} |
| 529 virtual const SkPdfNumber* asNumber() const {return NULL;} |
| 530 |
| 531 virtual SkPdfName* asName() {return NULL;} | 531 virtual SkPdfName* asName() {return NULL;} |
| 532 virtual const SkPdfName* asName() const {return NULL;} | 532 virtual const SkPdfName* asName() const {return NULL;} |
| 533 | 533 |
| 534 virtual SkPdfNull* asNull() {return NULL;} | 534 virtual SkPdfNull* asNull() {return NULL;} |
| 535 virtual const SkPdfNull* asNull() const {return NULL;} | 535 virtual const SkPdfNull* asNull() const {return NULL;} |
| 536 | 536 |
| 537 virtual SkPdfNumber* asNumber() {return NULL;} | |
| 538 virtual const SkPdfNumber* asNumber() const {return NULL;} | |
| 539 | |
| 540 virtual SkPdfReference* asReference() {return NULL;} | 537 virtual SkPdfReference* asReference() {return NULL;} |
| 541 virtual const SkPdfReference* asReference() const {return NULL;} | 538 virtual const SkPdfReference* asReference() const {return NULL;} |
| 542 | 539 |
| 543 virtual SkPdfString* asString() {return NULL;} | 540 virtual SkPdfString* asString() {return NULL;} |
| 544 virtual const SkPdfString* asString() const {return NULL;} | 541 virtual const SkPdfString* asString() const {return NULL;} |
| 545 | 542 |
| 543 virtual SkPdfHexString* asHexString() {return NULL;} |
| 544 virtual const SkPdfHexString* asHexString() const {return NULL;} |
| 545 |
| 546 public: | 546 public: |
| 547 private: | 547 private: |
| 548 protected: | 548 protected: |
| 549 const PdfMemDocument* fPodofoDoc; | 549 const PdfMemDocument* fPodofoDoc; |
| 550 const PdfObject* fPodofoObj; | 550 const PdfObject* fPodofoObj; |
| 551 | 551 |
| 552 public: | 552 public: |
| 553 SkPdfObject(const PdfMemDocument* podofoDoc = NULL, const PdfObject* podofoObj
= NULL) : fPodofoDoc(podofoDoc), fPodofoObj(podofoObj) {} | 553 SkPdfObject(const PdfMemDocument* podofoDoc = NULL, const PdfObject* podofoObj
= NULL) : fPodofoDoc(podofoDoc), fPodofoObj(podofoObj) {} |
| 554 const PdfMemDocument* doc() const { return fPodofoDoc;} | 554 const PdfMemDocument* doc() const { return fPodofoDoc;} |
| 555 const PdfObject* podofo() const { return fPodofoObj;} | 555 const PdfObject* podofo() const { return fPodofoObj;} |
| 556 virtual bool valid() const {return true;} | 556 virtual bool valid() const {return true;} |
| 557 | 557 |
| 558 SkPdfObject& operator=(const SkPdfObject& from) {this->fPodofoDoc = from.fPodo
foDoc; this->fPodofoObj = from.fPodofoObj; return *this;} | 558 SkPdfObject& operator=(const SkPdfObject& from) {this->fPodofoDoc = from.fPodo
foDoc; this->fPodofoObj = from.fPodofoObj; return *this;} |
| 559 | 559 |
| 560 }; | 560 }; |
| 561 | 561 |
| 562 #endif // __DEFINED__SkPdfObject | 562 #endif // __DEFINED__SkPdfObject |
| OLD | NEW |