OLD | NEW |
1 #ifndef __DEFINED__SkPdfInteger | 1 #ifndef __DEFINED__SkPdfInteger |
2 #define __DEFINED__SkPdfInteger | 2 #define __DEFINED__SkPdfInteger |
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 SkPdfInteger : public SkPdfObject { | 8 class SkPdfInteger : public SkPdfObject { |
9 public: | 9 public: |
10 virtual SkPdfObjectType getType() const { return kInteger_SkPdfObjectType;} | 10 virtual SkPdfObjectType getType() const { return kInteger_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 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
526 | 526 |
527 virtual SkPdfName* asName() {return NULL;} | 527 virtual SkPdfName* asName() {return NULL;} |
528 virtual const SkPdfName* asName() const {return NULL;} | 528 virtual const SkPdfName* asName() const {return NULL;} |
529 | 529 |
530 virtual SkPdfNull* asNull() {return NULL;} | 530 virtual SkPdfNull* asNull() {return NULL;} |
531 virtual const SkPdfNull* asNull() const {return NULL;} | 531 virtual const SkPdfNull* asNull() const {return NULL;} |
532 | 532 |
533 virtual SkPdfReference* asReference() {return NULL;} | 533 virtual SkPdfReference* asReference() {return NULL;} |
534 virtual const SkPdfReference* asReference() const {return NULL;} | 534 virtual const SkPdfReference* asReference() const {return NULL;} |
535 | 535 |
| 536 virtual SkPdfStream* asStream() {return NULL;} |
| 537 virtual const SkPdfStream* asStream() const {return NULL;} |
| 538 |
536 virtual SkPdfString* asString() {return NULL;} | 539 virtual SkPdfString* asString() {return NULL;} |
537 virtual const SkPdfString* asString() const {return NULL;} | 540 virtual const SkPdfString* asString() const {return NULL;} |
538 | 541 |
539 virtual SkPdfHexString* asHexString() {return NULL;} | 542 virtual SkPdfHexString* asHexString() {return NULL;} |
540 virtual const SkPdfHexString* asHexString() const {return NULL;} | 543 virtual const SkPdfHexString* asHexString() const {return NULL;} |
541 | 544 |
542 public: | 545 public: |
543 long value() const {return fPodofoObj->GetNumber();} | 546 long value() const {return fPodofoObj->GetNumber();} |
544 private: | 547 private: |
545 public: | 548 public: |
546 SkPdfInteger(const PdfMemDocument* podofoDoc = NULL, const PdfObject* podofoOb
j = NULL) : SkPdfObject(podofoDoc, podofoObj) {} | 549 SkPdfInteger(const PdfMemDocument* podofoDoc = NULL, const PdfObject* podofoOb
j = NULL) : SkPdfObject(podofoDoc, podofoObj) {} |
547 | 550 |
548 virtual bool valid() const {return true;} | 551 virtual bool valid() const {return true;} |
549 | 552 |
550 SkPdfInteger& operator=(const SkPdfInteger& from) {this->fPodofoDoc = from.fPo
dofoDoc; this->fPodofoObj = from.fPodofoObj; return *this;} | 553 SkPdfInteger& operator=(const SkPdfInteger& from) {this->fPodofoDoc = from.fPo
dofoDoc; this->fPodofoObj = from.fPodofoObj; return *this;} |
551 | 554 |
552 }; | 555 }; |
553 | 556 |
554 #endif // __DEFINED__SkPdfInteger | 557 #endif // __DEFINED__SkPdfInteger |
OLD | NEW |