Re: How to insert page breaks for html to pdf conversion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Jerry,

On Mon, Aug 12, 2019 at 02:21:02PM -0400, Jerry Geis <jerry.geis@xxxxxxxxx> 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
LibreOffice@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/libreoffice

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux