summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2022-09-14 08:35:28 +0200
committerMiklos Vajna <vmiklos@collabora.com>2022-09-15 08:11:11 +0200
commite58fcd3d60420c42554d0526c88a43ac3b0e6516 (patch)
treee183bd4c10ee42b36f0c780fc208c0e72e065e40 /include
parent67624e5cfe8ed49d0123e709378779c4e1a3cd49 (diff)
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 <jenkinscollaboraoffice@gmail.com> Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'include')
-rw-r--r--include/vcl/pdfwriter.hxx2
1 files changed, 1 insertions, 1 deletions
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;