| 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 "fpdfsdk/include/pdfwindow/PWL_Edit.h" | 7 #include "fpdfsdk/include/pdfwindow/PWL_Edit.h" |
| 8 | 8 |
| 9 #include <vector> |
| 10 |
| 9 #include "core/include/fxcrt/fx_safe_types.h" | 11 #include "core/include/fxcrt/fx_safe_types.h" |
| 10 #include "core/include/fxcrt/fx_xml.h" | 12 #include "core/include/fxcrt/fx_xml.h" |
| 11 #include "fpdfsdk/include/pdfwindow/PWL_Caret.h" | 13 #include "fpdfsdk/include/pdfwindow/PWL_Caret.h" |
| 12 #include "fpdfsdk/include/pdfwindow/PWL_EditCtrl.h" | 14 #include "fpdfsdk/include/pdfwindow/PWL_EditCtrl.h" |
| 13 #include "fpdfsdk/include/pdfwindow/PWL_FontMap.h" | 15 #include "fpdfsdk/include/pdfwindow/PWL_FontMap.h" |
| 14 #include "fpdfsdk/include/pdfwindow/PWL_ScrollBar.h" | 16 #include "fpdfsdk/include/pdfwindow/PWL_ScrollBar.h" |
| 15 #include "fpdfsdk/include/pdfwindow/PWL_Utils.h" | 17 #include "fpdfsdk/include/pdfwindow/PWL_Utils.h" |
| 16 #include "fpdfsdk/include/pdfwindow/PWL_Wnd.h" | 18 #include "fpdfsdk/include/pdfwindow/PWL_Wnd.h" |
| 17 #include "public/fpdf_fwlevent.h" | 19 #include "public/fpdf_fwlevent.h" |
| 18 #include "third_party/base/stl_util.h" | 20 #include "third_party/base/stl_util.h" |
| (...skipping 1160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1179 } | 1181 } |
| 1180 | 1182 |
| 1181 void CPWL_Edit::GeneratePageObjects(CPDF_PageObjectHolder* pObjectHolder, | 1183 void CPWL_Edit::GeneratePageObjects(CPDF_PageObjectHolder* pObjectHolder, |
| 1182 const CFX_FloatPoint& ptOffset) { | 1184 const CFX_FloatPoint& ptOffset) { |
| 1183 CFX_ArrayTemplate<CPDF_TextObject*> ObjArray; | 1185 CFX_ArrayTemplate<CPDF_TextObject*> ObjArray; |
| 1184 IFX_Edit::GeneratePageObjects( | 1186 IFX_Edit::GeneratePageObjects( |
| 1185 pObjectHolder, m_pEdit, ptOffset, NULL, | 1187 pObjectHolder, m_pEdit, ptOffset, NULL, |
| 1186 CPWL_Utils::PWLColorToFXColor(GetTextColor(), GetTransparency()), | 1188 CPWL_Utils::PWLColorToFXColor(GetTextColor(), GetTransparency()), |
| 1187 ObjArray); | 1189 ObjArray); |
| 1188 } | 1190 } |
| OLD | NEW |