Currently neither character, nor paragraph direct formatting is shown for text in table cells. Would be great to show those, too.
After adding the feature, test inserting various objects (eg. shapes), and make sure there is no crash, to avoid bugs like bug 137105.
SI does show direct formatting properties for text in table cells.
I checked in :-
Version: 220.127.116.11.alpha0+ / LibreOffice Community
Build ID: fddad2ed797f1773ed5be979a0b05d3f976b744e
CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: gtk3
Locale: en-IN (en_IN); UI: en-US
Seems like this was fixed as a side-effect from the following commit, reverse-bibisected using repo bibisect-linux-64-7.2. Thanks to Michael Stahl for the fix.
author Michael Stahl <Michael.Stahl@cib.de> 2020-11-24 15:33:44 +0100
committer Michael Stahl <email@example.com> 2020-11-24 19:54:36 +0100
sw: fix SwXTextRange::createEnumeration() inside table cell
(In reply to Aron Budea from comment #2)
> Seems like this was fixed as a side-effect from the following commit,
> reverse-bibisected using repo bibisect-linux-64-7.2. Thanks to Michael Stahl
> for the fix.
> author Michael Stahl <Michael.Stahl@cib.de> 2020-11-24 15:33:44 +0100
> committer Michael Stahl <firstname.lastname@example.org> 2020-11-24 19:54:36 +0100
> sw: fix SwXTextRange::createEnumeration() inside table cell
if you attach a little document I could create a UItest for this
Created attachment 169436 [details]
(In reply to Xisco Faulí from comment #3)
> if you attach a little document I could create a UItest for this
Formatting in order of paragraphs:
- no formatting,
- no paragraph formatting, character formatting on 2nd word,
- paragraph formatting, no character formatting,
- paragraph formatting, character formatting on 2nd word.
Xisco Fauli committed a patch related to this issue.
It has been pushed to "master":
tdf#137513: sw: Add UItest
It will be available in 7.2.0.
The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.