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 "../../include/pdfwindow/PDFWindow.h" | |
8 #include "../../include/pdfwindow/PWL_Caret.h" | |
9 #include "../../include/pdfwindow/PWL_Edit.h" | |
10 #include "../../include/pdfwindow/PWL_EditCtrl.h" | |
11 #include "../../include/pdfwindow/PWL_FontMap.h" | |
12 #include "../../include/pdfwindow/PWL_ScrollBar.h" | |
13 #include "../../include/pdfwindow/PWL_Utils.h" | |
14 #include "../../include/pdfwindow/PWL_Wnd.h" | |
15 #include "core/include/fxcrt/fx_safe_types.h" | 7 #include "core/include/fxcrt/fx_safe_types.h" |
16 #include "core/include/fxcrt/fx_xml.h" | 8 #include "core/include/fxcrt/fx_xml.h" |
| 9 #include "fpdfsdk/include/pdfwindow/PDFWindow.h" |
| 10 #include "fpdfsdk/include/pdfwindow/PWL_Caret.h" |
| 11 #include "fpdfsdk/include/pdfwindow/PWL_Edit.h" |
| 12 #include "fpdfsdk/include/pdfwindow/PWL_EditCtrl.h" |
| 13 #include "fpdfsdk/include/pdfwindow/PWL_FontMap.h" |
| 14 #include "fpdfsdk/include/pdfwindow/PWL_ScrollBar.h" |
| 15 #include "fpdfsdk/include/pdfwindow/PWL_Utils.h" |
| 16 #include "fpdfsdk/include/pdfwindow/PWL_Wnd.h" |
17 | 17 |
18 /* ---------------------------- CPWL_Edit ------------------------------ */ | 18 /* ---------------------------- CPWL_Edit ------------------------------ */ |
19 | 19 |
20 CPWL_Edit::CPWL_Edit() | 20 CPWL_Edit::CPWL_Edit() |
21 : m_pFillerNotify(NULL), m_pSpellCheck(NULL), m_bFocus(FALSE) { | 21 : m_pFillerNotify(NULL), m_pSpellCheck(NULL), m_bFocus(FALSE) { |
22 m_pFormFiller = NULL; | 22 m_pFormFiller = NULL; |
23 } | 23 } |
24 | 24 |
25 CPWL_Edit::~CPWL_Edit() { | 25 CPWL_Edit::~CPWL_Edit() { |
26 ASSERT(m_bFocus == FALSE); | 26 ASSERT(m_bFocus == FALSE); |
(...skipping 1156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1183 } | 1183 } |
1184 | 1184 |
1185 void CPWL_Edit::GeneratePageObjects(CPDF_PageObjects* pPageObjects, | 1185 void CPWL_Edit::GeneratePageObjects(CPDF_PageObjects* pPageObjects, |
1186 const CPDF_Point& ptOffset) { | 1186 const CPDF_Point& ptOffset) { |
1187 CFX_ArrayTemplate<CPDF_TextObject*> ObjArray; | 1187 CFX_ArrayTemplate<CPDF_TextObject*> ObjArray; |
1188 IFX_Edit::GeneratePageObjects( | 1188 IFX_Edit::GeneratePageObjects( |
1189 pPageObjects, m_pEdit, ptOffset, NULL, | 1189 pPageObjects, m_pEdit, ptOffset, NULL, |
1190 CPWL_Utils::PWLColorToFXColor(GetTextColor(), GetTransparency()), | 1190 CPWL_Utils::PWLColorToFXColor(GetTextColor(), GetTransparency()), |
1191 ObjArray); | 1191 ObjArray); |
1192 } | 1192 } |
OLD | NEW |