OLD | NEW |
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 Loading... |
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 } |
OLD | NEW |