| 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 FX_BOOL CanSelectAll() c
onst; | 71 FX_BOOL CanSelectAll() c
onst; |
| 72 FX_BOOL CanClear() const
; | 72 FX_BOOL CanClear() const
; |
| 73 FX_BOOL CanCopy() const; | 73 FX_BOOL CanCopy() const; |
| 74 FX_BOOL CanCut() const; | 74 FX_BOOL CanCut() const; |
| 75 FX_BOOL CanPaste() const
; | 75 FX_BOOL CanPaste() const
; |
| 76 | 76 |
| 77 virtual void CopyText(); | 77 virtual void CopyText(); |
| 78 virtual void PasteText(); | 78 virtual void PasteText(); |
| 79 virtual void CutText(); | 79 virtual void CutText(); |
| 80 | 80 |
| 81 » virtual void» » » » » SetText(FX_LPCWSTR csTex
t); | 81 » virtual void» » » » » SetText(const FX_WCHAR*
csText); |
| 82 » void» » » » » » » ReplaceSel(FX_LP
CWSTR csText); | 82 » void» » » » » » » ReplaceSel(const
FX_WCHAR* csText); |
| 83 | 83 |
| 84 CFX_ByteString GetTextAppearanceStream(
const CPDF_Point & ptOffset) const; | 84 CFX_ByteString GetTextAppearanceStream(
const CPDF_Point & ptOffset) const; |
| 85 CFX_ByteString GetCaretAppearanceStream
(const CPDF_Point & ptOffset) const; | 85 CFX_ByteString GetCaretAppearanceStream
(const CPDF_Point & ptOffset) const; |
| 86 CFX_ByteString GetSelectAppearanceStrea
m(const CPDF_Point & ptOffset) const; | 86 CFX_ByteString GetSelectAppearanceStrea
m(const CPDF_Point & ptOffset) const; |
| 87 | 87 |
| 88 FX_BOOL IsTextFull() con
st; | 88 FX_BOOL IsTextFull() con
st; |
| 89 | 89 |
| 90 static FX_FLOAT GetCharArrayAutoFontSize
(CPDF_Font* pFont, const CPDF_Rect& rcPlate, int32_t nCharArray); | 90 static FX_FLOAT GetCharArrayAutoFontSize
(CPDF_Font* pFont, const CPDF_Rect& rcPlate, int32_t nCharArray); |
| 91 | 91 |
| 92 void SetFillerNotify(
IPWL_Filler_Notify* pNotify) {m_pFillerNotify = pNotify;} | 92 void SetFillerNotify(
IPWL_Filler_Notify* pNotify) {m_pFillerNotify = pNotify;} |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 IPWL_SpellCheck* m_pSpellCheck; | 133 IPWL_SpellCheck* m_pSpellCheck; |
| 134 FX_BOOL m_bFocus; | 134 FX_BOOL m_bFocus; |
| 135 CPDF_Rect m_rcOldWindow; | 135 CPDF_Rect m_rcOldWindow; |
| 136 public: | 136 public: |
| 137 void AttachFFLData(vo
id* pData) {m_pFormFiller = pData;} | 137 void AttachFFLData(vo
id* pData) {m_pFormFiller = pData;} |
| 138 private: | 138 private: |
| 139 void* m_pFormFiller; | 139 void* m_pFormFiller; |
| 140 }; | 140 }; |
| 141 | 141 |
| 142 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_EDIT_H_ | 142 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_EDIT_H_ |
| OLD | NEW |