summaryrefslogtreecommitdiffstats
path: root/include/sfx2/objsh.hxx
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2020-01-08 16:19:36 +0100
committerTomaž Vajngerl <quikee@gmail.com>2020-01-09 17:05:05 +0100
commit08886d9d01eb5d3356290ba6d8eeca899cde45cc (patch)
tree9ee9700b82bd44203b31d0e59b405f47cf8358ba /include/sfx2/objsh.hxx
parentadd hook for on-demand welded toolbar popover creation (diff)
downloadcore-08886d9d01eb5d3356290ba6d8eeca899cde45cc.tar.gz
core-08886d9d01eb5d3356290ba6d8eeca899cde45cc.zip
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/objsh.hxx')
-rw-r--r--include/sfx2/objsh.hxx4
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;