Ask Your Question

In converting to a format for e-publishing a book manuscript formatted for printing, how do I delete the page breaks? Thank you.

asked 2015-12-08 23:56:49 +0100

editormichael gravatar image

Originally in Word, now in (of course) LibreOffice.

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted

answered 2020-08-24 02:03:00 +0100

LeroyG gravatar image

To delete one page break, put the cursor at the beggining of the page wich is after the page break, and press Backspace.

To delete multiple page breaks see the answer to:

Add Answer is reserved for solutions.

edit flag offensive delete link more

answered 2020-08-24 08:21:34 +0100

gabix gravatar image

updated 2020-08-24 08:22:04 +0100

Another solution: a macro as follows:

Sub  DeleteAutoPageBreaks 
     oDoc = ThisComponent 
     oStyles = oDoc.getStyleFamilies 
     oPageStyles = oStyles.getByName("PageStyles") 
     oPageStyleNames() = oPageStyles.getElementNames() 
     For i = 0 to uBound(oPageStyleNames) 
               thisName = oPageStyleNames(i) 
     Next i
     oCursor = oDoc.Text.CreateTextCursor()
                 If oCursor.BreakType <> Then
                           If NOT IsEmpty(oCursor.PageDescName) Then
                                      oCursor.PageDescName = ""
                                      oCursor.BreakType =
                           End If
                 End If
        Loop Until NOT oCursor.gotoNextParagraph(False)
     Msgbox "Farite"
 End Sub
edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2015-12-08 23:56:49 +0100

Seen: 75 times

Last updated: Aug 24 '20