diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2022-11-13 22:21:29 +0900 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2022-11-18 11:49:58 +0100 |
commit | 5e9ba2e6bc08493b10268abdec0c22c1d7c307f6 (patch) | |
tree | 69a8cc32446281d491aef1b7733369ab74531e57 /sw/inc | |
parent | 950bd818eb37e79c2276ce919f90d177255d5520 (diff) |
sw: handle joining and splitting nodes for online a11y check
Change-Id: I706bf56209beebbe2987bce436536c3d9ade51f1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142655
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/OnlineAccessibilityCheck.hxx | 1 | ||||
-rw-r--r-- | sw/inc/node.hxx | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/sw/inc/OnlineAccessibilityCheck.hxx b/sw/inc/OnlineAccessibilityCheck.hxx index 3d68a71f11db..5e1da9b77c99 100644 --- a/sw/inc/OnlineAccessibilityCheck.hxx +++ b/sw/inc/OnlineAccessibilityCheck.hxx @@ -66,6 +66,7 @@ private: public: OnlineAccessibilityCheck(SwDoc& rDocument); void update(SwPosition const& rNewPos); + void resetAndQueue(SwNode* pNode); sal_Int32 getNumberOfAccessibilityIssues() { return m_nAccessibilityIssues; } }; diff --git a/sw/inc/node.hxx b/sw/inc/node.hxx index e04266de1037..2807c0a5ef71 100644 --- a/sw/inc/node.hxx +++ b/sw/inc/node.hxx @@ -87,6 +87,7 @@ namespace sw struct AccessibilityCheckStatus { std::unique_ptr<sfx::AccessibilityIssueCollection> pCollection; + void reset(); }; } @@ -335,6 +336,8 @@ public: return m_aAccessibilityCheckStatus; } + void resetAndQueueAccessibilityCheck(); + private: SwNode( const SwNode & rNodes ) = delete; SwNode & operator= ( const SwNode & rNodes ) = delete; |