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.

We're pleased to announce the release of Spire.PDF for Android via Java 10.8.7. This version adds support for signing with certificates that use algorithms such as SHA-256 and SHA-512, as well as tracking conversion progress through progress callbacks. It also adjusts the namespace of OfdConverter. More details are listed below.

Here is a list of changes made in this release

Category ID Description
New Feature - Added support for signing with certificates that use algorithms such as SHA-256/SHA-512.
PdfDocument doc = new PdfDocument();
        //Load file from disk
        doc.loadFromFile(inputFile);
        // Load the X509 certificate for signature.
        PdfPKCS7Formatter formatter = new PdfPKCS7Formatter(new PdfCertificate(inputFile_pfx, "e-iceblue"), false);

        // Create an instance of PdfOrdinarySignatureMaker using the loaded document and certificate.
        PdfOrdinarySignatureMaker signatureMaker = new PdfOrdinarySignatureMaker(doc, formatter);

        // Create an instance of PdfCustomSignatureAppearance as the appearance for the signature.
        IPdfSignatureAppearance signatureAppearance = new PdfCustomSignatureAppearance();

        // Make the signature with a specified name and the custom appearance.
        signatureMaker.makeSignature("Signature", signatureAppearance);
        for (HashAlgorithmType hashAlg : HashAlgorithmType.values()) { 
            if ("SM3".equalsIgnoreCase(hashAlg.name())) 
			{
                continue;
            }
                // Set the current hash algorithm
formatter.getProperties().setHashAlgorithm(hashAlg);
                String filePath = outputFile + "AddImageSignature_" + hashAlg.name() + ".pdf";
                doc.saveToFile(filePath, FileFormat.PDF);
        }
        doc.close();
    }
    public static class PdfCustomSignatureAppearance implements IPdfSignatureAppearance {
        public void generate(PdfCanvas pdfCanvas) {
            int fontSize = 10;
            PdfTrueTypeFont font = new PdfTrueTypeFont("Arial", 0,10, true);
            float lineHeight = fontSize;
            pdfCanvas.drawString("AAAAAAAAAAA", font, PdfBrushes.getRed(), 0, 0);
            pdfCanvas.drawImage(PdfImage.fromFile(ExStoragePath + "data/E-logo.png"), 20, 0);
        }
    }
New Feature - Added support for obtaining conversion progress via progress callback when converting PDF to Word, OFD to PDF, etc.
// Register a progress notifier when saving a PDF document
        PdfDocument pdf = new PdfDocument();
        pdf.loadFromFile(inputFile);
        pdf.registerProgressNotifier(new CustomProgressNotifier(outputFile_T));
        pdf.saveToFile(outputFile, FileFormat.XPS);
        pdf.dispose();

        // Register a progress notifier when converting PDF to Word
        PdfToWordConverter converter = new PdfToWordConverter(inputFile);
        converter.registerProgressNotifier(new CustomProgressNotifier(outputFile_T));
        converter.saveToDocx(outputFile);

        // Register a progress notifier when converting OFD to PDF
        OfdConverter ofdConverter = new OfdConverter(inputFile);
        ofdConverter.registerProgressNotifier(new CustomProgressNotifier(outputFile_T));
        ofdConverter.toPdf(outputFile);

        // Custom progress notifier, receives the progress in percent
        public class CustomProgressNotifier implements IProgressNotifier {
            private String outputFile;
            private StringBuilder str = new StringBuilder();

            public CustomProgressNotifier(String outputFile) {
                this.outputFile = outputFile;
            }

            @Override
            public void notify(float progress) {
                str.append("Progress: ").append(progress).append("%\n");
                try {
                    Files.writeString(Paths.get(outputFile), str.toString());
                } catch (Exception e) {
                    e.printStackTrace();
                }
            }
        }
Adjustment - The namespace of OfdConverter has been adjusted from com.spire.pdf.conversion to com.spire.additions.Ofd.
Click the link below to download Spire.PDF for Android via Java 10.8.7:

We're pleased to announce the release of Spire.Doc 14.10.9. This update supports setting the "Gap Width" option of the charts and the "Allow Overlap" option of Word tables. Most importantly, it introduces substantial breaking API changes. Developers should review the full API differences before upgrading and update their code where necessary.

Major API Changes

The following are only a few representative examples of the API changes in this release. There are many more changes beyond those listed here.

  • ChildObjects has been moved from DocumentObject to CompositeDocumentObject.
  • The return value of OwnerTextBody has been changed from Body to IBody, requiring an explicit cast.
  • The Id of Permission has been changed from string to int.
For detailed API differences compared with version 14.9.11, click the link below:

Here is a list of changes made in this release

Category ID Description
New Feature SPIREDOC-12110 Added support for setting the "Gap Width" option of the charts.
Document doc = new Document();
Paragraph p = doc.AddSection().AddParagraph();
Chart chart = p.AppendChart(ChartType.Column, 400, 300).Chart;
chart.Series.GapWidth = 100;
doc.SaveToFile("xxx.docx"); 
New Feature SPIREDOC-4261 Added support for setting the "Allow Overlap" option of Word tables.
Document doc = new Document();
doc.LoadFromFile(inputFile);
Section section = doc.Sections[0];
Spire.Doc.Table table = section.Tables[0] as Spire.Doc.Table;
table.Format.AllowOverlap=true;
doc.SaveToFile(outputFile_docx, FileFormat.Docx);
doc.Close();
Bug Fix SPIREDOC-12115 Fixed the issue where the header was lost when converting Word to PDF.
Click the link to download Spire.Doc 14.10.9:
More information of Spire.Doc new release or hotfix:

We're pleased to announce the release of Spire.Presentation 11.10.4. This version supports printing slides with notes and adjusts .NET Core package dependencies (migrating image processing for .NET 6.0/9.0/10.0 to SkiaSharp). Meanwhile, some issues that occurred when loading PPTX documents, converting PPT to PDF, and saving PPTX as PPSX have also been successfully fixed. More details are listed below.

Here is a list of changes made in this release

Category ID Description
New Feature SPIREPPT-3124 Adds support for printing slides with notes.
Presentation ppt = new Presentation();
ppt.LoadFromFile(inputFile);
PresentationPrintDocument document = new PresentationPrintDocument(ppt);
document.PrintSlidesWithNotes = true;
document.PrinterSettings.PrintToFile = true;
document.PrinterSettings.PrintFileName = outputFile;
ppt.Print(document);
Adjustment - Adjusts .NET Core packaging and dependencies for .NET 6.0, .NET 9.0, and .NET 10.0 by achieving cross-platform compatibility through .NET Standard specifications and migrating image processing from System.Drawing to SkiaSharp.
Bug Fix SPIREPPT-2675 Fixes the issue where loading a PPTX document with comments threw the "Comment by nonexistent author" error.
Bug Fix SPIREPPT-3177 Fixes the issue where color blocks were not displayed when converting PPT to PDF.
Bug Fix SPIREPPT-3199 Fixes the issue where saving a PPTX document as PPSX threw the "Object reference not set to an instance of an object" error.
Bug Fix SPIREPPT-3207 Fixes the issue where loading a certain PPTX document threw the "Object reference not set to an instance of an object" error.

.NET Core Packaging and Image Processing Changes

The dependencies for .NET 6.0, .NET 9.0, and .NET 10.0 have been updated as follows.
The dependencies listed here are minimum versions.

Dependency .NET 6.0 .NET 9.0 .NET 10.0
SkiaSharp ≥ 3.116.1 ≥ 3.116.1 ≥ 3.116.1
Microsoft.Win32.Registry ≥ 5.0.0 ≥ 5.0.0 ≥ 5.0.0
System.Buffers ≥ 4.5.1 ≥ 4.5.1 ≥ 4.5.1
System.Memory ≥ 4.5.5 ≥ 4.5.5 ≥ 4.5.5
System.Text.Encoding.CodePages ≥ 6.0.0 ≥ 9.0.0 ≥ 10.0.0
HarfBuzzSharp ≥ 8.3.0.1 ≥ 8.3.0.1 ≥ 8.3.0.1
Click the link below to download Spire.Presentation 11.10.4:

Spire.OCR 2.3.1 focuses on improvements for the .NET Standard platform. This release adds support for PaddleOCR 6.0.0 models, which no longer require spire_ocrsystem.dll and are available in three sizes: Tiny, Small, and Medium. The new models also support cross-platform deployment without requiring separate model configurations for different operating systems.

Summary of Updates

Category Description
New Feature Added support for PaddleOCR 6.0.0 ONNX models in Tiny, Small, and Medium sizes. Download links are provided below.
Cross-Platform Support Enabled the new models to run across supported platforms without operating-system-specific model variants.
Dependency Updates Adjusted the dependency requirements for .NET Standard projects, including updates to SkiaSharp, HarfBuzzSharp, and other packages.

New Feature

Support for PaddleOCR 6.0.0 Models

Spire.OCR 2.3.1 supports PaddleOCR 6.0.0 ONNX models. Unlike the previous model configuration, the new models do not depend on spire_ocrsystem.dll.

Three model sizes are available to accommodate different deployment requirements:

  • Tiny: For lightweight deployments.
  • Small: For general-purpose use.
  • Medium: For deployments that require a larger model.

The models support cross-platform use without requiring operating-system-specific model variants.

Model downloads:

Code Example

The following example configures the OCR scanner to use the Small model, sets English as the recognition language, extracts text from an image, and saves the result to a text file.

using System.IO;
using Spire.OCR;

OcrScanner scanner = new OcrScanner();

// Configure the scanner.
ConfigureOptions configureOptions = new ConfigureOptions();

// Set the path to the PaddleOCR 6.0.0 model.
configureOptions.ModelPath = @"Models\6.0.0\small";

// Set the recognition language.
configureOptions.Language = "English";

// Apply the configuration.
scanner.ConfigureDependencies(configureOptions);

// Recognize text in the image.
scanner.Scan("in.png");

// Save the recognized text to a file.
string text = scanner.Text.ToString();
File.WriteAllText("Output.txt", text);

Dependency Updates for .NET Standard

This release adjusts the dependencies required for .NET Standard projects. The following package versions are specified as minimum requirements:

Package Minimum Version
SkiaSharp 3.116.1
System.Buffers 4.6.1
System.Memory 4.6.3
Microsoft.Win32.Registry 4.5.0
System.Text.Encoding.CodePages 4.7.0
System.Security.Permissions 4.7.0
System.Runtime.CompilerServices.Unsafe 6.1.2
System.Runtime.CompilerServices.Unsafe 6.1.2
System.Runtime.InteropServices 4.3.0
HarfBuzzSharp 8.3.0.1
Microsoft.Bcl.Numerics 10.0.11
System.Numerics.Vectors 4.6.1
System.Threading.Tasks.Extensions 4.6.3
PolySharp 1.15.0
Click the link below to download Spire.OCR 2.3.1:
More information of Spire.OCR new release or hotfix:

We are pleased to announce the release of Spire.Presentation for Java 11.10.4. This version introduces support for converting PowerPoint (PPT & PPTX) documents to the Markdown file format. In addition, an issue related to PPTX-to-PDF conversion, which caused inconsistent content layouts, has been resolved. More details are as follows.

Here is a list of changes made in this release

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.
Click the link below to download Spire.Presentation for Java 11.10.4:
Page 1 of 30