office-gobmx/external/pdfium
Miklos Vajna 0f165b7f2f 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 82d90529dc (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>
2024-06-21 10:23:33 +02:00
..
inc/pch Update pdfium to 6536 2024-06-14 13:58:40 +02:00
annot.patch.1 tdf#161708 sw content controls: handle font color when exporting to PDF form 2024-06-21 10:23:33 +02:00
build.patch.1 Update pdfium to 6536 2024-06-14 13:58:40 +02:00
c++20-comparison.patch
constexpr-template.patch
Library_pdfium.mk Update pdfium to 6536 2024-06-14 13:58:40 +02:00
Makefile
Module_pdfium.mk
README
system-abseil.diff Update pdfium to 6536 2024-06-14 13:58:40 +02:00
UnpackedTarball_pdfium.mk tdf#161708 sw content controls: handle font color when exporting to PDF form 2024-06-21 10:23:33 +02:00
windows7.patch.1

External package containing pdfium.

"Insert -> Picture -> From File..." uses this library when a PDF file is
selected.

https://pdfium.googlesource.com/pdfium/

How to update the tarball:

version=$(git for-each-ref|grep chromium/|tail -n 1|sed 's|.*/||')
git checkout --track origin/chromium/$version
gclient sync
git archive --prefix=pdfium/ --format=tar origin/chromium/${version} > pdfium-${version}.tar
(cd ..; tar --append --file pdfium/pdfium-${version}.tar pdfium/third_party/freetype/src/include/ pdfium/third_party/freetype/src/src/)
(cd ..; tar --append --file pdfium/pdfium-${version}.tar pdfium/third_party/abseil-cpp/absl/)
(cd ..; tar --append --file pdfium/pdfium-${version}.tar pdfium/build/build_config.h pdfium/build/buildflag.h)
bzip2 pdfium-${version}.tar