Bug 138103 - Bullet list: Implement "Before" and "After" characters around bullet character
Summary: Bullet list: Implement "Before" and "After" characters around bullet character
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.1.0.0.alpha0+
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: needsDevEval
Depends on:
Blocks: ODF-import
  Show dependency treegraph
 
Reported: 2020-11-09 18:29 UTC by Olivier Hallot
Modified: 2023-01-19 22:02 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Hallot 2020-11-09 18:29:21 UTC
Open a bullet list style
Select "Position -> Number followed by"

3 options available:
- Space
- tab
- nothing

The enhancement is to add a non-breaking space ( ) to the list above.

Rationale:
On exporting to XHTML, the spaces and tabs are not rendered and the text is not fasten from the bullet. 

For numbering lists, there is provision to add characters following the numbering, and one can add a non-breaking space by pasting it in the field. This feature is not available in bullet lists.
Comment 1 Regina Henschel 2020-11-10 13:41:47 UTC
ODF has only the values "listtab", "nothing" and "space"(=U+0020) in the text:label-followed-by attribute (19.833 ODF 1.3 part3). I would not change that.

Instead, the attributes style:num-prefix (19.506) and style:num-suffix (19.507) are explicitly allowed in combination with text:bullet-char. It is only LibreOffice, that does not support it. So I would go to implement the "before" and "after" fields known from numbering, for bullets too.

I think export to XHTML is a different problem, because XHTML has no tab stops anyway and a tab-character is a white-space as others. A tab after a bullet is mostly used to jump to the indent position. To get such behavior in XHTML, you need "tab-size" from CSS3.
Comment 2 Olivier Hallot 2020-11-10 14:15:17 UTC
Thank you Regina for the comments.
 
You suggestion to implement "before" and "after" bullet character fits as well.

Changing bug summary to reflect correct approach.

"the attributes style:num-prefix (19.506) and style:num-suffix (19.507) are explicitly allowed in combination with text:bullet-char. It is only LibreOffice, that does not support it. So I would go to implement the "before" and "after" fields known from numbering, for bullets too."
Comment 3 Regina Henschel 2021-12-07 20:07:56 UTC
Missing implementation
Comment 4 Regina Henschel 2021-12-07 20:17:20 UTC
Next step is to get a proposal for a to be changed UI. (Perhaps together with a proposal for a UI for the new feature to allow texts other than dot between the levels of a numbered list.)