1/*
2 * Copyright 2013 Google Inc.
3
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7
8#ifndef SkPdfMultiMasterFontDictionary_DEFINED
9#define SkPdfMultiMasterFontDictionary_DEFINED
10
11#include "SkPdfType1FontDictionary_autogen.h"
12
13class SkPdfMultiMasterFontDictionary : public SkPdfType1FontDictionary {
14public:
15public:
16   SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return this;}
17   const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return this;}
18
19private:
20   SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return (SkPdfTrueTypeFontDictionary*)this;}
21   const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return (const SkPdfTrueTypeFontDictionary*)this;}
22
23   SkPdfType3FontDictionary* asType3FontDictionary() {return (SkPdfType3FontDictionary*)this;}
24   const SkPdfType3FontDictionary* asType3FontDictionary() const {return (const SkPdfType3FontDictionary*)this;}
25
26public:
27   bool valid() const {return true;}
28  SkString Subtype(SkPdfNativeDoc* doc);
29  bool has_Subtype() const;
30};
31
32#endif  // SkPdfMultiMasterFontDictionary_DEFINED
33