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

Side by Side Diff: experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfType0FontDictionary_autogen.h

Issue 22900010: pdfviewer: check in pdfapi classes (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 4 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
(Empty)
1 #ifndef __DEFINED__SkPdfType0FontDictionary
2 #define __DEFINED__SkPdfType0FontDictionary
3
4 #include "SkPdfFontDictionary_autogen.h"
5
6 // Entries in a Type 0 font dictionary
7 class SkPdfType0FontDictionary : public SkPdfFontDictionary {
8 public:
9 public:
10 SkPdfType0FontDictionary* asType0FontDictionary() {return this;}
11 const SkPdfType0FontDictionary* asType0FontDictionary() const {return this;}
12
13 private:
14 SkPdfType1FontDictionary* asType1FontDictionary() {return (SkPdfType1FontDict ionary*)this;}
15 const SkPdfType1FontDictionary* asType1FontDictionary() const {return (const SkPdfType1FontDictionary*)this;}
16
17 SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return (SkPdfM ultiMasterFontDictionary*)this;}
18 const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {re turn (const SkPdfMultiMasterFontDictionary*)this;}
19
20 SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return (SkPdfTrueTyp eFontDictionary*)this;}
21 const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return ( const SkPdfTrueTypeFontDictionary*)this;}
22
23 SkPdfType3FontDictionary* asType3FontDictionary() {return (SkPdfType3FontDict ionary*)this;}
24 const SkPdfType3FontDictionary* asType3FontDictionary() const {return (const SkPdfType3FontDictionary*)this;}
25
26 public:
27 bool valid() const {return true;}
28 SkString Type(SkPdfNativeDoc* doc);
29 bool has_Type() const;
30 SkString Subtype(SkPdfNativeDoc* doc);
31 bool has_Subtype() const;
32 SkString BaseFont(SkPdfNativeDoc* doc);
33 bool has_BaseFont() const;
34 bool isEncodingAName(SkPdfNativeDoc* doc);
35 SkString getEncodingAsName(SkPdfNativeDoc* doc);
36 bool isEncodingAStream(SkPdfNativeDoc* doc);
37 SkPdfStream* getEncodingAsStream(SkPdfNativeDoc* doc);
38 bool has_Encoding() const;
39 SkPdfArray* DescendantFonts(SkPdfNativeDoc* doc);
40 bool has_DescendantFonts() const;
41 SkPdfStream* ToUnicode(SkPdfNativeDoc* doc);
42 bool has_ToUnicode() const;
43 };
44
45 #endif // __DEFINED__NATIVE_SkPdfType0FontDictionary
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698