Spire.PDF for Python 12.10.0 supports adding a new flow-layout content addition module

2026-10-12 08:48:46

We're pleased to announce the release of Spire.PDF for Python 12.10.0. This version supports adding a new flow-layout content addition module, which provides key features such as automatic pagination, page templates, multi-section documents, headings, TOC, paragraphs, lists, tables, images, charts, barcodes, and accessible PDF generation. Meanwhile, the conversion speed from PDF to Word has also been optimized. More details are listed below.

Here is a list of changes made in this release

Category ID Description
New Feature SPIREPDF-8150 Adds the new flow-layout content addition module, supporting key features including:
  • Automatic pagination: Content is automatically split across pages when it overflows.
  • Page templates: Header, footer, watermark, margins, and custom page size.
  • Multi-section documents: Multiple sections, each laid out independently.
  • Multi-section documents: Multiple sections, each laid out independently.
  • Headings and TOC: Three heading levels, automatically generating TOC, bookmarks, and hyperlinks.
  • Paragraphs and lists: Inline text/images/hyperlinks, bulleted/numbered lists, and code blocks.
  • Tables: Header/footer rows, merged cells, fixed/proportional/automatic column widths, and nested tables.
  • Images and layout: Text wrapping around images, and multi-column side-by-side panels.
  • Charts: Bar, line, pie, scatter, histogram, and stacked bar charts.
  • Barcodes: 14 types including Code128, Code39, EAN-13, and QR Code.
  • Accessible PDF: One-click generation of tagged PDF.
 from spire.pdf import *

  pdf = PdfDocument()
  builder = PdfContentBuilder(pdf)

  template = PdfPageTemplate()
  template.SetHeader("Product Manual", PdfTextAlignment.Center)
  template.SetFooter("Page {page} of {totalPages}", PdfTextAlignment.Center)
  section = builder.AddSection(template)

  section.AddHeading1("1. Introduction")
  section.AddParagraph("Content flows across pages automatically.")
  section.AddBulletList(["Fast", "Stable", "Easy to use"])

  builder.Build()
  pdf.SaveToFile("output.pdf")
  pdf.Close()
Bug Fix SPIREPDF-7549 Optimizes and improves the conversion speed from PDF to Word.
Click the link below to download Spire.PDF for Python 12.10.0: