| 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/formfiller/FFL_TextField.h" | 7 #include "fpdfsdk/include/formfiller/FFL_CBA_Fontmap.h" |
| 8 #include "../../include/formfiller/FFL_CBA_Fontmap.h" | 8 #include "fpdfsdk/include/formfiller/FFL_TextField.h" |
| 9 | 9 |
| 10 /* ------------------------------- CFFL_TextField | 10 /* ------------------------------- CFFL_TextField |
| 11 * ------------------------------- */ | 11 * ------------------------------- */ |
| 12 | 12 |
| 13 CFFL_TextField::CFFL_TextField(CPDFDoc_Environment* pApp, CPDFSDK_Annot* pAnnot) | 13 CFFL_TextField::CFFL_TextField(CPDFDoc_Environment* pApp, CPDFSDK_Annot* pAnnot) |
| 14 : CFFL_FormFiller(pApp, pAnnot), | 14 : CFFL_FormFiller(pApp, pAnnot), |
| 15 m_pFontMap(NULL) //, | 15 m_pFontMap(NULL) //, |
| 16 // m_pSpellCheck(NULL) | 16 // m_pSpellCheck(NULL) |
| 17 { | 17 { |
| 18 m_State.nStart = m_State.nEnd = 0; | 18 m_State.nStart = m_State.nEnd = 0; |
| (...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 286 m_pApp->FFI_OnSetFieldInputFocus(m_pWidget->GetFormField(), pBuffer, | 286 m_pApp->FFI_OnSetFieldInputFocus(m_pWidget->GetFormField(), pBuffer, |
| 287 nCharacters, TRUE); | 287 nCharacters, TRUE); |
| 288 | 288 |
| 289 pEdit->SetEditNotify(this); | 289 pEdit->SetEditNotify(this); |
| 290 } | 290 } |
| 291 } | 291 } |
| 292 | 292 |
| 293 void CFFL_TextField::OnKillFocus(CPWL_Wnd* pWnd) {} | 293 void CFFL_TextField::OnKillFocus(CPWL_Wnd* pWnd) {} |
| 294 | 294 |
| 295 void CFFL_TextField::OnAddUndo(CPWL_Edit* pEdit) {} | 295 void CFFL_TextField::OnAddUndo(CPWL_Edit* pEdit) {} |
| OLD | NEW |