We’re pleased to announce the release of Spire.OfficeViewer for .NET 9.1.1. This version adapts to the latest Spire.Doc.dll file and addresses the problem that prevents Word documents from loading properly.

Here is a list of changes made in this release

Category ID Description
Adjustment - Included the latest Spire.Doc.dll file.
Bug Fix - Fixed the issue where Word documents cannot be loaded properly.
Click the link to download Spire.OfficeViewer 9.1.1:

We’re pleased to announce the release of Spire.Presentation 11.11.1. This version enhances PowerPoint-to-PDF and Shape-to-image conversion and fixes several known issues. More details are listed below.

Here is a list of changes made in this release

Category ID Description
Bug Fix SPIREPPT-3210 Fixed an issue where shape colors were incorrect when converting PowerPoint documents to PDF.
Bug Fix SPIREPPT-3214 Fixed an issue where content was lost when converting PowerPoint documents to PDF.
Bug Fix SPIREPPT-3215 Fixed an issue where an extra border appeared when converting shapes to SVG.
Bug Fix SPIREPPT-3216 Fixed an issue where custom properties of PowerPoint documents were retrieved incorrectly.
Click the link below to download Spire.Presentation 11.11.1:

We’re pleased to announce the release of Spire.Doc for .NET 14.11.5. This version primarily addresses issues encountered during Word-to-PDF conversion and resolves an error in character count retrieval. More details are as follows.

Here is a list of changes made in this release

Category ID Description
Bug Fix SPIREDOC-12051 Fixed the issue where the character count was retrieved incorrectly.
Bug Fix SPIREDOC-12082 Fixed the issue where header images were displayed incompletely when converting Word to PDF.
Bug Fix SPIREDOC-12094 Fixed the issue where tables were incorrectly positioned when converting Word to PDF.
Bug Fix SPIREDOC-12122 Fixed the issue where a "StackOverflowException" was thrown during Word to PDF conversion.
Click the link to download Spire.Doc 14.11.5:
More information of Spire.Doc new release or hotfix:

We're pleased to announce the release of Spire.PDFViewer 8.3.4. This version adjusts the dependency of Spire.PdfViewer.Forms.dll in the NET6.0 folder, replacing the dependency on System.Drawing.Common >= 6.0.0 with SkiaSharp >= 3.116.1. More details are listed below.

Here is a list of changes made in this release

Category ID Description
Adjustment - For Spire.PdfViewer.Forms.dll in the NET6.0 folder, the dependency on System.Drawing.Common >= 6.0.0 has been replaced with SkiaSharp >= 3.116.1.
Click the link below to download Spire.PDFViewer 8.3.4:
More information of Spire.PDFViewer new release or hotfix:

We're pleased to announce the release of Spire.PDF 12.11.5. This version introduces two API changes affecting 3D artwork naming and XFA numeric field handling. More details are listed below.

Here is a list of changes made in this release

Category ID Description
Optimization - The namespace Spire.Pdf.Multiimedia._3DArtwork has been renamed to Spire.Pdf.Multiimedia.Artwork3D.
Optimization - The type of the XfaNumericField.Value property has been changed from decimal to double.
Click the link to download Spire.PDF 12.11.5:
More information of Spire.PDF new release or hotfix:

We're pleased to announce the release of Spire.PDF for Java 12.11.2. This version fixes some issues that occurred when using the product together with the Tess4J library and converting PDF to Word. More details are listed below.

Here is a list of changes made in this release

Category ID Description
Bug Fix SPIREPDF-8190 Fixes the issue where an exception was thrown when using the product together with the Tess4J library.
Bug Fix SPIREPDF-8198 Fixes the issue where text fonts were displayed incorrectly after converting PDF to Word.
Click the link below to download Spire.PDF for Java 12.11.2:
Monday, 09 November 2026 09:07

Spire.Office for Python 11.11.0 is released

We're pleased to announce the release of Spire.Office for Python 11.11.0. In this version, the Spire.Doc for Python adds a new method for comparing objects between two paragraphs. Spire.PDF for Python adds support for multiple PDF annotation types and also adds the new flow-layout content addition module. Spire.XLS for Python supports macro (VBA) functionality. Spire.Presentation for Python supports saving PPTX to video.Moreover, many known issues that occurred when converting, processing and saving Word/ Excel/ PDF/PowerPoint files have been successfully fixed. More details are listed below.

Click the link to download Spire.Office for Python 11.11.0:

Here is a list of changes made in this release

Spire.Doc for Python

Category ID Description
New Feature SPIREDOC-11128 Added the Paragraph.ReferenceEquals method for comparing objects between two paragraphs.
Bug Fix SPIREDOC-11676 Fixed the issue where an exception was thrown when adding comments under track revisions mode.
Bug Fix SPIREDOC-11771 Fixed the issue where the AppendChart method threw an AttributeError exception.
Bug Fix SPIREDOC-11877 Fixed the issue where the format of reply comments was incorrect.
Bug Fix SPIREDOC-11886 Fixed the issue where the result of adding ReplyComment was incorrect.
Bug Fix - Fixed the issue where extra pages were mistakenly deleted when removing pages from Word documents.
Bug Fix - Fixed the issue where some Symbol font characters went missing during Word-to-PDF conversion.

Spire.XLS for Python

Category ID Description
New Feature SPIREXLS-6151 Adds support for macro (VBA) functionality, including adding, getting, and deleting VBA projects.
//1.Add
workbook = Workbook()

# Add VBA project to document
vbaProject = workbook.VbaProject
vbaProject.Name = "SampleVBAMacro"
text = "Code page before modification: " + str(vbaProject.CodePage) + "\n"
vbaProject.CodePage = 936  # Set encoding to support Chinese characters

text += "Code page after modification: " + str(vbaProject.CodePage) + "\n"
File.WriteAllText(outputFile_TXT, text)

vbaModule = vbaProject.Modules.Add("SampleModule", VbaModuleType.Module)
# Does not support Chinese characters
vbaModule.SourceCode = """
    Sub ExampleMacro()
        ' Declare variables
        Dim ws As Worksheet
        Dim i As Integer
        ' Set reference to active worksheet
        Set ws = ActiveSheet
        ' Clear worksheet content (optional)
        ws.Cells.Clear
        ' Fill sample data
        With ws
            ' Write header row
            .Range("A1: C1").Value = Array("Serial No.", "Project Name", "Amount")
            ' Loop to fill 10 rows of data
            For i = 1 To 10
                .Cells(i + 1, 1).Value = i  ' Serial number column
                .Cells(i + 1, 2).Value = "Project " & i  ' Project name column
                .Cells(i + 1, 3).Value = i * 100  ' Amount column (sample calculation)
            Next i
            ' Auto-fit column widths
            .Columns("A:C").AutoFit
            ' Format header row
            With.Range("A1:C1")
                .Font.Bold = True
                .Interior.Color = RGB(200, 220, 255)  ' Light blue background
            End With
            ' Format amount column
            .Range("C2:C11").NumberFormat = "$#,##0.00"
        End With
        ' Show completion message
        MsgBox "Data population complete!", vbInformation, "Operation Prompt"
    End Sub"""

workbook.SaveToFile(outputFile_Xls, FileFormat.Version97to2003)
workbook.SaveToFile(outputFile_Xlsb, FileFormat.Xlsb2007)
workbook.SaveToFile(outputFile_Xlsm, FileFormat.Xlsm)
workbook.SaveToFile(outputFile_Xltm, FileFormat.XLTM)
workbook.Dispose()

//2.Obtain and modify
workbook = Workbook()
workbook.LoadFromFile(inputFile)  

worksheet = workbook.Worksheets[0]
vbaProject = workbook.VbaProject

// Modify worksheet module
mod = vbaProject.Modules.GetWorksheetModule(worksheet)
mod.Name = "IVbaModule"
mod.SourceCode = "Dim lRow As Long"
mod.Type = VbaModuleType.Module

// Save file
workbook.SaveToFile(outputFile)
workbook.Dispose()

//3. Delete
workbook1 = Workbook()
workbook1.LoadFromFile(inputFile_Module)
vbaProject1 = workbook1.VbaProject
vbaProject1.Modules.Remove("SampleModule")
workbook1.SaveToFile(outputFile_1)
workbook1.Dispose()
New Feature SPIREXLS-6169 Adds support for configuring PDF encryption when converting Excel to PDF.
            workbook = Workbook()
            #Load a excel document
            workbook.LoadFromFile(inputFile)   
            #Set permission password and permissions to encrypt converted pdf
            workbook.ConverterSetting.PdfSecurity.Encrypt("123", PdfPermissionsFlags.Print)
            #Convert excel to pdf
            workbook.SaveToFile(outputFile, FileFormat.PDF)
            workbook.Dispose()
Bug Fix SPIREXLS-6199 Fixes the issue where combining multiple CopyRangeOptions enum values threw an error.

Spire.Presentation for Python

Category ID Description
New Feature - Supported saving PPTX to video (.mp4/.wmv).
ppt = Presentation()
ppt.LoadFromFile(inputFile)
SaveToVideoOption saveOption = new SaveToVideoOption(ffmpegDir)
ppt.SaveToVideoOption=saveOption
ppt.SaveToFile(outputFile_mp4, FileFormat.MP4)
ppt.SaveToFile(outputFile_wmv, FileFormat.WMV)
ppt.Dispose()
Bug Fix SPIREPPT-3152 Fixed the issue where the program hung when converting PowerPoint to image.
Bug Fix SPIREPPT-3176 SPIREPPT-3178 Fixed the issue where an error was thrown when loading a PowerPoint file.

Spire.PDF for Python

Category ID Description
New Feature - Added support for Caret annotations.
 rect = RectangleF(100.0, 100.0, 10.0, 15.0)
  annotation = PdfCaretAnnotation(page, rect)
  annotation.Title = "CaretTest"
  annotation.Contents = "A caret annotation with default (None) symbol."
  annotation.Color = PdfRGBColor(0, 0, 255)
  annotation.Border.Width = 1
  annotation.Intent = "ParaCaret"
  PdfAnnotationCollection.Create(page).Add(annotation)
New Feature - Added support for Circle annotations.
annotation = PdfCircleAnnotation(page, rect)
  annotation.Color = PdfRGBColor(128, 0, 128)
  annotation.InteriorColor = PdfRGBColor(255, 255, 200)
  annotation.Border.Width = 2
  annotation.Border.Style = PdfBorderStyle.Solid
  annotation.Border.Effect = PdfBorderEffect.Cloudy
  annotation.Border.EffectIntensity = 2
  PdfAnnotationCollection.Create(page).Add(annotation)
New Feature - Added support for Square annotations.
annotation = PdfSquareAnnotation(page, rect)
  annotation.Color = PdfRGBColor(128, 0, 128)
  annotation.InteriorColor = PdfRGBColor(255, 255, 200)
  annotation.Border.Width = 2
  annotation.Border.Style = PdfBorderStyle.Dashed
  PdfAnnotationCollection.Create(page).Add(annotation)
New Feature - Added support for FileAttachment annotations.
fileSpecification = PdfFileSpecification("SalesReportChart.png", data)
  annotation = PdfFileAttachmentAnnotation(page, bounds, fileSpecification)
  annotation.Icon = PdfFileIcon.Graph
  annotation.Color = PdfRGBColor(Color.get_Teal())
  PdfAnnotationCollection.Create(page).Add(annotation)
New Feature - Added support for Movie annotations.
annotation = PdfMovieAnnotation(page, rect, "sample.wmv")
  annotation.Title = "My Movie Player"
  annotation.Movie.Poster = False
  annotation.Movie.Aspect = SizeF(16.0, 9.0)
  PdfAnnotationCollection.Create(page).Add(annotation)
New Feature - Added support for Screen annotations.
annotation = PdfScreenAnnotation(page, rect)
  annotation.Title = "ScreenWithBorder"
  annotation.Border.Width = 3.0
  annotation.Border.Style = PdfBorderStyle.Dashed
  PdfAnnotationCollection.Create(page).Add(annotation)
New Feature - Added support for RichMedia annotations.
annotation = PdfRichMediaAnnotation(page, rect, content)
  annotation.Content = PdfRichMediaContent()
  annotation.Color = PdfRGBColor(Color.get_Green())
  PdfAnnotationCollection.Create(page).Add(annotation)
New Feature - Added support for Widget annotations.
 doc.LoadFromFile("widget.pdf")
  a = PdfAnnotationCollection.Create(page).get_Item(0)
  a.Characteristics.BackgroundColor
  a.Characteristics.BorderColor
  a.Flatten()
New Feature SPIREPDF-7101 Added support for drawing Code 128 barcodes through the PdfCode128ABarcode interface.
message = '0123456789'
Code128 = PdfCode128ABarcode(message)
Code128.BarcodeToTextGapHeight = 1.0
Code128.TextDisplayLocation = TextLocation.Bottom
Code128.TextColor = PdfRGBColor(Color.get_Blue())
Code128.Draw(page, PointF(0.0, y))
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-7291 Fixed an issue where attachments failed to open after being added to a PDF.
Bug Fix SPIREPDF-7923 Fixed an issue where text replacement failed.
Bug Fix SPIREPDF-7939 Fixed an issue where extra spaces appeared in extracted text.
Bug Fix SPIREPDF-8119 Fixed an issue where the position was incorrect after drawing text using the PdfTextWidget interface.
Bug Fix SPIREPDF-7549 Optimizes and improves the conversion speed from PDF to Word.

We're pleased to announce the release of Spire.PDF for C++ 12.10.7. This version adds support for several new platforms, including Win-ARM64, Linux-ARM64, and OHOS. Most importantly, it introduces major structural and API changes to fully align its functionality with the .NET version. This is not a hot-swappable patch release. Existing projects cannot be upgraded simply by replacing the library files; source code modifications and a full recompilation are required. Developers should review the changes carefully before upgrading.

Major API Changes

To fully align the functionality of Spire.PDF for C++ with the .NET version, this release introduces major structural changes to the product package. Existing projects cannot be upgraded simply by replacing the library files. Source code modifications and a full recompilation are required.

For more details, please refer to:

Here is a list of changes made in this release

Category ID Description
Adjustment - Added support for the following platforms: win-arm64, linux-arm64, linux-musl-arm64, musl_x64, ohos-arm64-v8a, ohos-x86_64, osx-arm64, and osx-x64.
Adjustment - Removed the "Spire.Pdf.o.h" header file. The corresponding header files in their respective sub-namespaces must now be included instead.

Old version:

#include "Spire.Pdf.o.h"
using namespace Spire::Pdf;
using namespace std;

New version:

#include <iostream>
#include "Spire/Pdf/PdfDocument.h"
#include "Spire/Pdf/PdfPageBase.h"
#include "Spire/Pdf/PdfPageCollection.h"
#include "Spire/Pdf/Graphics/PdfCanvas.h"
#include "Spire/Pdf/Graphics/PdfFont.h"
#include "Spire/Pdf/Graphics/PdfFontFamily.h"
#include "Spire/Pdf/Graphics/PdfRGBColor.h"
#include "Spire/Pdf/Graphics/PdfSolidBrush.h"
using namespace Spire::Pdf;
using namespace Spire::Pdf::Graphics;
.......
Adjustment - Changed wide-character strings to UTF-8 narrow-character strings.

Old version:

intrusive_ptr<PdfFont> font = new PdfFont(PdfFontFamily::Helvetica, 20.f);
intrusive_ptr<PdfRGBColor> color = new PdfRGBColor(Color::GetBlue());
intrusive_ptr<PdfSolidBrush> brush = new PdfSolidBrush(color);
intrusive_ptr<PdfStringFormat> leftAlignment = new PdfStringFormat(PdfTextAlignment::Left, PdfVerticalAlignment::Middle);
page->GetCanvas()->DrawString(L"Left!", font, brush, 0, 20, leftAlignment);

New version:

intrusive_ptr<PdfFont> font = new PdfFont(PdfFontFamily::Helvetica, 20.f);
intrusive_ptr<PdfRGBColor> color = new PdfRGBColor(Color::GetBlue());
intrusive_ptr<PdfSolidBrush> brush = new PdfSolidBrush(color);
intrusive_ptr<PdfStringFormat> leftAlignment = new PdfStringFormat(PdfTextAlignment::Left, PdfVerticalAlignment::Middle);
page->GetCanvas()->DrawString("Left!", font, brush, 0, 20, leftAlignment);
Click the link to download Spire.PDF for C++ 12.10.7:

We’re pleased to announce the release of Spire.PDF 12.11.0. This version fixes several issues related to XFA form filling, PDF conversion, and printing, including failed form field filling, font changes during PDF-to-Word conversion, and content loss when printing PDF files. More details are listed below.

Here is a list of changes made in this release

Category ID Description
Bug Fix SPIREPDF-6282 Fixed an issue where some XFA form fields failed to be filled.
Bug Fix SPIREPDF-6661 Fixed an issue where fonts changed when converting PDF to Word.
Bug Fix SPIREPDF-6708 Fixed an issue where some content was lost when printing PDF files.
Bug Fix SPIREPDF-6867 Fixed an issue where the generated file could not be opened after converting PDF to Word.
Click the link below to download Spire.PDF 12.11.0:
More information of Spire.PDF new release or hotfix:
Friday, 30 October 2026 05:12

Spire.Office for Java 11.10.0 is released

We are pleased to announce the release of Spire.Office for Java 11.10.0. This version introduces two key enhancements: Spire.PDF for Java now supports setting fonts during HTML-to-PDF conversion and converting a specified page range of a PDF to Word, while Spire.Presentation for Java now supports converting PowerPoint presentations to Markdown. In addition, several issues occurred in the conversion and processing of Word, Excel, PDF, and PowerPoint files have been successfully fixed. Full details are provided below.

Click the link to download Spire.Office for Java 11.10.0:

Here is a list of changes made in this release

Spire.Doc for Java

Category ID Description
Bug Fix SPIREDOC-10471 Fixed the issue where the converted PDF content did not match the original Word document.
Bug Fix SPIREDOC-11959 SPIREDOC-12092 Fixed the issue where page numbers were displayed incorrectly after updating the Word table of contents field.
Bug Fix SPIREDOC-12025 Fixed the issue where the document content was incorrect after accepting revisions.
Bug Fix SPIREDOC-12055 Fixed the issue where extra blank pages were generated when converting Word to PDF.
Bug Fix SPIREDOC-12064 Fixed the issue where caption numbers were not automatically updated after inserting a caption.
Bug Fix SPIREDOC-12108 Fixed the issue where memory was not released in a timely manner during Word to PDF conversion.
Bug Fix SPIREDOC-12109 Fixed the issue where comments were still retained after clearing them, causing the operation to fail.
Bug Fix SPIREDOC-12114 Fixed the issue where an OutOfMemoryError was thrown when replacing long text.

Spire.XLS for Java

Category ID Description
Bug Fix SPIREXLS-6211 Fixed an issue where the Excel to PDF conversion program always hung and the conversion failed.

Spire.Presentation for Java

Category ID Description
New Feature SPIREPPT-2914 Added support for converting PPT(X) to Markdown file format.
Presentation presentaion = new Presentation();
presentaion.loadFromFile(inputFile);
presentaion.saveToFile(outputFile, FileFormat.Markdown);
presentaion.dispose();
Bug Fix SPIREPPT-3200 Fixed the issue where the layout of content was inconsistent after converting PPT(X) to PDF.

Spire.PDF for Java

Category ID Description
New Feature SPIREPDF-8121 Added support for setting fonts when converting HTML to PDF.
ConvertOptions options = new ConvertOptions();
options.setAllowedFonts(new String[] { "Times New Roman", "Arial" });
converter.convertToPdf(input, output, options);
New Feature SPIREPDF-8142 Added the setTextPen(PdfPen) method to PdfGridCellContent.
PdfDocument doc = new PdfDocument();
        PdfPageBase page = doc.getPages().add();

        PdfGrid grid = new PdfGrid();
        grid.getStyle().setCellSpacing(1.0f);
        PdfGridRow row = grid.getRows().add();
        grid.getColumns().add(2);

        float width = (float) page.getCanvas().getClientSize().getWidth()-(grid.getColumns().getCount() + 1);

        grid.getColumns().get(0).setWidth(width * 0.8f);
        PdfGridCell pdfGridCell = row.getCells().get(0);
        PdfGridCellStyle pdfGridStyle =new PdfGridCellStyle();
        PdfPen pen = PdfPens.getGreen();
        pdfGridStyle.setTextPen(pen);
        pdfGridStyle.setTextBrush(PdfBrushes.getBlack());
        Font font=new Font("方正仿宋_GBK", Font.PLAIN, 12);
        PdfTrueTypeFont trueTypeFont = new PdfTrueTypeFont(font, true);
        pdfGridStyle.setFont(trueTypeFont);
        pdfGridCell.setStyle(pdfGridStyle);
        pdfGridCell.setValue("Thank you for interest in Spire.PDF.");



        PdfGridCellContentList lst = new PdfGridCellContentList();
        PdfGridCellContent textAndStyle = new PdfGridCellContent();
        textAndStyle.setText("Thank you for interest in Spire.PDF.");
        textAndStyle.setFont(trueTypeFont);
        textAndStyle.setPen(PdfPens.Green());
        textAndStyle.setBrush(PdfBrushes.getGreen());
        lst.getList().add(textAndStyle);
        row.getCells().get(1).setValue(lst);

        PdfLayoutResult result = grid.draw(page, new Point2D.Float(10, 100));
        doc.saveToFile("result_Bold.pdf", FileFormat.PDF);
New Feature SPIREPDF-7439 Supports converting specified PDF page ranges to Word.
PdfToWordConverter pdfToWordConverter = new PdfToWordConverter(inputPath);

pdfToWordConverter.saveToDocx(0, 2, outputPath);
Bug Fix SPIREPDF-7542 Fixed an issue where spaces between words were lost when converting PDF to Word.
Bug Fix SPIREPDF-7659 Fixed an issue where chart data was lost when converting PDF to Word in flow layout mode.
Bug Fix SPIREPDF-7955 Fixed an issue where the conversion results were inaccurate when converting PDF to Word.
Bug Fix SPIREPDF-8103 Fixed an issue where font names had an extra prefix and bold formatting was lost when converting PDF to Word.
Bug Fix SPIREPDF-8120 Fixed an issue where formatting was incorrect when converting PDF to Word.
Bug Fix SPIREPDF-8157 Fixed an issue where a NoSuchMethodException was thrown when calling ImageReader.getImageMetadata.
Bug Fix SPIREPDF-6805/SPIREPDF-6891 Fixes the issue of layout errors when converting PDF to Word.
Bug Fix SPIREPDF-6960 Fixes the issue where spaces between words in table cells were lost when extracting table text.
Bug Fix SPIREPDF-6980 Fixes the issue where the color of the seal changed when converting PDF pages to images.
Page 2 of 32