summaryrefslogtreecommitdiff
path: root/include/vcl/pdfwriter.hxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2022-09-13 15:23:31 +0200
committerMiklos Vajna <vmiklos@collabora.com>2022-09-13 18:43:09 +0200
commit9bad5be0ffdcdee92d40162b598ed2ab2815e5d5 (patch)
tree1094ed1ba8e503d6d24d5493715205d1ee9f1039 /include/vcl/pdfwriter.hxx
parent849601bdec341eaee3cafc46fbe3cf223f06fb7d (diff)
sw content controls, checkbox: add PDF export
Map this to vcl::PDFWriter::CheckBoxWidget, which uses the /FT/Btn widget, i.e. a (toggle) button which is not a pushbutton or a radiobutton). Also avoid a border for content controls: it just cuts out some part of the rich text/plain text content control filled in text + causes a double border for checkboxes, so not useful. Change-Id: If8dd63fe71d7c2ba9bea4bf2ecc6621fefb74fd6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139864 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'include/vcl/pdfwriter.hxx')
-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 cb008fcec280..8860675de688 100644
--- a/include/vcl/pdfwriter.hxx
+++ b/include/vcl/pdfwriter.hxx
@@ -334,7 +334,7 @@ public:
}
};
- struct CheckBoxWidget final : public AnyWidget
+ struct VCL_DLLPUBLIC CheckBoxWidget final : public AnyWidget
{
bool Checked;
OUString OnValue; // the value of the checkbox if it is selected