Description: When I save a document in text mode, I sometimes want the line breaks to match those shown in LibreOffice Writer. An example is a FILE_ID.DIZ file that has line breaks at 45 characters. Steps to Reproduce: 1. Load a file that you want to save as text with line breaks. 2. Click on File > Save As. 3. Look through list for "Text with Line Breaks (*.txt)". 4. This option is not found. Choosing "Text (*.txt)" does not put in line breaks. Actual Results: Choosing "Text (*.txt)" does not preserve the line breaks. Expected Results: It should include the option "Text with Line Breaks (*.txt)". Reproducible: Always User Profile Reset: No Additional Info: Version: 7.1.8.1 (x64) / LibreOffice Community Build ID: e1f30c802c3269a1d052614453f260e49458c82c CPU threads: 12; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win Locale: en-US (en_US); UI: en-US Calc: threaded
It is good to know that LibreOffice currently does break the lines in .txt files on ~10k characters which is filed as bug 70423.
If you insert line breaks manually in Writer and then save as text, are those manual line breaks not saved?
Dear David Wincelberg, This bug has been in NEEDINFO status with no change for at least 6 months. Please provide the requested information as soon as possible and mark the bug as UNCONFIRMED. Due to regular bug tracker maintenance, if the bug is still in NEEDINFO status with no change in 30 days the QA team will close the bug as INSUFFICIENTDATA due to lack of needed information. For more information about our NEEDINFO policy please read the wiki located here: https://wiki.documentfoundation.org/QA/Bugzilla/Fields/Status/NEEDINFO If you have already provided the requested information, please mark the bug as UNCONFIRMED so that the QA team knows that the bug is ready to be confirmed. Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-NeedInfo-Ping
You can manually insert line breaks and these line breaks would be preserved when the file is saved. However, putting them into a long paragraph or many paragraphs would be tedious. It would be nice if LibreOffice Writer had an option to put in these line breaks when the document is saved as text with line breaks. Another problem with manual line breaks is that you might edit a paragraph and then need to adjust the line breaks.
To me, this seems like a feature that might be nice but would be at a low priority. Even if this enhancement request were confirmed, it may be a long time before someone gets around to it. For more immediate results I recommend you use a decent text editor instead of a word processor for this case. For one example, UltraEdit already has this feature. Notepad++ probably does as well, but I don't have it installed at the moment.
As per Michael's suggestion, setting the status of this issue to NEW, but as a low priority enhancement.
I'd say this should be a WONTFIX. The general rule is "save as close to the document model as possible. This means that adding stuff not present in model is a no-go. After such a save, there's no way to load it as before: manual line breaks would break the text flow in paragraphs. The generation of such files is in the area of "use an extension".