summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2024-02-13 08:11:54 +0100
committerMiklos Vajna <vmiklos@collabora.com>2024-02-13 11:48:25 +0100
commitc0da56cb3e9f9678cae7142dee03fb706a2aebd9 (patch)
treef917a3df41032b601fa1b701fb9ff38f12a1ce17 /sal
parent0cb78e2f6f76d5bb32487c6cf76a78bafedbbd45 (diff)
tdf#159483 sc HTML paste: handle data-sheets- attributes on a span
Copy multiple cells, including a formula from google sheets to Calc, the formula is handled as a formula by the HTML paste. Do the same for a single cell, then only the result is pasted. The trouble is that the data-sheets-* attributes appear on <td> elements for multiple cells, but they appear on a <span> for a single cell. Fix the problem by extending ScHTMLLayoutParser::ProcToken() to handle the HtmlTokenId::SPAN_ON token and share the code between the <td> and <span> handler, so this markup works in both cases. Note that this is the paste handler, the no changes to the normal HTML import are made for now. Change-Id: Id749df9062d8fcb9a2f0acd928585a304efaae28 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163291 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'sal')
0 files changed, 0 insertions, 0 deletions