OLD | NEW |
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 Loading... |
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 |
OLD | NEW |