summaryrefslogtreecommitdiff
path: root/filter/source/pdf
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2020-01-04 11:24:24 +0100
committerTomaž Vajngerl <quikee@gmail.com>2020-01-04 17:36:54 +0100
commitb0a468d75ff96955e9e53027d35b248235cb68d0 (patch)
treee2c7f471776ddd3da72a79c5df650ee2afb28b2c /filter/source/pdf
parent197bbc5f17ac7f11cb07aefb935182eae1bc5ada (diff)
pdf: set the UniversalAccessibilityCompliance from the dialog
Change-Id: I380b760a39bcdbef271c948690b1c9a95c769b4f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86213 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'filter/source/pdf')
-rw-r--r--filter/source/pdf/pdfexport.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/filter/source/pdf/pdfexport.cxx b/filter/source/pdf/pdfexport.cxx
index 00e279047f73..5e5a9ccb930c 100644
--- a/filter/source/pdf/pdfexport.cxx
+++ b/filter/source/pdf/pdfexport.cxx
@@ -612,6 +612,13 @@ bool PDFExport::Export( const OUString& rFile, const Sequence< PropertyValue >&
break;
}
+ // PDF/UA support
+ aContext.UniversalAccessibilityCompliance = mbPDFUACompliance;
+ if (mbPDFUACompliance)
+ {
+ mbUseTaggedPDF = true;
+ }
+
// copy in context the values default in the constructor or set by the FilterData sequence of properties
aContext.Tagged = mbUseTaggedPDF;