summaryrefslogtreecommitdiff
path: root/sw/CppunitTest_sw_odfexport2.mk
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2024-06-21 08:32:05 +0200
committerMiklos Vajna <vmiklos@collabora.com>2024-06-21 13:38:25 +0200
commit38e3a4da66e0c3eaa5fd2e593131aa92a05548c3 (patch)
tree160b42cb55ba9fa8a03aa20e6938908ddfa0433e /sw/CppunitTest_sw_odfexport2.mk
parent4ab9fea75f552dcaa52e1c25d2bc841e965e0b4e (diff)
tdf#161708 sw content controls: handle font color when exporting to PDF form
Export the bugdoc to PDF, the orange "date" lost its font color. This went wrong in commit 82d90529dc2b3cb8359dec78852cbd910a66d275 (sw content controls, rich text: add initial PDF export, 2022-09-12), we export the content control as a PDF form widget by default since then. Various properties like checkbox status and dropdown items were handled already, but not text color. Fix the problem by mapping the SwFont color to the widget descriptor color, this fixes the color of the already filled in content of the widget. Note that given this is a property of the form widget, the color is correctly applied also to strings filled in via PDF readers, interacting with the form. Change-Id: Id3e8611e415c0d571afe1cd14561c97b8a910ce9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169317 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com> (cherry picked from commit 0f165b7f2f03d806eb14ba7529223d31e30674a8) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169295
Diffstat (limited to 'sw/CppunitTest_sw_odfexport2.mk')
0 files changed, 0 insertions, 0 deletions