Ask Your Question
1

How do I find a hard page or paragrah break and replace it with a text string? [closed]

asked 2016-11-07 22:57:50 +0200

Moose Breath gravatar image

updated 2020-08-22 17:31:22 +0200

Alex Kemp gravatar image

I want to replace ALL paragraph or hard page breaks with a character string. The target is not necessarily HTML.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2020-08-22 17:31:42.321646

1 Answer

Sort by » oldest newest most voted
2

answered 2016-11-08 08:37:28 +0200

pierre-yves samyn gravatar image

Hi

You can do this with AltSearch extension.

screenshot

Search for regular: \m Replace: \r

\r removes manual column or page breaks in the found paragraph(s)

You can find help about this extension here.

Notes:

  • This does not delete page breaks generated by tables (Table PropertiesText Flow tab)
  • This delete page breaks generated by paragraph styles, so you get "manual formatting" for these paragraphs (need to clear manual formatting to restore the break).

Regards

edit flag offensive delete link more

Comments

Take care: as far as I know, paragraphs can't be longer than 64 k characters, so if your file is longer, you may lose data.

floris v gravatar imagefloris v ( 2016-11-08 08:44:28 +0200 )edit

Hi @floris v

4.3 raises the 16bit (65,535) characters limitation of Writer paragraphs to 32bit (2,147,483,647).

And here, all paragraphs are not affected, only those with a break.Nevertheless, you are right to draw attention to this point

Regards

pierre-yves samyn gravatar imagepierre-yves samyn ( 2016-11-08 09:04:09 +0200 )edit

That's good news. :) Thanks for pointing that out.

floris v gravatar imagefloris v ( 2016-11-08 09:32:08 +0200 )edit

Question Tools

1 follower

Stats

Asked: 2016-11-07 22:57:50 +0200

Seen: 88 times

Last updated: Nov 08 '16