Summary: | Provide a possibility to change the strikethrough color | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | Dennis Roczek <dennisroczek> |
Component: | LibreOffice | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | NEW --- | ||
Severity: | enhancement | CC: | dennisroczek, heiko.tietze, rb.henschel, rgb.mldc, stephane.guillou, telesto, vsfoote |
Priority: | medium | Keywords: | filter:odf, filter:rtf |
Version: | Inherited From OOo | ||
Hardware: | All | ||
OS: | All | ||
See Also: | https://bugs.documentfoundation.org/show_bug.cgi?id=153299 | ||
Whiteboard: | |||
Crash report or crash signature: | Regression By: | ||
Bug Depends on: | |||
Bug Blocks: | 53412, 94587 | ||
Attachments: | Strike Through Color |
Description
Dennis Roczek
2023-03-25 14:29:09 UTC
Created attachment 186214 [details] Strike Through Color Manual modified file and added style:text-line-through-color="#D33115" as described in https://docs.oasis-open.org/office/OpenDocument/v1.3/os/part3-schema/OpenDocument-v1.3-os-part3-schema.html#__RefHeading__1420186_253892949 the strike through color / attribute is simply ignored. Manipulating the strikeout/overline/underline is available across modules with the "Character..." dialog. Handling of Underline and Overline both can be assigned a color But Strikeout offers 'Automatic' only, and seems bound to font color. It would be useful/consistent to be able to assign a strikeout color different to the font color. So differences for SID_ATTR_CHAR_STRIKEOUT, compared to SID_ATTR_CHAR_UNDERLINE or SID_ATTR_CHAR_OVERLINE Placement/weight of the strikeout and underline are taken from font metric [1] But would have issues of improving the UI as in bug 153299 =-ref-= [1] https://gerrit.libreoffice.org/c/core/+/140803 (In reply to Dennis Roczek from comment #2) > the strike through color / attribute is simply ignored. Confirmed. Edits to the 'dummy text' autotext with Overline, Underline and Strike through saved to Flat ODF. No entry for style:text-line-through-color is recorded. And if the stanza is added to the style in the XML, on opening to Writer it ignores the value taking the fallback of the fo:color value. While style:text-underline-color= and style:text-overline-color= receive HEX color values that are correctly parsed, and can changed via UI. If ODF allows to define the strike-trough color we should provide an option to manipulate. The character dialog / font effects offers space for it. We should not put controls on prominent positions such as sidebar or main menu as this attribute is rather a niche option. (In reply to Heiko Tietze from comment #5) > If ODF allows to define the strike-trough color we should provide an option > to manipulate. ODF has this as style:text-line-through-color https://docs.oasis-open.org/office/OpenDocument/v1.3/os/part3-schema/OpenDocument-v1.3-os-part3-schema.html#property-style_text-line-through-color But it is not implemented in LibreOffice, that is, if I add it in file markup the line will not be colored. So there is something more to do than adding a control for it. However, as it already exists in ODF we should implement it. |