diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2022-11-23 13:39:40 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2022-11-23 15:47:03 +0100 |
commit | d1dd9b9733511ff451e264169537c08fa14c574f (patch) | |
tree | 7782a030dafe2398010c55da09d266580270eded /dbaccess/source/ui/inc/indexcollection.hxx | |
parent | 6c3cebd5aaec641807f5efed814fc5d1c64df149 (diff) |
Related: tdf#54053 PDF export: add UNO API to customize the watermark font name
The font name of the watermark text is currently hardwired to Helvetica,
a sans-serif font.
The problem is that this looks bad in case your document uses serif or
monospace fonts. Or perhaps your document uses a single font and you
want to make sure that the watermark uses exactly the same font.
Fix the problem by adding a new "WatermarkFontName" PDF export filter
option to specify the font name explicitly.
Example cmdline usage:
soffice --convert-to pdf:writer_pdf_Export:'{"Watermark":{"type":"string","value":"draft"}, "WatermarkFontName":{"type":"string","value":"Times"}}' test.odt
Change-Id: I2f065e1517236695b0a95369bdcd803125018587
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143143
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'dbaccess/source/ui/inc/indexcollection.hxx')
0 files changed, 0 insertions, 0 deletions