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

Side by Side Diff: fpdfsdk/src/pdfwindow/PWL_Edit.cpp

Issue 1612113003: Rename CPDF_PageObjects to CPDF_PageObjectList (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Fix stray file. Created 4 years, 11 months 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
« no previous file with comments | « fpdfsdk/src/fxedit/fxet_pageobjs.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "fpdfsdk/include/pdfwindow/PWL_Edit.h" 7 #include "fpdfsdk/include/pdfwindow/PWL_Edit.h"
8 8
9 #include "core/include/fxcrt/fx_safe_types.h" 9 #include "core/include/fxcrt/fx_safe_types.h"
10 #include "core/include/fxcrt/fx_xml.h" 10 #include "core/include/fxcrt/fx_xml.h"
(...skipping 1150 matching lines...) Expand 10 before | Expand all | Expand 10 after
1161 } while (pIterator->PrevWord()); 1161 } while (pIterator->PrevWord());
1162 } 1162 }
1163 1163
1164 range.Set(wpStart, wpEnd); 1164 range.Set(wpStart, wpEnd);
1165 } 1165 }
1166 1166
1167 return range; 1167 return range;
1168 } 1168 }
1169 1169
1170 void CPWL_Edit::GeneratePageObjects( 1170 void CPWL_Edit::GeneratePageObjects(
1171 CPDF_PageObjects* pPageObjects, 1171 CPDF_PageObjectList* pPageObjects,
1172 const CPDF_Point& ptOffset, 1172 const CPDF_Point& ptOffset,
1173 CFX_ArrayTemplate<CPDF_TextObject*>& ObjArray) { 1173 CFX_ArrayTemplate<CPDF_TextObject*>& ObjArray) {
1174 IFX_Edit::GeneratePageObjects( 1174 IFX_Edit::GeneratePageObjects(
1175 pPageObjects, m_pEdit, ptOffset, NULL, 1175 pPageObjects, m_pEdit, ptOffset, NULL,
1176 CPWL_Utils::PWLColorToFXColor(GetTextColor(), GetTransparency()), 1176 CPWL_Utils::PWLColorToFXColor(GetTextColor(), GetTransparency()),
1177 ObjArray); 1177 ObjArray);
1178 } 1178 }
1179 1179
1180 void CPWL_Edit::GeneratePageObjects(CPDF_PageObjects* pPageObjects, 1180 void CPWL_Edit::GeneratePageObjects(CPDF_PageObjectList* pPageObjects,
1181 const CPDF_Point& ptOffset) { 1181 const CPDF_Point& ptOffset) {
1182 CFX_ArrayTemplate<CPDF_TextObject*> ObjArray; 1182 CFX_ArrayTemplate<CPDF_TextObject*> ObjArray;
1183 IFX_Edit::GeneratePageObjects( 1183 IFX_Edit::GeneratePageObjects(
1184 pPageObjects, m_pEdit, ptOffset, NULL, 1184 pPageObjects, m_pEdit, ptOffset, NULL,
1185 CPWL_Utils::PWLColorToFXColor(GetTextColor(), GetTransparency()), 1185 CPWL_Utils::PWLColorToFXColor(GetTextColor(), GetTransparency()),
1186 ObjArray); 1186 ObjArray);
1187 } 1187 }
OLDNEW
« no previous file with comments | « fpdfsdk/src/fxedit/fxet_pageobjs.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698