OLD | NEW |
1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
6 | 6 |
7 #include "core/src/fpdfapi/fpdf_page/pageint.h" | 7 #include "core/src/fpdfapi/fpdf_page/pageint.h" |
8 | 8 |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "core/include/fpdfapi/cpdf_document.h" | 11 #include "core/include/fpdfapi/cpdf_document.h" |
12 #include "core/include/fpdfapi/fpdf_module.h" | 12 #include "core/include/fpdfapi/fpdf_module.h" |
13 #include "core/include/fpdfapi/fpdf_page.h" | 13 #include "core/include/fpdfapi/fpdf_page.h" |
| 14 #include "core/include/fpdfapi/fpdf_parser_decode.h" |
14 #include "core/include/fpdfapi/fpdf_serial.h" | 15 #include "core/include/fpdfapi/fpdf_serial.h" |
15 | 16 |
16 namespace { | 17 namespace { |
17 | 18 |
18 const char kPathOperatorSubpath = 'm'; | 19 const char kPathOperatorSubpath = 'm'; |
19 const char kPathOperatorLine = 'l'; | 20 const char kPathOperatorLine = 'l'; |
20 const char kPathOperatorCubicBezier1 = 'c'; | 21 const char kPathOperatorCubicBezier1 = 'c'; |
21 const char kPathOperatorCubicBezier2 = 'v'; | 22 const char kPathOperatorCubicBezier2 = 'v'; |
22 const char kPathOperatorCubicBezier3 = 'y'; | 23 const char kPathOperatorCubicBezier3 = 'y'; |
23 const char kPathOperatorClosePath = 'h'; | 24 const char kPathOperatorClosePath = 'h'; |
(...skipping 1780 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1804 } else { | 1805 } else { |
1805 PDF_ReplaceAbbr(pElement); | 1806 PDF_ReplaceAbbr(pElement); |
1806 } | 1807 } |
1807 } | 1808 } |
1808 break; | 1809 break; |
1809 } | 1810 } |
1810 default: | 1811 default: |
1811 break; | 1812 break; |
1812 } | 1813 } |
1813 } | 1814 } |
OLD | NEW |