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

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

Issue 1296043002: Merge to XFA: Use override in more classes in core/ (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 4 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
« core/src/fxcrt/extension.h ('K') | « fpdfsdk/src/fxedit/fxet_edit.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 "../../../core/include/fxcrt/fx_safe_types.h" 7 #include "../../../core/include/fxcrt/fx_safe_types.h"
8 #include "../../../core/include/fxcrt/fx_xml.h" 8 #include "../../../core/include/fxcrt/fx_xml.h"
9 #include "../../include/pdfwindow/PDFWindow.h" 9 #include "../../include/pdfwindow/PDFWindow.h"
10 #include "../../include/pdfwindow/PWL_Caret.h" 10 #include "../../include/pdfwindow/PWL_Caret.h"
(...skipping 1185 matching lines...) Expand 10 before | Expand all | Expand 10 after
1196 } 1196 }
1197 } while (pIterator->PrevWord()); 1197 } while (pIterator->PrevWord());
1198 } 1198 }
1199 1199
1200 range.Set(wpStart, wpEnd); 1200 range.Set(wpStart, wpEnd);
1201 } 1201 }
1202 1202
1203 return range; 1203 return range;
1204 } 1204 }
1205 1205
1206 void CPWL_Edit::AjustArabicWords(const CPVT_WordRange& wr) {}
1207
1208 void CPWL_Edit::GeneratePageObjects( 1206 void CPWL_Edit::GeneratePageObjects(
1209 CPDF_PageObjects* pPageObjects, 1207 CPDF_PageObjects* pPageObjects,
1210 const CPDF_Point& ptOffset, 1208 const CPDF_Point& ptOffset,
1211 CFX_ArrayTemplate<CPDF_TextObject*>& ObjArray) { 1209 CFX_ArrayTemplate<CPDF_TextObject*>& ObjArray) {
1212 IFX_Edit::GeneratePageObjects( 1210 IFX_Edit::GeneratePageObjects(
1213 pPageObjects, m_pEdit, ptOffset, NULL, 1211 pPageObjects, m_pEdit, ptOffset, NULL,
1214 CPWL_Utils::PWLColorToFXColor(GetTextColor(), GetTransparency()), 1212 CPWL_Utils::PWLColorToFXColor(GetTextColor(), GetTransparency()),
1215 ObjArray); 1213 ObjArray);
1216 } 1214 }
1217 1215
1218 void CPWL_Edit::GeneratePageObjects(CPDF_PageObjects* pPageObjects, 1216 void CPWL_Edit::GeneratePageObjects(CPDF_PageObjects* pPageObjects,
1219 const CPDF_Point& ptOffset) { 1217 const CPDF_Point& ptOffset) {
1220 CFX_ArrayTemplate<CPDF_TextObject*> ObjArray; 1218 CFX_ArrayTemplate<CPDF_TextObject*> ObjArray;
1221 IFX_Edit::GeneratePageObjects( 1219 IFX_Edit::GeneratePageObjects(
1222 pPageObjects, m_pEdit, ptOffset, NULL, 1220 pPageObjects, m_pEdit, ptOffset, NULL,
1223 CPWL_Utils::PWLColorToFXColor(GetTextColor(), GetTransparency()), 1221 CPWL_Utils::PWLColorToFXColor(GetTextColor(), GetTransparency()),
1224 ObjArray); 1222 ObjArray);
1225 } 1223 }
OLDNEW
« core/src/fxcrt/extension.h ('K') | « fpdfsdk/src/fxedit/fxet_edit.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698