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 "pageint.h" | 7 #include "core/src/fpdfapi/fpdf_page/pageint.h" |
8 | 8 |
9 #include "core/include/fpdfapi/fpdf_module.h" | 9 #include "core/include/fpdfapi/fpdf_module.h" |
10 #include "core/include/fpdfapi/fpdf_page.h" | 10 #include "core/include/fpdfapi/fpdf_page.h" |
11 | 11 |
12 CPDF_PageObject* CPDF_PageObject::Create(int type) { | 12 CPDF_PageObject* CPDF_PageObject::Create(int type) { |
13 switch (type) { | 13 switch (type) { |
14 case TEXT: | 14 case TEXT: |
15 return new CPDF_TextObject; | 15 return new CPDF_TextObject; |
16 case IMAGE: | 16 case IMAGE: |
17 return new CPDF_ImageObject; | 17 return new CPDF_ImageObject; |
(...skipping 956 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
974 (FX_FLOAT)y0); | 974 (FX_FLOAT)y0); |
975 matrix = m_PageMatrix; | 975 matrix = m_PageMatrix; |
976 matrix.Concat(display_matrix); | 976 matrix.Concat(display_matrix); |
977 } | 977 } |
978 CPDF_ParseOptions::CPDF_ParseOptions() { | 978 CPDF_ParseOptions::CPDF_ParseOptions() { |
979 m_bTextOnly = FALSE; | 979 m_bTextOnly = FALSE; |
980 m_bMarkedContent = TRUE; | 980 m_bMarkedContent = TRUE; |
981 m_bSeparateForm = TRUE; | 981 m_bSeparateForm = TRUE; |
982 m_bDecodeInlineImage = FALSE; | 982 m_bDecodeInlineImage = FALSE; |
983 } | 983 } |
OLD | NEW |