| 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.h" | |
| 8 //#include "../include/FFL_FormFiller.h" | |
| 9 #include "../../include/formfiller/FFL_TextField.h" | 7 #include "../../include/formfiller/FFL_TextField.h" |
| 10 #include "../../include/formfiller/FFL_CBA_Fontmap.h" | 8 #include "../../include/formfiller/FFL_CBA_Fontmap.h" |
| 11 //#include "../include/FFL_Notify.h" | |
| 12 | |
| 13 CFFL_EditUndoItem::CFFL_EditUndoItem(CPWL_Edit* pEdit) | |
| 14 { | |
| 15 } | |
| 16 | |
| 17 CFFL_EditUndoItem::~CFFL_EditUndoItem() | |
| 18 { | |
| 19 } | |
| 20 | |
| 21 void CFFL_EditUndoItem::Undo() | |
| 22 { | |
| 23 } | |
| 24 | |
| 25 void CFFL_EditUndoItem::Redo() | |
| 26 { | |
| 27 } | |
| 28 | |
| 29 CFX_WideString CFFL_EditUndoItem::GetDescr() | |
| 30 { | |
| 31 return L"Input"; | |
| 32 } | |
| 33 | |
| 34 void CFFL_EditUndoItem::Release() | |
| 35 { | |
| 36 delete this; | |
| 37 } | |
| 38 | 9 |
| 39 /* ------------------------------- CFFL_TextField ------------------------------
- */ | 10 /* ------------------------------- CFFL_TextField ------------------------------
- */ |
| 40 | 11 |
| 41 CFFL_TextField::CFFL_TextField(CPDFDoc_Environment* pApp, CPDFSDK_Annot* pAnnot)
: | 12 CFFL_TextField::CFFL_TextField(CPDFDoc_Environment* pApp, CPDFSDK_Annot* pAnnot)
: |
| 42 CFFL_FormFiller(pApp, pAnnot), | 13 CFFL_FormFiller(pApp, pAnnot), |
| 43 m_pFontMap(NULL)//, | 14 m_pFontMap(NULL)//, |
| 44 //m_pSpellCheck(NULL) | 15 //m_pSpellCheck(NULL) |
| 45 { | 16 { |
| 46 m_State.nStart = m_State.nEnd = 0; | 17 m_State.nStart = m_State.nEnd = 0; |
| 47 } | 18 } |
| (...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 413 | 384 |
| 414 void CFFL_TextField::DoPaste(CPDFSDK_Document* pDocument) | 385 void CFFL_TextField::DoPaste(CPDFSDK_Document* pDocument) |
| 415 { | 386 { |
| 416 | 387 |
| 417 } | 388 } |
| 418 | 389 |
| 419 void CFFL_TextField::OnAddUndo(CPWL_Edit* pEdit) | 390 void CFFL_TextField::OnAddUndo(CPWL_Edit* pEdit) |
| 420 { | 391 { |
| 421 } | 392 } |
| 422 | 393 |
| OLD | NEW |