diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2022-10-24 22:38:56 +0200 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2022-11-17 05:47:28 +0100 |
commit | ef0858071faf93ce48237ea3948f50e288eb702b (patch) | |
tree | afedac6845d2b6e9abab75d3f0f3d11f4bb923cb /sw/inc | |
parent | ca03ea5c1ce7f1fa0702c004068a2592a723e669 (diff) |
sw: initial a11y check - first run when the document is opened
When the document is opened we first need to run the a11y check
on the whole document so we can report the a11y state in the
statusbar and set the a11y issues to the nodes.
Change-Id: I0573e8fd695e3b0560fa0554f4702c88e7980a13
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141786
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/OnlineAccessibilityCheck.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sw/inc/OnlineAccessibilityCheck.hxx b/sw/inc/OnlineAccessibilityCheck.hxx index 9ec6f28ba6b1..47e42a27de29 100644 --- a/sw/inc/OnlineAccessibilityCheck.hxx +++ b/sw/inc/OnlineAccessibilityCheck.hxx @@ -51,10 +51,12 @@ private: SwContentNode* m_pPreviousNode; SwNodeOffset m_nPreviousNodeIndex; sal_Int32 m_nAccessibilityIssues; + bool m_bInitialCheck; - void runCheck(SwContentNode* pNode); + void runAccessibilityCheck(SwContentNode* pNode); void updateStatusbar(); void updateNodeStatus(SwContentNode* pContentNode); + void initialCheck(); public: OnlineAccessibilityCheck(SwDoc& rDocument); |