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

Side by Side Diff: experimental/PdfViewer/autogen/SkPdfType0FontDictionary_autogen.h

Issue 18117005: more work on pdf fonts, more to come (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 5 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__SkPdfType0FontDictionary 1 #ifndef __DEFINED__SkPdfType0FontDictionary
2 #define __DEFINED__SkPdfType0FontDictionary 2 #define __DEFINED__SkPdfType0FontDictionary
3 3
4 #include "SkPdfUtils.h" 4 #include "SkPdfUtils.h"
5 #include "SkPdfEnums_autogen.h" 5 #include "SkPdfEnums_autogen.h"
6 #include "SkPdfArray_autogen.h" 6 #include "SkPdfArray_autogen.h"
7 #include "SkPdfFontDictionary_autogen.h" 7 #include "SkPdfFontDictionary_autogen.h"
8 8
9 // Entries in a Type 0 font dictionary 9 // Entries in a Type 0 font dictionary
10 class SkPdfType0FontDictionary : public SkPdfFontDictionary { 10 class SkPdfType0FontDictionary : public SkPdfFontDictionary {
11 public: 11 public:
12 virtual SkPdfObjectType getType() const { return kType0FontDictionary_SkPdfObj ectType;} 12 virtual SkPdfObjectType getType() const { return kType0FontDictionary_SkPdfObj ectType;}
13 virtual SkPdfObjectType getTypeEnd() const { return (SkPdfObjectType)(kType0Fo ntDictionary_SkPdfObjectType + 1);} 13 virtual SkPdfObjectType getTypeEnd() const { return (SkPdfObjectType)(kType0Fo ntDictionary_SkPdfObjectType + 1);}
14 public: 14 public:
15 virtual SkPdfType0FontDictionary* asType0FontDictionary() {return this;} 15 virtual SkPdfType0FontDictionary* asType0FontDictionary() {return this;}
16 virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {return this;} 16 virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {return this;}
17 17
18 private: 18 private:
19 virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
20 virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {return NULL ;}
21
22 virtual SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;} 19 virtual SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
23 virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;} 20 virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
24 21
25 virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;} 22 virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
26 virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() co nst {return NULL;} 23 virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() co nst {return NULL;}
27 24
28 virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;} 25 virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
29 virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {r eturn NULL;} 26 virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {r eturn NULL;}
30 27
31 virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;} 28 virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 * Unicode values (see Section 5.9, "ToUnicode CMaps"). 109 * Unicode values (see Section 5.9, "ToUnicode CMaps").
113 **/ 110 **/
114 bool has_ToUnicode() const { 111 bool has_ToUnicode() const {
115 return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "ToUni code", "", NULL)); 112 return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "ToUni code", "", NULL));
116 } 113 }
117 114
118 SkPdfStream* ToUnicode() const; 115 SkPdfStream* ToUnicode() const;
119 }; 116 };
120 117
121 #endif // __DEFINED__SkPdfType0FontDictionary 118 #endif // __DEFINED__SkPdfType0FontDictionary
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698