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

Unified Diff: experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfType1FontDictionary_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 side-by-side diff with in-line comments
Download patch
Index: experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfType1FontDictionary_autogen.h
===================================================================
--- experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfType1FontDictionary_autogen.h (revision 0)
+++ experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfType1FontDictionary_autogen.h (revision 0)
@@ -0,0 +1,44 @@
+#ifndef __DEFINED__SkPdfType1FontDictionary
+#define __DEFINED__SkPdfType1FontDictionary
+
+#include "SkPdfFontDictionary_autogen.h"
+
+// Entries in a Type 1 font dictionary
+class SkPdfType1FontDictionary : public SkPdfFontDictionary {
+public:
+public:
+ SkPdfType1FontDictionary* asType1FontDictionary() {return this;}
+ const SkPdfType1FontDictionary* asType1FontDictionary() const {return this;}
+
+private:
+ SkPdfType0FontDictionary* asType0FontDictionary() {return (SkPdfType0FontDictionary*)this;}
+ const SkPdfType0FontDictionary* asType0FontDictionary() const {return (const SkPdfType0FontDictionary*)this;}
+
+public:
+ bool valid() const {return true;}
+ SkString Type(SkPdfNativeDoc* doc);
+ bool has_Type() const;
+ SkString Subtype(SkPdfNativeDoc* doc);
+ bool has_Subtype() const;
+ SkString Name(SkPdfNativeDoc* doc);
+ bool has_Name() const;
+ SkString BaseFont(SkPdfNativeDoc* doc);
+ bool has_BaseFont() const;
+ int64_t FirstChar(SkPdfNativeDoc* doc);
+ bool has_FirstChar() const;
+ int64_t LastChar(SkPdfNativeDoc* doc);
+ bool has_LastChar() const;
+ SkPdfArray* Widths(SkPdfNativeDoc* doc);
+ bool has_Widths() const;
+ SkPdfFontDescriptorDictionary* FontDescriptor(SkPdfNativeDoc* doc);
+ bool has_FontDescriptor() const;
+ bool isEncodingAName(SkPdfNativeDoc* doc);
+ SkString getEncodingAsName(SkPdfNativeDoc* doc);
+ bool isEncodingADictionary(SkPdfNativeDoc* doc);
+ SkPdfDictionary* getEncodingAsDictionary(SkPdfNativeDoc* doc);
+ bool has_Encoding() const;
+ SkPdfStream* ToUnicode(SkPdfNativeDoc* doc);
+ bool has_ToUnicode() const;
+};
+
+#endif // __DEFINED__NATIVE_SkPdfType1FontDictionary

Powered by Google App Engine
This is Rietveld 408576698