Hello,
I compiled my document and found some empty pages. How can I look through each page and remove empty ones? I could not find anything useful for my case.
[Python] [Writer] Remove empty pages?
[Python] [Writer] Remove empty pages?
LibreOffice 6.0.7.3 on Linux Mint 20
Re: [Python][Writer] Remove empty pages?
What do you mean by 'empty page'... a page of blank paragraphs or unwanted manual page breaks?
Windows 10, Openoffice 4.1.11, LibreOffice 7.4.0.3 (x64)
Re: [Python][Writer] Remove empty pages?
Blank pages appeared due to paragraph breaks - the last element on the previous page inserts "PARAGRAPH_BREAK", and it adds another page, which does not fill. But if I insert a condition concerning this paragraph break, I observe bugs with the previous paragraph.
LibreOffice 6.0.7.3 on Linux Mint 20
Re: [Python][Writer] Remove empty pages?
In theory, any printer driver is able to ignore blank pages.
Co-admin french forum branch
Re: [Python] [Writer] Remove empty pages?
But my document is not for printing. The problem still not solved.
LibreOffice 6.0.7.3 on Linux Mint 20
Re: [Python] [Writer] Remove empty pages?
Look at your document in OpenOffice; turn on /View /Non printing Characters, and decide why there are blank pages. It is your document - you can see it, we can't.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
Re: [Python] [Writer] Remove empty pages?
Sorry, but I don't see any reason to make this problem personal. I'd like to see a pure solution: you get a document from somewhere and you have to remove blank pages from it. The problem looks simple in this wording, but how simple the solution is?
LibreOffice 6.0.7.3 on Linux Mint 20
Re: [Python] [Writer] Remove empty pages?
You still see a document that we cannot see. We can only guess what you are seeing and what you have done. You want a solution? Then give us a sample document.
This is like sending one's daughter to doctor to say her father (you) has a pain here(^); Doctor can only guess.
This is like sending one's daughter to doctor to say her father (you) has a pain here(^); Doctor can only guess.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
- Hagar Delest
- Moderator
- Posts: 32804
- Joined: Sun Oct 07, 2007 9:07 pm
- Location: France
Re: [Python][Writer] Remove empty pages?
I guess that you've to detail a bit this part:
I understand you add a paragraph break to prevent a bug. Fixing that bug in the previous paragraph may eliminate the need of the paragraph break and thus the blank page.yijinger wrote:Blank pages appeared due to paragraph breaks - the last element on the previous page inserts "PARAGRAPH_BREAK", and it adds another page, which does not fill. But if I insert a condition concerning this paragraph break, I observe bugs with the previous paragraph.
LibreOffice 24.2 on Xubuntu 24.04 and 7.6.4.1 portable on Windows 10