[Bug 165598] Can't define an unordered list with no bullets
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Thu Mar 6 16:37:23 UTC 2025
https://bugs.documentfoundation.org/show_bug.cgi?id=165598
--- Comment #7 from Regina Henschel <rb.henschel at t-online.de> ---
(In reply to Eyal Rozenberg from comment #4)
> The ODF situation here is interesting: §16.32 says a list is supposed to
> have either bullets, numbers or images; but one can supposedly create a list
> (or list style) without providing any of the three ODF elements specifying
> the use of bullets, numbers or images. So maybe bullet-less lists _are_
> supported?
You can create a list (element <text:list>) without setting a list style. Then
an implementation-dependent list style is used. LibreOffice currently uses a
bulleted list in such cases.
I never would go that way, because it has huge interoperability consequences.
A list style is given by the <text:list-style> element. Either of the child
elements <text:text:list-level-style-number> or <text:list-level-style-bullet>
or <text:list-level-style-image> must exists. Something else is not possible.
The bullet character is defined in the `text:bullet-char` attribute of the
<text:list-level-style-bullet> element. This attribute is mandatory. That
means, that a bullet list without specifying a bullet character is not
possible.
https://docs.oasis-open.org/office/OpenDocument/v1.3/os/schemas/OpenDocument-v1.3-schema-rng.html#text-list-level-style-bullet-attr
But since U+20 SPACE or U+200B ZERO WIDTH SPACE or any other space character
works as "bullet" I see no problem. The use case "programmatically" is not
common, thus we can expect an advanced user. And for screen readers, it would
need a test, whether they say anything about the bullet character or whether
they report only the list level.
(In reply to Eyal Rozenberg from comment #6)
> (In reply to V Stuart Foote from comment #5)
> I will say that even with zero-width bullet, we would still need to make
> sure there's no spacing from the paragraph edge to the beginning of the
> text; and that the mouse-over behavior doesn't get messed up at the
> beginning of such paragraphs; etc.
The spacing is not defined by the bullet character, but by the settings in tab
"Position". It can be changed there, same as for any other list.
I do not support this enhancement request.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Libreoffice-ux-advise
mailing list