Presently the process for numbering specific paragraphs is: Choose Tools - Line Numbering. Select Show numbering. Press F11 to open the Styles and Formatting window, and then click the Paragraph Styles icon. Right-click the "Default" paragraph style and choose Modify. All paragraph styles are based on the "Default" style. Click the Numbering tab. In the Line Numbering area, clear the Include this paragraph in line numbering check box. Click OK. Select the paragraph(s) where you want to add the line numbers. Choose Format - Paragraph, and then click the Numbering tab. Select Include this paragraph in line numbering. Click OK. This is long-winded and tedious. I would respectfully suggest simplifying it to: a) Select text / paragraphs b)(New command) Number lines in selected text
Requesting sage UX advice.
Your use case is a little bit exaggerated since paragraphs do not have line numbering by default. So it's only Choose Format - Paragraph, and then click the Numbering tab. Select Include this paragraph in line numbering. Click OK. And you want a direct formatting like bold font or right alignment, right? Why don't you create two styles based on default or whatever you are using for text, one with and the other without this property? Sounds pretty straightforward to me.
Thank you. I agree that the instructions are tortuous, and I took them from this link. https://help.libreoffice.org/Writer/Adding_Line_Numbers
@Stephen: If you are satisfied with the styles option please close this bug by setting the status as resolved and worksforme. Otherwise it would be necessary to get a good reason for adding another access to the line numbering feature since we want to favor styles over direct formatting.