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_FXEDIT_INCLUDE_FXET_EDIT_H_ | 7 #ifndef FPDFSDK_FXEDIT_INCLUDE_FXET_EDIT_H_ |
8 #define FPDFSDK_FXEDIT_INCLUDE_FXET_EDIT_H_ | 8 #define FPDFSDK_FXEDIT_INCLUDE_FXET_EDIT_H_ |
9 | 9 |
10 #include "core/fpdfdoc/include/cpvt_secprops.h" | 10 #include "core/fpdfdoc/include/cpvt_secprops.h" |
(...skipping 498 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
509 friend class CFXEU_SetSecProps; | 509 friend class CFXEU_SetSecProps; |
510 friend class CFXEU_SetWordProps; | 510 friend class CFXEU_SetWordProps; |
511 friend class CFXEU_InsertText; | 511 friend class CFXEU_InsertText; |
512 | 512 |
513 public: | 513 public: |
514 explicit CFX_Edit(CPDF_VariableText* pVT); | 514 explicit CFX_Edit(CPDF_VariableText* pVT); |
515 ~CFX_Edit() override; | 515 ~CFX_Edit() override; |
516 | 516 |
517 // IFX_Edit | 517 // IFX_Edit |
518 void SetFontMap(IPVT_FontMap* pFontMap) override; | 518 void SetFontMap(IPVT_FontMap* pFontMap) override; |
519 void SetVTProvider(CPDF_VariableText::Provider* pProvider) override; | |
520 void SetNotify(IFX_Edit_Notify* pNotify) override; | 519 void SetNotify(IFX_Edit_Notify* pNotify) override; |
521 void SetOprNotify(IFX_Edit_OprNotify* pOprNotify) override; | 520 void SetOprNotify(IFX_Edit_OprNotify* pOprNotify) override; |
522 IFX_Edit_Iterator* GetIterator() override; | 521 IFX_Edit_Iterator* GetIterator() override; |
523 CPDF_VariableText* GetVariableText() override; | 522 CPDF_VariableText* GetVariableText() override; |
524 IPVT_FontMap* GetFontMap() override; | 523 IPVT_FontMap* GetFontMap() override; |
525 void Initialize() override; | 524 void Initialize() override; |
526 void SetPlateRect(const CFX_FloatRect& rect, FX_BOOL bPaint = TRUE) override; | 525 void SetPlateRect(const CFX_FloatRect& rect, FX_BOOL bPaint = TRUE) override; |
527 void SetScrollPos(const CFX_FloatPoint& point) override; | 526 void SetScrollPos(const CFX_FloatPoint& point) override; |
528 void SetAlignmentH(int32_t nFormat = 0, FX_BOOL bPaint = TRUE) override; | 527 void SetAlignmentH(int32_t nFormat = 0, FX_BOOL bPaint = TRUE) override; |
529 void SetAlignmentV(int32_t nFormat = 0, FX_BOOL bPaint = TRUE) override; | 528 void SetAlignmentV(int32_t nFormat = 0, FX_BOOL bPaint = TRUE) override; |
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
794 int32_t charset, | 793 int32_t charset, |
795 int32_t nFontIndex) override; | 794 int32_t nFontIndex) override; |
796 int32_t GetDefaultFontIndex() override; | 795 int32_t GetDefaultFontIndex() override; |
797 FX_BOOL IsLatinWord(uint16_t word) override; | 796 FX_BOOL IsLatinWord(uint16_t word) override; |
798 | 797 |
799 private: | 798 private: |
800 IPVT_FontMap* m_pFontMap; | 799 IPVT_FontMap* m_pFontMap; |
801 }; | 800 }; |
802 | 801 |
803 #endif // FPDFSDK_FXEDIT_INCLUDE_FXET_EDIT_H_ | 802 #endif // FPDFSDK_FXEDIT_INCLUDE_FXET_EDIT_H_ |
OLD | NEW |