https://bugs.documentfoundation.org/show_bug.cgi?id=50050

Michael Stahl (CIB) <michael.st...@cib.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|needsDevEval                |
                 CC|                            |michael.st...@cib.de

--- Comment #9 from Michael Stahl (CIB) <michael.st...@cib.de> ---
the dialog code is in sw/source/ui/index/cnttab.cxx

it works with instances of FormToken that have the sCharStyle member to
represent the character style.

it appears to me that the character style set on the LE link-end token does not
have a visible effect on the resulting entries; in
ToxTextGenerator::GenerateText a formatting hint is inserted, but it is
inserted with SetAttrMode::DONTEXPAND on an empty range, so it will not have a
visible effect.

this is unique to the LE token, the other ones can at least sometime generate
text to which the char style will be applied.

for the entire range between LS and LE, the sCharStyle of the LS token is
applied, overwriting any style set on inner tokens.

so either the LE token's char style should be synced to the LS token in the UI
so as to not confuse users, or the style widget should be disabled for the LE
token.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to