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 #ifndef FPDFSDK_INCLUDE_PDFWINDOW_PWL_EDIT_H_ | 7 #ifndef FPDFSDK_INCLUDE_PDFWINDOW_PWL_EDIT_H_ |
8 #define FPDFSDK_INCLUDE_PDFWINDOW_PWL_EDIT_H_ | 8 #define FPDFSDK_INCLUDE_PDFWINDOW_PWL_EDIT_H_ |
9 | 9 |
10 #include "../../../core/include/fxcrt/fx_basic.h" | 10 #include "../../../core/include/fxcrt/fx_basic.h" |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 | 150 |
151 CPVT_WordRange CombineWordRange(const CPVT_WordRange& wr1, | 151 CPVT_WordRange CombineWordRange(const CPVT_WordRange& wr1, |
152 const CPVT_WordRange& wr2); | 152 const CPVT_WordRange& wr2); |
153 CPVT_WordRange GetLatinWordsRange(const CPDF_Point& point) const; | 153 CPVT_WordRange GetLatinWordsRange(const CPDF_Point& point) const; |
154 CPVT_WordRange GetLatinWordsRange(const CPVT_WordPlace& place) const; | 154 CPVT_WordRange GetLatinWordsRange(const CPVT_WordPlace& place) const; |
155 CPVT_WordRange GetArabicWordsRange(const CPVT_WordPlace& place) const; | 155 CPVT_WordRange GetArabicWordsRange(const CPVT_WordPlace& place) const; |
156 CPVT_WordRange GetSameWordsRange(const CPVT_WordPlace& place, | 156 CPVT_WordRange GetSameWordsRange(const CPVT_WordPlace& place, |
157 FX_BOOL bLatin, | 157 FX_BOOL bLatin, |
158 FX_BOOL bArabic) const; | 158 FX_BOOL bArabic) const; |
159 | 159 |
160 void AjustArabicWords(const CPVT_WordRange& wr); | |
161 | |
162 public: | 160 public: |
163 FX_BOOL IsProceedtoOnChar(FX_WORD nKeyCode, FX_DWORD nFlag); | 161 FX_BOOL IsProceedtoOnChar(FX_WORD nKeyCode, FX_DWORD nFlag); |
164 | 162 |
165 private: | 163 private: |
166 IPWL_Filler_Notify* m_pFillerNotify; | 164 IPWL_Filler_Notify* m_pFillerNotify; |
167 IPWL_SpellCheck* m_pSpellCheck; | 165 IPWL_SpellCheck* m_pSpellCheck; |
168 FX_BOOL m_bFocus; | 166 FX_BOOL m_bFocus; |
169 CPDF_Rect m_rcOldWindow; | 167 CPDF_Rect m_rcOldWindow; |
170 | 168 |
171 public: | 169 public: |
172 void AttachFFLData(void* pData) { m_pFormFiller = pData; } | 170 void AttachFFLData(void* pData) { m_pFormFiller = pData; } |
173 | 171 |
174 private: | 172 private: |
175 void* m_pFormFiller; | 173 void* m_pFormFiller; |
176 }; | 174 }; |
177 | 175 |
178 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_EDIT_H_ | 176 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_EDIT_H_ |
OLD | NEW |