Quantcast
Channel: Apache OpenOffice Community Forum
Viewing all articles
Browse latest Browse all 1291

Writer • Re: Delete blank page after table

$
0
0
Sub RemoveLastParagraphtxt = thiscomponent.texttc =txt.createtextcursorbyrange(txt.end)tc.createenumeration.nextelement.disposeEnd Sub
2016 topic [Solved] Undeletable page when filling whole page with table suggests that the page which the macro deletes will return if the document is saved and reopened. A test with OpenOffice 4.1.7 confirms that behavior. OpenOffice adds a paragraph to hold the table when the document is opened, so the unwanted page will return. Either use Format → Character → Font → Size → 2 or Format → Character → Font Effects → Hidden. If the unwanted page is only a problem when printing, just tell your printer driver not to print it.

If this solved your problem please go to your first post use the Edit button and add [Solved] to the start of the Subject field. Select the green checkmark icon at the same time.

Statistics: Posted by MrProgrammer — Sun Apr 28, 2024 7:59 pm



Viewing all articles
Browse latest Browse all 1291

Trending Articles