ralfstuckert / pdfbox-layout

MIT License
155 stars 74 forks source link

Is there a way to prevent page breaks? #91

Open shadow2801 opened 2 years ago

shadow2801 commented 2 years ago

I want to create a document where specific text parts need to be on the same page and I'd like to avoid workarounds where I'd have to calculate where a page break would be and then insert empty lines. I haven't been able to insert pagebreaks either, char (12) or \f only cause an error.