| OLD | NEW |
| 1 #ifndef __DEFINED__SkPdfString | 1 #ifndef __DEFINED__SkPdfString |
| 2 #define __DEFINED__SkPdfString | 2 #define __DEFINED__SkPdfString |
| 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 SkPdfString : public SkPdfObject { | 8 class SkPdfString : public SkPdfObject { |
| 9 public: | 9 public: |
| 10 virtual SkPdfObjectType getType() const { return kString_SkPdfObjectType;} | 10 virtual SkPdfObjectType getType() const { return kString_SkPdfObjectType;} |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 | 166 |
| 167 virtual SkPdfFontDescriptorDictionary* asFontDescriptorDictionary() {return NU
LL;} | 167 virtual SkPdfFontDescriptorDictionary* asFontDescriptorDictionary() {return NU
LL;} |
| 168 virtual const SkPdfFontDescriptorDictionary* asFontDescriptorDictionary() cons
t {return NULL;} | 168 virtual const SkPdfFontDescriptorDictionary* asFontDescriptorDictionary() cons
t {return NULL;} |
| 169 | 169 |
| 170 virtual SkPdfFontDictionary* asFontDictionary() {return NULL;} | 170 virtual SkPdfFontDictionary* asFontDictionary() {return NULL;} |
| 171 virtual const SkPdfFontDictionary* asFontDictionary() const {return NULL;} | 171 virtual const SkPdfFontDictionary* asFontDictionary() const {return NULL;} |
| 172 | 172 |
| 173 virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;} | 173 virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;} |
| 174 virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {return NULL
;} | 174 virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {return NULL
;} |
| 175 | 175 |
| 176 virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;} | |
| 177 virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {r
eturn NULL;} | |
| 178 | |
| 179 virtual SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;} | 176 virtual SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;} |
| 180 virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {return
NULL;} | 177 virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {return
NULL;} |
| 181 | 178 |
| 179 virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;} |
| 180 virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return
NULL;} |
| 181 |
| 182 virtual SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;} | 182 virtual SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;} |
| 183 virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return
NULL;} | 183 virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return
NULL;} |
| 184 | 184 |
| 185 virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return
NULL;} | 185 virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return
NULL;} |
| 186 virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() co
nst {return NULL;} | 186 virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() co
nst {return NULL;} |
| 187 | 187 |
| 188 virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;} | 188 virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;} |
| 189 virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return
NULL;} | 189 virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {r
eturn NULL;} |
| 190 | 190 |
| 191 virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {retur
n NULL;} | 191 virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {retur
n NULL;} |
| 192 virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary()
const {return NULL;} | 192 virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary()
const {return NULL;} |
| 193 | 193 |
| 194 virtual SkPdfFreeTextAnnotationDictionary* asFreeTextAnnotationDictionary() {r
eturn NULL;} | 194 virtual SkPdfFreeTextAnnotationDictionary* asFreeTextAnnotationDictionary() {r
eturn NULL;} |
| 195 virtual const SkPdfFreeTextAnnotationDictionary* asFreeTextAnnotationDictionar
y() const {return NULL;} | 195 virtual const SkPdfFreeTextAnnotationDictionary* asFreeTextAnnotationDictionar
y() const {return NULL;} |
| 196 | 196 |
| 197 virtual SkPdfFunctionCommonDictionary* asFunctionCommonDictionary() {return NU
LL;} | 197 virtual SkPdfFunctionCommonDictionary* asFunctionCommonDictionary() {return NU
LL;} |
| 198 virtual const SkPdfFunctionCommonDictionary* asFunctionCommonDictionary() cons
t {return NULL;} | 198 virtual const SkPdfFunctionCommonDictionary* asFunctionCommonDictionary() cons
t {return NULL;} |
| 199 | 199 |
| (...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 532 | 532 |
| 533 virtual SkPdfName* asName() {return NULL;} | 533 virtual SkPdfName* asName() {return NULL;} |
| 534 virtual const SkPdfName* asName() const {return NULL;} | 534 virtual const SkPdfName* asName() const {return NULL;} |
| 535 | 535 |
| 536 virtual SkPdfNull* asNull() {return NULL;} | 536 virtual SkPdfNull* asNull() {return NULL;} |
| 537 virtual const SkPdfNull* asNull() const {return NULL;} | 537 virtual const SkPdfNull* asNull() const {return NULL;} |
| 538 | 538 |
| 539 virtual SkPdfReference* asReference() {return NULL;} | 539 virtual SkPdfReference* asReference() {return NULL;} |
| 540 virtual const SkPdfReference* asReference() const {return NULL;} | 540 virtual const SkPdfReference* asReference() const {return NULL;} |
| 541 | 541 |
| 542 virtual SkPdfStream* asStream() {return NULL;} |
| 543 virtual const SkPdfStream* asStream() const {return NULL;} |
| 544 |
| 542 public: | 545 public: |
| 543 const std::string& value() const {return fPodofoObj->GetString().GetStringUtf8
();} | 546 const std::string& value() const {return fPodofoObj->GetString().GetStringUtf8
();} |
| 544 private: | 547 private: |
| 545 public: | 548 public: |
| 546 SkPdfString(const PdfMemDocument* podofoDoc = NULL, const PdfObject* podofoObj
= NULL) : SkPdfObject(podofoDoc, podofoObj) {} | 549 SkPdfString(const PdfMemDocument* podofoDoc = NULL, const PdfObject* podofoObj
= NULL) : SkPdfObject(podofoDoc, podofoObj) {} |
| 547 | 550 |
| 548 virtual bool valid() const {return true;} | 551 virtual bool valid() const {return true;} |
| 549 | 552 |
| 550 SkPdfString& operator=(const SkPdfString& from) {this->fPodofoDoc = from.fPodo
foDoc; this->fPodofoObj = from.fPodofoObj; return *this;} | 553 SkPdfString& operator=(const SkPdfString& from) {this->fPodofoDoc = from.fPodo
foDoc; this->fPodofoObj = from.fPodofoObj; return *this;} |
| 551 | 554 |
| 552 }; | 555 }; |
| 553 | 556 |
| 554 #endif // __DEFINED__SkPdfString | 557 #endif // __DEFINED__SkPdfString |
| OLD | NEW |