From e58fcd3d60420c42554d0526c88a43ac3b0e6516 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Wed, 14 Sep 2022 08:35:28 +0200 Subject: sw content controls, dropdown: add PDF export Map this to vcl::PDFWriter::ListBoxWidget, which uses the /FT/Ch widget, i.e. a (dropdown) choice widget. Also extract a SwModelTestBase::StoreToTempFile() from the various test cases that export to a tempfile just by specifying the filter name. (cherry picked from commit 6b2433f3b66c1f118dabcd40924122deb2d4f204) Conflicts: sw/qa/inc/swmodeltestbase.hxx sw/qa/unit/swmodeltestbase.cxx Change-Id: If9ad52ae2553d7199e28188cfdf455353e202ccd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139940 Tested-by: Jenkins CollaboraOffice Reviewed-by: Miklos Vajna --- include/vcl/pdfwriter.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/vcl/pdfwriter.hxx b/include/vcl/pdfwriter.hxx index 56181deb5c3a..1a59a66c66f1 100644 --- a/include/vcl/pdfwriter.hxx +++ b/include/vcl/pdfwriter.hxx @@ -394,7 +394,7 @@ public: } }; - struct ListBoxWidget final : public AnyWidget + struct VCL_DLLPUBLIC ListBoxWidget final : public AnyWidget { bool DropDown; bool MultiSelect; -- cgit