summaryrefslogtreecommitdiff
path: root/linguistic/source/lngsvcmgr.hxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2024-02-14 09:35:14 +0100
committerMiklos Vajna <vmiklos@collabora.com>2024-02-14 15:25:10 +0100
commit1d30e8bbb945c73aaf4114d927683990b3331dc8 (patch)
treed1ce1dc7e0f6381d0c77160eddd5d56f40a9cc60 /linguistic/source/lngsvcmgr.hxx
parenta85070ec1bd01ed7a3c2149919edc5e4f39da7b6 (diff)
tdf#159483 sc HTML export: handle data-sheets-value attribute for the text case
HTML pasting "'01" from google sheets to Calc worked already, but HTML copying from Calc still converted 01 to 1. What's required is to emit a general marker in the HTML output and then the correct data-sheets-value attribute on the relevant <td> element. Add a way to inject a marker in ScHTMLExport::WriteBody() (so data-sheets-* is considered at all) and extend ScHTMLExport::WriteCell() to write the data-sheets-value attribute for the text case as a start. Other types like booleans are not yet handled at export time. (cherry picked from commit 4e2a4fbeb7c44cc47b3cf803cbcc6cba63b3d481) Change-Id: Ib66e92c84235797cb4731e73d0a5b6286b6f3ab3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163365 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'linguistic/source/lngsvcmgr.hxx')
0 files changed, 0 insertions, 0 deletions