sc: filter: rtf: add method "AddFont"
commitcd96b37a41c2b59b579b07969c1ff12936b8df34
authorHenry Castro <hcastro@collabora.com>
Tue, 25 Jul 2023 19:31:22 +0000 (25 15:31 -0400)
committerAron Budea <aron.budea@collabora.com>
Thu, 3 Aug 2023 20:34:58 +0000 (3 22:34 +0200)
treeed5f6d5f754d03a67aaf69589043dcd2d2e999fd
parent3a2e38a8f3b1a324738c23ca59efc51544c2f29e
sc: filter: rtf: add method "AddFont"

Create a map font name associated with unique index.

"The \fonttbl control word introduces the font table group.
Unique \fN control words define each font available in the document,
and are used to reference that font throughout the document"..

Signed-off-by: Henry Castro <hcastro@collabora.com>
Change-Id: I028226cb539865f1980f953385c887a3bd4b8e3f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154905
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155260
(cherry picked from commit 81d59f2c125dff57fdfa17b119d6007f25ef500a)
sc/source/filter/inc/rtfexp.hxx
sc/source/filter/rtf/rtfexp.cxx