diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2020-01-08 16:19:36 +0100 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2020-01-09 17:05:05 +0100 |
commit | 08886d9d01eb5d3356290ba6d8eeca899cde45cc (patch) | |
tree | 9ee9700b82bd44203b31d0e59b405f47cf8358ba /include/sfx2 | |
parent | 1327fa4b1dff932500c690c263840fde192988ed (diff) |
tdf#45636 trigger accessibility check when exporting as PDF/UA
This triggers the accessibility check, when we want to export
the PDF with PDF/UA functionallity. If issues are found, it will
show the issues. OK will continue with export despite the issues
and cancel will cancel the whole PDF export.
Change-Id: I2fde97381e08e9c2c79473888caa36e8dd828979
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86387
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'include/sfx2')
-rw-r--r-- | include/sfx2/objsh.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sfx2/objsh.hxx b/include/sfx2/objsh.hxx index 28aae49924e3..083ad2dc667d 100644 --- a/include/sfx2/objsh.hxx +++ b/include/sfx2/objsh.hxx @@ -39,6 +39,7 @@ #include <set> #include <o3tl/typed_flags_set.hxx> #include <functional> +#include <sfx2/AccessibilityIssue.hxx> class SbxValue; class SbxArray; @@ -553,6 +554,9 @@ public: virtual std::set<Color> GetDocColors(); + // Accessibility Check + virtual sfx::AccessibilityIssueCollection runAccessibilityCheck(); + // Documents, for which to format the view size virtual SfxObjectShell* GetObjectShell() override; |