| OLD | NEW |
| (Empty) |
| 1 #ifndef __DEFINED__SkPdfMultiMasterFontDictionary | |
| 2 #define __DEFINED__SkPdfMultiMasterFontDictionary | |
| 3 | |
| 4 #include "SkPdfUtils.h" | |
| 5 #include "SkPdfEnums_autogen.h" | |
| 6 #include "SkPdfArray_autogen.h" | |
| 7 #include "SkPdfType1FontDictionary_autogen.h" | |
| 8 | |
| 9 class SkPdfMultiMasterFontDictionary : public SkPdfType1FontDictionary { | |
| 10 public: | |
| 11 virtual SkPdfObjectType getType() const { return kMultiMasterFontDictionary_Sk
PdfObjectType;} | |
| 12 virtual SkPdfObjectType getTypeEnd() const { return (SkPdfObjectType)(kMultiMa
sterFontDictionary_SkPdfObjectType + 1);} | |
| 13 public: | |
| 14 virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return
this;} | |
| 15 virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() co
nst {return this;} | |
| 16 | |
| 17 private: | |
| 18 virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;} | |
| 19 virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {r
eturn NULL;} | |
| 20 | |
| 21 virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;} | |
| 22 virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return
NULL;} | |
| 23 | |
| 24 public: | |
| 25 private: | |
| 26 public: | |
| 27 SkPdfMultiMasterFontDictionary(const PdfMemDocument* podofoDoc = NULL, const P
dfObject* podofoObj = NULL) : SkPdfType1FontDictionary(podofoDoc, podofoObj) {} | |
| 28 | |
| 29 SkPdfMultiMasterFontDictionary(const SkPdfMultiMasterFontDictionary& from) : S
kPdfType1FontDictionary(from.fPodofoDoc, from.fPodofoObj) {} | |
| 30 | |
| 31 virtual bool valid() const {return true;} | |
| 32 | |
| 33 SkPdfMultiMasterFontDictionary& operator=(const SkPdfMultiMasterFontDictionary
& from) {this->fPodofoDoc = from.fPodofoDoc; this->fPodofoObj = from.fPodofoObj;
return *this;} | |
| 34 | |
| 35 bool has_Subtype() const { | |
| 36 return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Subty
pe", "", NULL)); | |
| 37 } | |
| 38 | |
| 39 std::string Subtype() const; | |
| 40 }; | |
| 41 | |
| 42 #endif // __DEFINED__SkPdfMultiMasterFontDictionary | |
| OLD | NEW |