OLD | NEW |
| 1 /* |
| 2 * Copyright 2013 Google Inc. |
| 3 * |
| 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. |
| 6 */ |
1 | 7 |
2 #include "SkPdfNativeTokenizer.h" | 8 #include "SkPdfNativeTokenizer.h" |
3 #include "SkPdfNativeObject.h" | 9 #include "SkPdfNativeObject.h" |
4 #include "SkPdfConfig.h" | 10 #include "SkPdfConfig.h" |
5 | 11 |
6 // TODO(edisonn): mac builder does not find the header ... but from headers is o
k | 12 // TODO(edisonn): mac builder does not find the header ... but from headers is o
k |
7 //#include "SkPdfStreamCommonDictionary_autogen.h" | 13 //#include "SkPdfStreamCommonDictionary_autogen.h" |
8 //#include "SkPdfImageDictionary_autogen.h" | 14 //#include "SkPdfImageDictionary_autogen.h" |
9 #include "SkPdfHeaders_autogen.h" | 15 #include "SkPdfHeaders_autogen.h" |
10 | 16 |
(...skipping 1081 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1092 SkPdfNativeObject* obj = fAllocator->allocObject(); | 1098 SkPdfNativeObject* obj = fAllocator->allocObject(); |
1093 fUncompressedStream = nextObject(0, fUncompressedStream, fUncompress
edStreamEnd, obj, fAllocator, fDoc); | 1099 fUncompressedStream = nextObject(0, fUncompressedStream, fUncompress
edStreamEnd, obj, fAllocator, fDoc); |
1094 // TODO(edisonn): perf maybe we should not expand abreviation like t
his | 1100 // TODO(edisonn): perf maybe we should not expand abreviation like t
his |
1095 inlineImage->set(inlineImageKeyAbbreviationExpand(key), | 1101 inlineImage->set(inlineImageKeyAbbreviationExpand(key), |
1096 inlineImageValueAbbreviationExpand(obj)); | 1102 inlineImageValueAbbreviationExpand(obj)); |
1097 } | 1103 } |
1098 } | 1104 } |
1099 // TODO(edisonn): report end of data with inline image without an EI | 1105 // TODO(edisonn): report end of data with inline image without an EI |
1100 return inlineImage; | 1106 return inlineImage; |
1101 } | 1107 } |
OLD | NEW |