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

Side by Side Diff: experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfType3FontDictionary_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__SkPdfType3FontDictionary
2 #define __DEFINED__SkPdfType3FontDictionary
3
4 #include "SkPdfType1FontDictionary_autogen.h"
5
6 // Entries in a Type 3 font dictionary
7 class SkPdfType3FontDictionary : public SkPdfType1FontDictionary {
8 public:
9 public:
10 SkPdfType3FontDictionary* asType3FontDictionary() {return this;}
11 const SkPdfType3FontDictionary* asType3FontDictionary() const {return this;}
12
13 private:
14 SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return (SkPdfM ultiMasterFontDictionary*)this;}
15 const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {re turn (const SkPdfMultiMasterFontDictionary*)this;}
16
17 SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return (SkPdfTrueTyp eFontDictionary*)this;}
18 const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return ( const SkPdfTrueTypeFontDictionary*)this;}
19
20 public:
21 bool valid() const {return true;}
22 SkString Type(SkPdfNativeDoc* doc);
23 bool has_Type() const;
24 SkString Subtype(SkPdfNativeDoc* doc);
25 bool has_Subtype() const;
26 SkString Name(SkPdfNativeDoc* doc);
27 bool has_Name() const;
28 SkRect FontBBox(SkPdfNativeDoc* doc);
29 bool has_FontBBox() const;
30 SkMatrix FontMatrix(SkPdfNativeDoc* doc);
31 bool has_FontMatrix() const;
32 SkPdfDictionary* CharProcs(SkPdfNativeDoc* doc);
33 bool has_CharProcs() const;
34 bool isEncodingAName(SkPdfNativeDoc* doc);
35 SkString getEncodingAsName(SkPdfNativeDoc* doc);
36 bool isEncodingAEncodingdictionary(SkPdfNativeDoc* doc);
37 SkPdfEncodingDictionary* getEncodingAsEncodingdictionary(SkPdfNativeDoc* doc);
38 bool has_Encoding() const;
39 int64_t FirstChar(SkPdfNativeDoc* doc);
40 bool has_FirstChar() const;
41 int64_t LastChar(SkPdfNativeDoc* doc);
42 bool has_LastChar() const;
43 SkPdfArray* Widths(SkPdfNativeDoc* doc);
44 bool has_Widths() const;
45 SkPdfResourceDictionary* Resources(SkPdfNativeDoc* doc);
46 bool has_Resources() const;
47 SkPdfStream* ToUnicode(SkPdfNativeDoc* doc);
48 bool has_ToUnicode() const;
49 };
50
51 #endif // __DEFINED__NATIVE_SkPdfType3FontDictionary
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698