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 "../../../include/fpdfapi/fpdf_page.h" | |
8 #include "../../../include/fpdfapi/fpdf_module.h" | |
9 #include "pageint.h" | 7 #include "pageint.h" |
| 8 |
| 9 #include "core/include/fpdfapi/fpdf_module.h" |
| 10 #include "core/include/fpdfapi/fpdf_page.h" |
| 11 |
10 CPDF_PageObject* CPDF_PageObject::Create(int type) { | 12 CPDF_PageObject* CPDF_PageObject::Create(int type) { |
11 switch (type) { | 13 switch (type) { |
12 case PDFPAGE_TEXT: | 14 case PDFPAGE_TEXT: |
13 return new CPDF_TextObject; | 15 return new CPDF_TextObject; |
14 case PDFPAGE_IMAGE: | 16 case PDFPAGE_IMAGE: |
15 return new CPDF_ImageObject; | 17 return new CPDF_ImageObject; |
16 case PDFPAGE_PATH: | 18 case PDFPAGE_PATH: |
17 return new CPDF_PathObject; | 19 return new CPDF_PathObject; |
18 case PDFPAGE_SHADING: | 20 case PDFPAGE_SHADING: |
19 return new CPDF_ShadingObject; | 21 return new CPDF_ShadingObject; |
(...skipping 984 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1004 (FX_FLOAT)y0); | 1006 (FX_FLOAT)y0); |
1005 matrix = m_PageMatrix; | 1007 matrix = m_PageMatrix; |
1006 matrix.Concat(display_matrix); | 1008 matrix.Concat(display_matrix); |
1007 } | 1009 } |
1008 CPDF_ParseOptions::CPDF_ParseOptions() { | 1010 CPDF_ParseOptions::CPDF_ParseOptions() { |
1009 m_bTextOnly = FALSE; | 1011 m_bTextOnly = FALSE; |
1010 m_bMarkedContent = TRUE; | 1012 m_bMarkedContent = TRUE; |
1011 m_bSeparateForm = TRUE; | 1013 m_bSeparateForm = TRUE; |
1012 m_bDecodeInlineImage = FALSE; | 1014 m_bDecodeInlineImage = FALSE; |
1013 } | 1015 } |
OLD | NEW |