Date: prev next · Thread: first prev next last
2019 Archives by date, by thread · List index


Hi Jerry,

On Mon, Aug 12, 2019 at 02:21:02PM -0400, Jerry Geis <jerry.geis@gmail.com> 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


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.