diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2024-02-14 09:35:14 +0100 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2024-02-15 10:38:54 +0100 |
commit | 28cc9382de067f647e9dde59834b137816574c3a (patch) | |
tree | d9825142521f9d2dfdc007ef3dbcc4e7cea4dc98 /uitest/demo_ui | |
parent | a04a555497b054e83bc7c8462ba342286508d3a5 (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.
Change-Id: Ib66e92c84235797cb4731e73d0a5b6286b6f3ab3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163328
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
(cherry picked from commit 4e2a4fbeb7c44cc47b3cf803cbcc6cba63b3d481)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163347
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'uitest/demo_ui')
0 files changed, 0 insertions, 0 deletions