Ask Your Question
0

How to replace paragraph break into line break in LibreOffice Find and replace?

asked 2019-05-12 19:06:57 +0200

AdamKami gravatar image

I'm using LibreOffice 6.1.6 on Windows 10 and I'm trying to replace in my document (imported from other MS Office sources) almost all paragraph breaks into line break. The document consist mainly from one big table. I need to export it later into text, so I can not have any extra paragraph breaks in table row.

I tried many solution. No result.

Adam

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
2

answered 2019-05-12 20:11:32 +0200

Opaque gravatar image

updated 2019-05-12 20:12:43 +0200

Hello

from my understanding of https://help.libreoffice.org/Common/List_of_Regular_Expressions this cannot be done with LibreOffice's internal Find & Replace due to the fact that there is no shortcut of manual line break in the Replace field (\n has an ambigous meaning). But there is an extension at https://extensions.libreoffice.org/extensions/alternative-dialog-find-replace-for-writer called "Alternative Find & Replace for Writer", which can do that:

image description

edit flag offensive delete link more

Comments

Thanks. Works OK.

AdamKami gravatar imageAdamKami ( 2019-05-12 20:35:58 +0200 )edit
0

answered 2019-05-13 08:54:36 +0200

gabix gravatar image

Another solution: OOoFBTools (menu OOoFBTools → Process ends of lines/paragraphs).

edit flag offensive delete link more

Comments

If I unerstood it correctly this tool does processing of FictionBook2 files. So, to make this breaks conversion operation I need to convert my Writer document to FictionBook2, correct some breaks and then convert it back to Writer document?

AdamKami gravatar imageAdamKami ( 2019-05-14 12:29:08 +0200 )edit

No, the tool is intended for processing text files of any format supported by LibreOffice Writer (in particular, scanned and recognized) for subsequent export to FictionBook2 (and it can't process FB2 itself). Many of its features, like the one that I point to or, say, virtual keyboards, can be used for other tasks as well.

gabix gravatar imagegabix ( 2019-05-14 13:47:53 +0200 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2019-05-12 19:06:57 +0200

Seen: 132 times

Last updated: May 13