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

Side by Side Diff: experimental/PdfViewer/pdfparser/podofo/autogen/SkPdfPodofoMapper_autogen.cpp

Issue 18179007: refactor folders to make prepare for native pdf parser (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 5 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 #include "SkPdfPodofoMapper_autogen.h" 1 #include "SkPdfPodofoMapper_autogen.h"
2 bool mapObject(const SkPdfObject& in, SkPdfObject** out) { 2 bool mapObject(const SkPdfObject& in, SkPdfObject** out) {
3 return mapObject(*in.doc(), *in.podofo(), out); 3 return mapObject(*in.doc(), *in.podofo(), out);
4 } 4 }
5 5
6 bool mapObject(const PdfMemDocument& podofoDoc, const PdfObject& podofoObj, SkPd fObject** out) { 6 bool mapObject(const PdfMemDocument& podofoDoc, const PdfObject& podofoObj, SkPd fObject** out) {
7 if (!isObject(podofoDoc, podofoObj)) return false; 7 if (!isObject(podofoDoc, podofoObj)) return false;
8 8
9 if (mapArray(podofoDoc, podofoObj, (SkPdfArray**)out)) return true; 9 if (mapArray(podofoDoc, podofoObj, (SkPdfArray**)out)) return true;
10 if (mapBoolean(podofoDoc, podofoObj, (SkPdfBoolean**)out)) return true; 10 if (mapBoolean(podofoDoc, podofoObj, (SkPdfBoolean**)out)) return true;
(...skipping 5394 matching lines...) Expand 10 before | Expand all | Expand 10 after
5405 if (value == NULL) { return false; } 5405 if (value == NULL) { return false; }
5406 if (data == NULL) { return true; } 5406 if (data == NULL) { return true; }
5407 return mapMultiMasterFontDictionary(*pdfDoc, *value, (SkPdfMultiMasterFontDict ionary**)data); 5407 return mapMultiMasterFontDictionary(*pdfDoc, *value, (SkPdfMultiMasterFontDict ionary**)data);
5408 } 5408 }
5409 5409
5410 bool MultiMasterFontDictionaryFromDictionary(const PdfMemDocument* pdfDoc, const PdfDictionary& dict, const char* key, const char* abr, SkPdfMultiMasterFontDict ionary** data) { 5410 bool MultiMasterFontDictionaryFromDictionary(const PdfMemDocument* pdfDoc, const PdfDictionary& dict, const char* key, const char* abr, SkPdfMultiMasterFontDict ionary** data) {
5411 if (MultiMasterFontDictionaryFromDictionary(pdfDoc, dict, key, data)) return t rue; 5411 if (MultiMasterFontDictionaryFromDictionary(pdfDoc, dict, key, data)) return t rue;
5412 if (abr == NULL || *abr == '\0') return false; 5412 if (abr == NULL || *abr == '\0') return false;
5413 return MultiMasterFontDictionaryFromDictionary(pdfDoc, dict, abr, data); 5413 return MultiMasterFontDictionaryFromDictionary(pdfDoc, dict, abr, data);
5414 } 5414 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698