How to split the text into paragraphs based on the characters limit on LibreOffice writer automatically?
The way I write a paragraph is four sentences a period at the end of each sentence and at the end of the fourth sentence hit enter to start a new paragraph.
Do you mean you want some automated means to split text into paragraphs based on some rule (a pattern of characters)?
Are you finding a small paragraph character limit for LibreOffice? According to point 2 below, a quick calculation of 2G characters might be over 300000 pages before you need a paragraph break.
- I found a limit for OpenOffice of 65534 characters, see 17171 – Paragraph cannot be longer than 65534 characters
- I found for LibreOffice the insertion of a line break at around 10,000 character for Text files (txt not odt), tdf#70423 but that sounds more like a solution than a problem in this instance. One comment in that bug report was " The only thing to solve here IMO is removing the arbitrary limit, since Writer is already able to handle 2G character long paragraphs." (My bolding, the arbitrary limit refers to txt files, but not Text (encoded))
After reading @EarnestAl’s comment, I understand differently the question, so posting my answer as comment.
A question for @Sh1: ¿Are you using a specific character as paragraph limit? Seeing your like to @ajlittoz’s comment, maybe do you need to use Find and Replace
.
A workaround to “convert” lines into paragraphs is:
- export the document as PDF
- open the PDF
- select and copy the text
- paste the text in a Writer document
Before first step, could be helpful to apply a monospaced font to the text.
Tested with LibreOffice 7.1.8.1.
What is a paragraph?
A paragraph is always created when the ↵ Enter key is pressed while writing in the word processor.
The end of the paragraph is represented by the character ¶ (“Pilcrow”).
The end of a paragraph is also the beginning of a new paragraph.
If the formatting characters are not visible, click on the symbol (Pilcrow) “Toggle formatting characters” ( Ctrl+F10
) in the “Standard” toolbar.
A paragraph (text) is thus delimited by a pilcrow at the beginning and at the end.
When you open Writer with an empty document, the first thing you see is a pilcrow, i.e. the end character of a paragraph.
A heading is also only a paragraph.
So, for example, if you see a pilcrow at the end of the line above a heading and at the end of the heading, this heading represents a separate paragraph in a line.
If you need a line break within a paragraph, you should press ⇧ Shift+↵ Enter. The line break is represented by a left arrow.
Note:
Paragraph switching with ↵ Enter
Line feed with ⇧ Shift+↵ Enter