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:
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: