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

Unified Diff: experimental/PdfViewer/autogen/SkPdfDictionary_autogen.h

Issue 17748002: Basic support for Type3 Fonts in Pdf + various refactorings (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/autogen/SkPdfDictionary_autogen.h
===================================================================
--- experimental/PdfViewer/autogen/SkPdfDictionary_autogen.h (revision 0)
+++ experimental/PdfViewer/autogen/SkPdfDictionary_autogen.h (revision 0)
@@ -0,0 +1,63 @@
+#ifndef __DEFINED__SkPdfDictionary
+#define __DEFINED__SkPdfDictionary
+
+#include "SkPdfUtils.h"
+#include "SkPdfEnums_autogen.h"
+#include "SkPdfArray_autogen.h"
+#include "SkPdfObject_autogen.h"
+
+class SkPdfDictionary : public SkPdfObject {
+public:
+ virtual SkPdfObjectType getType() const { return kDictionary_SkPdfObjectType;}
+ virtual SkPdfObjectType getTypeEnd() const { return kDictionary__End_SkPdfObjectType;}
+public:
+ virtual SkPdfDictionary* asDictionary() {return this;}
+ virtual const SkPdfDictionary* asDictionary() const {return this;}
+
+private:
+ virtual SkPdfArray* asArray() {return NULL;}
+ virtual const SkPdfArray* asArray() const {return NULL;}
+
+ virtual SkPdfBoolean* asBoolean() {return NULL;}
+ virtual const SkPdfBoolean* asBoolean() const {return NULL;}
+
+ virtual SkPdfInteger* asInteger() {return NULL;}
+ virtual const SkPdfInteger* asInteger() const {return NULL;}
+
+ virtual SkPdfNumber* asNumber() {return NULL;}
+ virtual const SkPdfNumber* asNumber() const {return NULL;}
+
+ virtual SkPdfName* asName() {return NULL;}
+ virtual const SkPdfName* asName() const {return NULL;}
+
+ virtual SkPdfNull* asNull() {return NULL;}
+ virtual const SkPdfNull* asNull() const {return NULL;}
+
+ 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;}
+
+ virtual SkPdfHexString* asHexString() {return NULL;}
+ virtual const SkPdfHexString* asHexString() const {return NULL;}
+
+public:
+ SkPdfObject* get(const char* dictionaryKeyName) const {return new SkPdfObject(fPodofoDoc, resolveReferenceObject(fPodofoDoc, fPodofoObj->GetDictionary().GetKey(PdfName(dictionaryKeyName))));}
+ SkPdfObject* get(const char* dictionaryKeyName) {return new SkPdfObject(fPodofoDoc, resolveReferenceObject(fPodofoDoc, fPodofoObj->GetDictionary().GetKey(PdfName(dictionaryKeyName))));}
+private:
+public:
+ SkPdfDictionary(const PdfMemDocument* podofoDoc = NULL, const PdfObject* podofoObj = NULL) : SkPdfObject(podofoDoc, podofoObj) {}
+
+ SkPdfDictionary(const SkPdfDictionary& from) : SkPdfObject(from.fPodofoDoc, from.fPodofoObj) {}
+
+ virtual bool valid() const {return true;}
+
+ SkPdfDictionary& operator=(const SkPdfDictionary& from) {this->fPodofoDoc = from.fPodofoDoc; this->fPodofoObj = from.fPodofoObj; return *this;}
+
+};
+
+#endif // __DEFINED__SkPdfDictionary

Powered by Google App Engine
This is Rietveld 408576698