sc: filter: rtf: add method "WriteFontTable"
commitc3b32a95236edeadd9450c7b989a259e82476b8f
authorHenry Castro <hcastro@collabora.com>
Tue, 25 Jul 2023 19:36:52 +0000 (25 15:36 -0400)
committerAron Budea <aron.budea@collabora.com>
Thu, 3 Aug 2023 20:37:28 +0000 (3 22:37 +0200)
treee14bd8dc48c7f01616bca77c9d5f36b07b4a4ead
parentcd96b37a41c2b59b579b07969c1ff12936b8df34
sc: filter: rtf: add method "WriteFontTable"

Write the font table while visiting column/row and
get the unique index to reference it.

"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: I20c5d1128972f5ec9b9b2e246f466bdb173ef8a4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154906
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155261
(cherry picked from commit 2d5732b254134da7942687ea3b1bb04859cc9c34)
sc/source/filter/inc/rtfexp.hxx
sc/source/filter/rtf/rtfexp.cxx