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

Side by Side Diff: experimental/PdfViewer/SkPdfType1FormDictionary_autogen.h

Issue 17395005: put each generated pdf api class in a file (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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 #ifndef __DEFINED__SkPdfType1FormDictionary 1 #ifndef __DEFINED__SkPdfType1FormDictionary
2 #define __DEFINED__SkPdfType1FormDictionary 2 #define __DEFINED__SkPdfType1FormDictionary
3 3
4 #include "SkPdfEnums_autogen.h" 4 #include "SkPdfEnums_autogen.h"
5 #include "SkPdfArray_autogen.h" 5 #include "SkPdfArray_autogen.h"
6 #include "SkPdfXObjectDictionary_autogen.h" 6 #include "SkPdfXObjectDictionary_autogen.h"
7 7
8 class SkPdfType1FormDictionary : public SkPdfXObjectDictionary { 8 class SkPdfType1FormDictionary : public SkPdfXObjectDictionary {
9 public: 9 public:
10 virtual SkPdfObjectType getType() const { return kObjectDictionaryXObjectDicti onaryType1FormDictionary_SkPdfObjectType;} 10 virtual SkPdfObjectType getType() const { return kType1FormDictionary_SkPdfObj ectType;}
11 virtual SkPdfObjectType getTypeEnd() const { return (SkPdfObjectType)(kObjectD ictionaryXObjectDictionaryType1FormDictionary_SkPdfObjectType + 1);} 11 virtual SkPdfObjectType getTypeEnd() const { return (SkPdfObjectType)(kType1Fo rmDictionary_SkPdfObjectType + 1);}
12 public: 12 public:
13 virtual SkPdfType1FormDictionary* asType1FormDictionary() {return this;} 13 virtual SkPdfType1FormDictionary* asType1FormDictionary() {return this;}
14 virtual const SkPdfType1FormDictionary* asType1FormDictionary() const {return this;} 14 virtual const SkPdfType1FormDictionary* asType1FormDictionary() const {return this;}
15 15
16 private: 16 private:
17 virtual SkPdfImageDictionary* asImageDictionary() {return NULL;} 17 virtual SkPdfImageDictionary* asImageDictionary() {return NULL;}
18 virtual const SkPdfImageDictionary* asImageDictionary() const {return NULL;} 18 virtual const SkPdfImageDictionary* asImageDictionary() const {return NULL;}
19 19
20 public: 20 public:
21 private: 21 private:
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 SkPdfDictionary* OPI() const { 127 SkPdfDictionary* OPI() const {
128 SkPdfDictionary* ret; 128 SkPdfDictionary* ret;
129 if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "OPI", "", &ret)) return ret; 129 if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "OPI", "", &ret)) return ret;
130 // TODO(edisonn): warn about missing required field, assert for known good p dfs 130 // TODO(edisonn): warn about missing required field, assert for known good p dfs
131 return NULL; 131 return NULL;
132 } 132 }
133 133
134 }; 134 };
135 135
136 #endif // __DEFINED__SkPdfType1FormDictionary 136 #endif // __DEFINED__SkPdfType1FormDictionary
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698