Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(624)

Side by Side Diff: experimental/PdfViewer/SkPdfNull_autogen.h

Issue 17294008: load font manually, for now Type0 (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 #ifndef __DEFINED__SkPdfNull 1 #ifndef __DEFINED__SkPdfNull
2 #define __DEFINED__SkPdfNull 2 #define __DEFINED__SkPdfNull
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 SkPdfNull : public SkPdfObject { 8 class SkPdfNull : public SkPdfObject {
9 public: 9 public:
10 virtual SkPdfObjectType getType() const { return kNull_SkPdfObjectType;} 10 virtual SkPdfObjectType getType() const { return kNull_SkPdfObjectType;}
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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 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 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 private: 549 private:
547 public: 550 public:
548 SkPdfNull(const PdfMemDocument* podofoDoc = NULL, const PdfObject* podofoObj = NULL) : SkPdfObject(podofoDoc, podofoObj) {} 551 SkPdfNull(const PdfMemDocument* podofoDoc = NULL, const PdfObject* podofoObj = NULL) : SkPdfObject(podofoDoc, podofoObj) {}
549 552
550 virtual bool valid() const {return true;} 553 virtual bool valid() const {return true;}
551 554
552 SkPdfNull& operator=(const SkPdfNull& from) {this->fPodofoDoc = from.fPodofoDo c; this->fPodofoObj = from.fPodofoObj; return *this;} 555 SkPdfNull& operator=(const SkPdfNull& from) {this->fPodofoDoc = from.fPodofoDo c; this->fPodofoObj = from.fPodofoObj; return *this;}
553 556
554 }; 557 };
555 558
556 #endif // __DEFINED__SkPdfNull 559 #endif // __DEFINED__SkPdfNull
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698