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 #if !defined(AFX_FFL_EDIT_H__8E0C9456_CBA2_4EFB_9F31_53C6D8C1A8AC__INCLUDED_) | 7 #if !defined(AFX_FFL_EDIT_H__8E0C9456_CBA2_4EFB_9F31_53C6D8C1A8AC__INCLUDED_) |
8 #define AFX_FFL_EDIT_H__8E0C9456_CBA2_4EFB_9F31_53C6D8C1A8AC__INCLUDED_ | 8 #define AFX_FFL_EDIT_H__8E0C9456_CBA2_4EFB_9F31_53C6D8C1A8AC__INCLUDED_ |
9 | 9 |
10 #include "FFL_FormFiller.h" | 10 #include "FFL_FormFiller.h" |
11 | 11 |
12 #define BF_ALIGN_LEFT 0 | 12 #define BF_ALIGN_LEFT 0 |
13 #define BF_ALIGN_MIDDLE 1 | 13 #define BF_ALIGN_MIDDLE 1 |
14 #define BF_ALIGN_RIGHT 2 | 14 #define BF_ALIGN_RIGHT 2 |
15 | 15 |
16 class CBA_FontMap; | 16 class CBA_FontMap; |
17 | 17 |
18 class CFFL_EditUndoItem //: public IUndoItem | 18 |
| 19 class CFFL_EditUndoItem |
19 { | 20 { |
20 public: | 21 public: |
21 CFFL_EditUndoItem(CPWL_Edit* pEdit); | 22 CFFL_EditUndoItem(CPWL_Edit* pEdit); |
22 virtual ~CFFL_EditUndoItem(); | 23 virtual ~CFFL_EditUndoItem(); |
23 | 24 |
24 virtual void Undo(); | 25 virtual void Undo(); |
25 virtual void Redo(); | 26 virtual void Redo(); |
26 virtual CFX_WideString GetDescr(); | 27 virtual CFX_WideString GetDescr(); |
27 virtual void Release(); | 28 virtual void Release(); |
28 }; | 29 }; |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 virtual void DoPaste(CPDFSDK_Document* pDocum
ent); | 80 virtual void DoPaste(CPDFSDK_Document* pDocum
ent); |
80 | 81 |
81 private: | 82 private: |
82 CBA_FontMap* m_pFontMap; | 83 CBA_FontMap* m_pFontMap; |
83 // CBA_SpellCheck* m_pSpellCheck; | 84 // CBA_SpellCheck* m_pSpellCheck; |
84 FFL_TextFieldState m_State; | 85 FFL_TextFieldState m_State; |
85 // CFFL_IM_BOX m_IMBox; | 86 // CFFL_IM_BOX m_IMBox; |
86 }; | 87 }; |
87 | 88 |
88 #endif // !defined(AFX_FFL_EDIT_H__8E0C9456_CBA2_4EFB_9F31_53C6D8C1A8AC__INCLUDE
D_) | 89 #endif // !defined(AFX_FFL_EDIT_H__8E0C9456_CBA2_4EFB_9F31_53C6D8C1A8AC__INCLUDE
D_) |
OLD | NEW |