Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(146)

Side by Side Diff: core/src/fpdfapi/fpdf_page/fpdf_page.cpp

Issue 1438573002: Merge to XFA: Fix relative includes within core/ (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « core/src/fpdfapi/fpdf_font/ttgsubtable.cpp ('k') | core/src/fpdfapi/fpdf_page/fpdf_page_colors.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698