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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 | 157 |
158 CPVT_WordRange CombineWordRange(const CPVT_WordRange& wr1, | 158 CPVT_WordRange CombineWordRange(const CPVT_WordRange& wr1, |
159 const CPVT_WordRange& wr2); | 159 const CPVT_WordRange& wr2); |
160 CPVT_WordRange GetLatinWordsRange(const CPDF_Point& point) const; | 160 CPVT_WordRange GetLatinWordsRange(const CPDF_Point& point) const; |
161 CPVT_WordRange GetLatinWordsRange(const CPVT_WordPlace& place) const; | 161 CPVT_WordRange GetLatinWordsRange(const CPVT_WordPlace& place) const; |
162 CPVT_WordRange GetArabicWordsRange(const CPVT_WordPlace& place) const; | 162 CPVT_WordRange GetArabicWordsRange(const CPVT_WordPlace& place) const; |
163 CPVT_WordRange GetSameWordsRange(const CPVT_WordPlace& place, | 163 CPVT_WordRange GetSameWordsRange(const CPVT_WordPlace& place, |
164 FX_BOOL bLatin, | 164 FX_BOOL bLatin, |
165 FX_BOOL bArabic) const; | 165 FX_BOOL bArabic) const; |
166 | 166 |
167 void AjustArabicWords(const CPVT_WordRange& wr); | |
168 | |
169 public: | 167 public: |
170 FX_BOOL IsProceedtoOnChar(FX_WORD nKeyCode, FX_DWORD nFlag); | 168 FX_BOOL IsProceedtoOnChar(FX_WORD nKeyCode, FX_DWORD nFlag); |
171 | 169 |
172 private: | 170 private: |
173 IPWL_Filler_Notify* m_pFillerNotify; | 171 IPWL_Filler_Notify* m_pFillerNotify; |
174 IPWL_SpellCheck* m_pSpellCheck; | 172 IPWL_SpellCheck* m_pSpellCheck; |
175 FX_BOOL m_bFocus; | 173 FX_BOOL m_bFocus; |
176 CPDF_Rect m_rcOldWindow; | 174 CPDF_Rect m_rcOldWindow; |
177 | 175 |
178 public: | 176 public: |
179 void AttachFFLData(void* pData) { m_pFormFiller = pData; } | 177 void AttachFFLData(void* pData) { m_pFormFiller = pData; } |
180 | 178 |
181 private: | 179 private: |
182 void* m_pFormFiller; | 180 void* m_pFormFiller; |
183 }; | 181 }; |
184 | 182 |
185 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_EDIT_H_ | 183 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_EDIT_H_ |
OLD | NEW |