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

Unified Diff: experimental/PdfViewer/SkPdfArray_autogen.h

Issue 17294008: load font manually, for now Type0 (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 6 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/SkPdfArray_autogen.h
===================================================================
--- experimental/PdfViewer/SkPdfArray_autogen.h (revision 9684)
+++ experimental/PdfViewer/SkPdfArray_autogen.h (working copy)
@@ -170,20 +170,20 @@
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {return NULL;}
- virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
- virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
-
virtual SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {return NULL;}
+ virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
+ virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
+
virtual SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
- virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
- virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
+ virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
+ virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
@@ -536,6 +536,9 @@
virtual SkPdfReference* asReference() {return NULL;}
virtual const SkPdfReference* asReference() const {return NULL;}
+ virtual SkPdfStream* asStream() {return NULL;}
+ virtual const SkPdfStream* asStream() const {return NULL;}
+
virtual SkPdfString* asString() {return NULL;}
virtual const SkPdfString* asString() const {return NULL;}
@@ -544,8 +547,7 @@
public:
const int size() const {return fPodofoObj->GetArray().GetSize();}
- const SkPdfObject operator[](int i) const {return SkPdfObject(fPodofoDoc, &fPodofoObj->GetArray()[i]);}
- SkPdfObject operator[](int i) {return SkPdfObject(fPodofoDoc, &fPodofoObj->GetArray()[i]);}
+ SkPdfObject* operator[](int i) const {return new SkPdfObject(fPodofoDoc, &fPodofoObj->GetArray()[i]);}
private:
public:
SkPdfArray(const PdfMemDocument* podofoDoc = NULL, const PdfObject* podofoObj = NULL) : SkPdfObject(podofoDoc, podofoObj) {}

Powered by Google App Engine
This is Rietveld 408576698