Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(134)

Side by Side Diff: fpdfsdk/include/formfiller/FFL_TextField.h

Issue 1092033004: Merge to XFA: Remove Release() combo patch. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « core/src/fpdfdoc/doc_annot.cpp ('k') | fpdfsdk/include/fsdk_baseform.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
19 class CFFL_EditUndoItem
20 {
21 public:
22 CFFL_EditUndoItem(CPWL_Edit* pEdit);
23 virtual ~CFFL_EditUndoItem();
24
25 virtual void Undo();
26 virtual void Redo();
27 virtual CFX_WideString GetDescr();
28 virtual void Release();
29 };
30
31 struct FFL_TextFieldState 18 struct FFL_TextFieldState
32 { 19 {
33 int nStart; 20 int nStart;
34 int nEnd; 21 int nEnd;
35 CFX_WideString sValue; 22 CFX_WideString sValue;
36 }; 23 };
37 24
38 class CFFL_TextField : public CFFL_FormFiller, public IPWL_FocusHandler, public IPWL_Edit_Notify 25 class CFFL_TextField : public CFFL_FormFiller, public IPWL_FocusHandler, public IPWL_Edit_Notify
39 { 26 {
40 public: 27 public:
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 virtual FX_BOOL CanCopy(CPDFSDK_Document* pDocum ent); 61 virtual FX_BOOL CanCopy(CPDFSDK_Document* pDocum ent);
75 virtual FX_BOOL CanCut(CPDFSDK_Document* pDocume nt); 62 virtual FX_BOOL CanCut(CPDFSDK_Document* pDocume nt);
76 virtual FX_BOOL CanPaste(CPDFSDK_Document* pDocu ment); 63 virtual FX_BOOL CanPaste(CPDFSDK_Document* pDocu ment);
77 64
78 virtual void DoCopy(CPDFSDK_Document* pDocume nt); 65 virtual void DoCopy(CPDFSDK_Document* pDocume nt);
79 virtual void DoCut(CPDFSDK_Document* pDocumen t); 66 virtual void DoCut(CPDFSDK_Document* pDocumen t);
80 virtual void DoPaste(CPDFSDK_Document* pDocum ent); 67 virtual void DoPaste(CPDFSDK_Document* pDocum ent);
81 68
82 private: 69 private:
83 CBA_FontMap* m_pFontMap; 70 CBA_FontMap* m_pFontMap;
84 // CBA_SpellCheck* m_pSpellCheck;
85 FFL_TextFieldState m_State; 71 FFL_TextFieldState m_State;
86 //» CFFL_IM_BOX» » » » » m_IMBox; 72
87 }; 73 };
88 74
89 #endif // !defined(AFX_FFL_EDIT_H__8E0C9456_CBA2_4EFB_9F31_53C6D8C1A8AC__INCLUDE D_) 75 #endif // !defined(AFX_FFL_EDIT_H__8E0C9456_CBA2_4EFB_9F31_53C6D8C1A8AC__INCLUDE D_)
OLDNEW
« no previous file with comments | « core/src/fpdfdoc/doc_annot.cpp ('k') | fpdfsdk/include/fsdk_baseform.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698