Skip to content

Version 4.2.3

Compare
Choose a tag to compare
@Sicos1977 Sicos1977 released this 26 Mar 17:23
· 15 commits to master since this release

Adds option to enable outlines (bookmarks) generation from header tags (same feature exists in wkhtmltopdf).

As this feature was added to chromium just recently, looks like it doesn't work yet in all scenarios and require following configuration:

  • Converter.UseOldHeadlessMode must be true
  • Page.printToPDF parameter generateDocumentOutline must be true
  • Page.printToPDF parameter generateTaggedPDF must be true (as tagged data used for outlines generation). This is enabled by default, but I've added configuration for it to PageSettings anyways
    (nor Converter.UseOldHeadlessMode=false nor --generate-pdf-document-outline works with Chromium 122 when used with Page.printToPDF currently)