OLD | NEW |
1 #ifndef __DEFINED__SkPdfName | 1 #ifndef __DEFINED__SkPdfName |
2 #define __DEFINED__SkPdfName | 2 #define __DEFINED__SkPdfName |
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 SkPdfName : public SkPdfObject { | 8 class SkPdfName : public SkPdfObject { |
9 public: | 9 public: |
10 virtual SkPdfObjectType getType() const { return kName_SkPdfObjectType;} | 10 virtual SkPdfObjectType getType() const { return kName_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 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
529 | 529 |
530 virtual SkPdfNumber* asNumber() {return NULL;} | 530 virtual SkPdfNumber* asNumber() {return NULL;} |
531 virtual const SkPdfNumber* asNumber() const {return NULL;} | 531 virtual const SkPdfNumber* asNumber() const {return NULL;} |
532 | 532 |
533 virtual SkPdfNull* asNull() {return NULL;} | 533 virtual SkPdfNull* asNull() {return NULL;} |
534 virtual const SkPdfNull* asNull() const {return NULL;} | 534 virtual const SkPdfNull* asNull() const {return NULL;} |
535 | 535 |
536 virtual SkPdfReference* asReference() {return NULL;} | 536 virtual SkPdfReference* asReference() {return NULL;} |
537 virtual const SkPdfReference* asReference() const {return NULL;} | 537 virtual const SkPdfReference* asReference() const {return NULL;} |
538 | 538 |
| 539 virtual SkPdfStream* asStream() {return NULL;} |
| 540 virtual const SkPdfStream* asStream() const {return NULL;} |
| 541 |
539 virtual SkPdfString* asString() {return NULL;} | 542 virtual SkPdfString* asString() {return NULL;} |
540 virtual const SkPdfString* asString() const {return NULL;} | 543 virtual const SkPdfString* asString() const {return NULL;} |
541 | 544 |
542 virtual SkPdfHexString* asHexString() {return NULL;} | 545 virtual SkPdfHexString* asHexString() {return NULL;} |
543 virtual const SkPdfHexString* asHexString() const {return NULL;} | 546 virtual const SkPdfHexString* asHexString() const {return NULL;} |
544 | 547 |
545 public: | 548 public: |
546 const std::string& value() const {return fPodofoObj->GetName().GetName();} | 549 const std::string& value() const {return fPodofoObj->GetName().GetName();} |
547 private: | 550 private: |
548 public: | 551 public: |
549 SkPdfName(const PdfMemDocument* podofoDoc = NULL, const PdfObject* podofoObj =
NULL) : SkPdfObject(podofoDoc, podofoObj) {} | 552 SkPdfName(const PdfMemDocument* podofoDoc = NULL, const PdfObject* podofoObj =
NULL) : SkPdfObject(podofoDoc, podofoObj) {} |
550 | 553 |
551 virtual bool valid() const {return true;} | 554 virtual bool valid() const {return true;} |
552 | 555 |
553 SkPdfName& operator=(const SkPdfName& from) {this->fPodofoDoc = from.fPodofoDo
c; this->fPodofoObj = from.fPodofoObj; return *this;} | 556 SkPdfName& operator=(const SkPdfName& from) {this->fPodofoDoc = from.fPodofoDo
c; this->fPodofoObj = from.fPodofoObj; return *this;} |
554 | 557 |
555 }; | 558 }; |
556 | 559 |
557 #endif // __DEFINED__SkPdfName | 560 #endif // __DEFINED__SkPdfName |
OLD | NEW |