PD4ML v4.1.1 is out. It inherits all improvements and bug fixes of PD4ML v4.0.23fx2, including the new general-purpose PDF manipulation APIs, and on top of them brings a much better DOCX output.

DOCX output

  • Documents with tables in some styles open in Word again.
  • Line spacing and the spacing before and after paragraphs are kept.
  • Borders, backgrounds and other styles of block elements are kept, including sidebars: their background covers the whole block, and their padding is applied.
  • Headings with nested <span> elements stay on one line, and span backgrounds have the right height.
  • <br> is a real line break instead of a soft return, so the line before it is no longer justified.
  • Superscript links stay in place within the line.
  • <dd> elements are no longer turned into a numbered list.
  • Left indents are applied, e.g. for nested table of contents levels. RTF output got the same fix.
  • The page header is shown on the first page.
  • Headers and footers built as tables are rendered as one table, and the footer is shown on the first page.
  • Table header rows repeat on every page.
  • Images that were missing are embedded, and images are sized as in RTF output, so they fit the page width.
  • Documents converted from a URL are much closer to the RTF output.

Other changes

  • Issues found by a static analysis of the source code are fixed.