summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan-Marek Glogowski <jan-marek.glogowski@extern.cib.de>2019-08-07 10:18:06 +0000
committerJan-Marek Glogowski <jan-marek.glogowski@extern.cib.de>2019-08-07 10:33:39 +0000
commitf94a50f0556bc0c6e18ad390af589b9521ceb28c (patch)
treed88e53c8bcecf5870ca560caa64ae14e06b05a2f
parent599447d56e3b2625f5e6d843b77b41ffd4b4f1f2 (diff)
Explicitly disable form export for PDF/A-2
Give BRZ some time to actually adapt their scripts. They'll have to set ExportFormFields for LO >= 6.3 in any way, as general from export was enabled by commit c864d894a901 ("tdf#126642 always allow PDF/A form export"), which will be backported for 6.3 too to have a consistent state. Change-Id: I16b476a4b51b654161efe5f6f92420f76db1e294
-rw-r--r--filter/source/pdf/pdfexport.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/filter/source/pdf/pdfexport.cxx b/filter/source/pdf/pdfexport.cxx
index 387e2307ae9a..d17fffc7a120 100644
--- a/filter/source/pdf/pdfexport.cxx
+++ b/filter/source/pdf/pdfexport.cxx
@@ -575,6 +575,7 @@ bool PDFExport::Export( const OUString& rFile, const Sequence< PropertyValue >&
case 2:
aContext.Version = vcl::PDFWriter::PDFVersion::PDF_A_2;
mbUseTaggedPDF = true; // force the tagged PDF as well
+ mbExportFormFields = false; // force disabling of form conversion
mbRemoveTransparencies = false; // PDF/A-2 does allow transparencies
mbEncrypt = false; // no encryption
xEnc.clear();