editeng: add UNO API for semi-transparent text

Desktop / LibreOffice - Miklos Vajna [collabora.com] - 19 November 2019 12:16 EST

Keep the type internally as sal_uInt8, to be used as an alpha channel. Keep the type externally as sal_Int16, so it's consistent with the fill area transparency.

Change-Id: I5138a6b73526f20a40f93df4cff4951e2b11bd6d Reviewed-on: https://gerrit.libreoffice.org/83179

6fafae4d109f editeng: add UNO API for semi-transparent text
editeng/source/items/textitem.cxx | 6 ++++--
include/editeng/unoprnms.hxx | 1 +
include/editeng/unotext.hxx | 1 +
offapi/com/sun/star/style/CharacterProperties.idl | 8 ++++++++
4 files changed, 14 insertions(+), 2 deletions(-)

Upstream: cgit.freedesktop.org


  • Share