diff options
Diffstat (limited to 'accessibility/inc/standard')
-rw-r--r-- | accessibility/inc/standard/vclxaccessibleedit.hxx | 3 | ||||
-rw-r--r-- | accessibility/inc/standard/vclxaccessibletextcomponent.hxx | 5 |
2 files changed, 8 insertions, 0 deletions
diff --git a/accessibility/inc/standard/vclxaccessibleedit.hxx b/accessibility/inc/standard/vclxaccessibleedit.hxx index b3b6a239b9d7..187a03264718 100644 --- a/accessibility/inc/standard/vclxaccessibleedit.hxx +++ b/accessibility/inc/standard/vclxaccessibleedit.hxx @@ -50,6 +50,9 @@ protected: virtual OUString implGetText() override; virtual void implGetSelection( sal_Int32& nStartIndex, sal_Int32& nEndIndex ) override; + // VCLXAccessibleTextComponent + virtual bool PreferFullTextInTextChangedEvent() override; + public: VCLXAccessibleEdit( VCLXWindow* pVCLXindow ); diff --git a/accessibility/inc/standard/vclxaccessibletextcomponent.hxx b/accessibility/inc/standard/vclxaccessibletextcomponent.hxx index 3585dd778574..9678eb15469b 100644 --- a/accessibility/inc/standard/vclxaccessibletextcomponent.hxx +++ b/accessibility/inc/standard/vclxaccessibletextcomponent.hxx @@ -40,6 +40,11 @@ class VCLXAccessibleTextComponent : public cppu::ImplInheritanceHelper< protected: void SetText( const OUString& sText ); + // Whether text segments for old/new value in AccessibleEventId::TEXT_CHANGED + // event should always include the whole old and new text instead of just + // the characters that changed between the two + virtual bool PreferFullTextInTextChangedEvent() { return false; }; + virtual void ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) override; // OCommonAccessibleText |