Hi Jerry,

On Mon, Aug 12, 2019 at 02:21:02PM -0400, Jerry Geis <[email protected]> 
wrote:
> What can I put in my HTML document that will cause a page break when
> converting to PDF
> with the --headless --convert-to pdf command line

If you just load a HTML document, it'll be loaded into Writer/Web, which
has no page breaks.

If you force loading into plain Writer like this:

--infilter="HTML (StarWriter)"

then you can use a markup like:

<p style="page-break-before: always">
first paragraph on the next page
</p>

to have a page break before a paragraph.

Are you looking at improving something in the Writer HTML filter? This
is the dev list after all. ;-)

Regards,

Miklos

Attachment: signature.asc
Description: Digital signature

_______________________________________________
LibreOffice mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to