We're pleased to announce the release of Spire.PDF for Java 12.6.4. This version adds support for setting PDF reading direction and language, and enables more flexible formatting for PDF signature operations. Moreover, it also fixes two bugs affecting signature verification and image rendering. More details are listed below.

Here is a list of changes made in this release

Category ID Description
New Feature SPIREPDF-7990 Added support for setting PDF reading direction and language.
PdfDocument pdf = new PdfDocument();
pdf.loadFromFile(inputFile);
pdf.getViewerPreferences().setReadingDirection(PdfReadingDirection.LeftToRight);
pdf.setLanguage("zh-CN");
pdf.saveToFile(outputFile , FileFormat.PDF);
New Feature SPIREPDF-8091 Added an overload of IPdfSignatureFormatter to PdfMDPSignatureMaker, providing more flexible formatting support for PDF signature operations.
PdfDocument document = new PdfDocument();
PdfPageBase pdfPageBase = document.getPages().add();
pdfPageBase.getCanvas().drawString("Hello, World!",
new PdfFont(PdfFontFamily.Helvetica, 30f),
PdfBrushes.getBlack(), 10, 10);

PdfCertificate certificate = new PdfCertificate(path+"gary.pfx", "e-iceblue");
PdfPKCS7Formatter formatter = new PdfPKCS7Formatter(certificate, false);
String timeStampUrl = "https://rfc3161.ai.moda/adobe";
formatter.setTimestampService(new TSAHttpService(timeStampUrl));
formatter.setOCSPService(new OCSPHttpService(null));

PdfMDPSignatureMaker signatureMaker = new PdfMDPSignatureMaker (document, formatter, PdfMDPSignatureMaker.Level2Permissions);
signatureMaker.makeSignature("signName");
com.spire.pdf.interactive.digitalsignatures.PdfSignature signature = signatureMaker.getSignature();
signature.setName("Gary");
// signature.setReason("This is the final version.");
signature.setLocation("U.S.");
signature.setContactInfo("112554");

PdfSignatureAppearance appearance = new PdfSignatureAppearance(signature);
appearance.setNameLabel("Signer: ");
// appearance.setReasonLabel("Reason: ");
appearance.setLocationLabel("Location: ");
appearance.setContactInfoLabel("Phone: ");

PdfImage image = PdfImage.fromFile(path+"logo.png");
appearance.setSignatureImage(image);

appearance.setGraphicMode(GraphicMode.SignImageAndSignDetail);

Rectangle2D rect = new Rectangle2D.Float();
rect.setFrame(new Point2D.Float(90, 550), new Dimension(150, 80));

signatureMaker.makeSignature("Signature", pdfPageBase,
    (float) rect.getMinX(), (float) rect.getMinY(),
    (float) rect.getWidth(), (float) rect.getHeight(),
    appearance);

String output = "signature.pdf";
document.saveToFile(path+output, FileFormat.PDF);
document.close(); 
Bug Fix SPIREPDF-5475 Fixed an issue where signature validity verification was inaccurate.
Bug Fix SPIREPDF-8086 Fixed an issue where images were rendered incorrectly.
Click the link below to download Spire.PDF for Java 12.6.4:

We're pleased to announce the release of Spire.PDF for C++ 12.6.1. This version enhances the conversion from XPS to PDF. Meanwhile, some issues that occurred when converting PDF to the PdfX1A2001 standard and merging PDF documents have also been successfully fixed. More details are listed below.

Here is a list of changes made in this release

Category ID Description
Bug Fix SPIREPDF-8034 Fixes the issue where the resulting document reported an error when converting XPS to PDF.
Bug Fix SPIREPDF-8047 Fixes the issue where characters overlapped when converting XPS to PDF.
Bug Fix SPIREPDF-8057 Fixes the issue where image backgrounds turned black when converting PDF to the PdfX1A2001 standard.
Bug Fix SPIREPDF-8074 Fixes the issue where the program threw a "The index cannot be less than zero or greater than Count" exception when merging PDF documents.
Click the link below to download Spire.PDF for C++ 12.6.1:

We’re pleased to announce the release of Spire.Doc for Python 14.6.2. This update supports for license configuration via environment variables. More details are as follows.

Here is a list of changes made in this release

Category ID Description
New Feature - Spire.Doc now automatically detects and loads license information from the following environment variables:
SPIRE_OFFICE_LICENSE_KEY 
SPIRE_DOC_LICENSE_KEY 
SPIRE_LICENSE_KEY
Click the link to download Spire.Doc for Python 14.6.2:

We’re pleased to announce the release of Spire.XLS 16.6.3. This version includes an adjustment to the Worksheet.SaveToPdf() method by removing the FileFormat parameter. More details are listed below.

Here is a list of changes made in this release

Category ID Description
Adjustment - Removed the FileFormat parameter from the Worksheet.SaveToPdf() method.
Click the link below to download Spire.XLS 16.6.3:
More information of Spire.XLS new release or hotfix:

We're pleased to announce the release of Spire.Presentation for Python 11.6.2. This version adds support for configuring licenses via environment variables, with automatic recognition and loading of the following three variables: SPIRE_OFFICE_LICENSE_KEY, SPIRE_PPT_LICENSE_KEY, and SPIRE_LICENSE_KEY, optimizes the processing logic of multiple interfaces to further eliminate potential user experience issues, and fixes several exceptions when loading PPTX documents. More details are listed below.

Here is a list of changes made in this release

Category ID Description
New Feature - Added support for configuring licenses via environment variables, with automatic recognition and loading of the following three variables:
SPIRE_OFFICE_LICENSE_KEY
SPIRE_PPT_LICENSE_KEY
SPIRE_LICENSE_KEY
Optimization - Optimized the processing logic of multiple interfaces to further eliminate potential user experience issues.
Bug Fix SPIREPPT-3134 Fixed an issue where the program threw a "Microsoft PowerPoint 2007 file is corrupt." exception when loading PPTX documents.
Bug Fix SPIREPPT-3135, SPIREPPT-3136 Fixed an issue where the program threw an "Arg_NullReferenceException" exception when loading PPTX documents.
Click the link below to download Spire.Presentation for Python 11.6.2:

We're pleased to announce the release of Spire.XLS for Python 16.6.0. This version supports configuring licenses via environment variables, and optimizes the SaveToPdf() method. Details are listed below.

Here is a list of changes made in this release

Category ID Description
Optimization - Removed the FileFormat parameter from the Worksheet.SaveToPdf() method.
Before: SaveToPdf(filename, fileformat)
After: SaveToPdf(filename)
New Feature - Added support for configuring licenses via environment variables, with automatic recognition and loading of the following three variables:
SPIRE_OFFICE_LICENSE_KEY
SPIRE_XLS_LICENSE_KEY
SPIRE_LICENSE_KEY
Click the link to download Spire.XLS for Python 16.6.0:

We're pleased to announce the release of Spire.PDF for Python 12.6.2. This version supports configuring licenses via environment variables, with automatic recognition and loading of three specific variables: SPIRE_OFFICE_LICENSE_KEY, SPIRE_PDF_LICENSE_KEY, and SPIRE_LICENSE_KEY. More details are listed below.

Here is a list of changes made in this release

Category ID Description
New Feature SPIREPDF-8111 Adds support for configuring licenses via environment variables, with automatic recognition and loading of the following three variables:
  • SPIRE_OFFICE_LICENSE_KEY
  • SPIRE_PDF_LICENSE_KEY
  • SPIRE_LICENSE_KEY
Click the link to download Spire.PDF for Python 12.6.2:

We’re pleased to announce the release of Spire.Presentation 11.6.6. This version adds support for configuring default fonts and fixes several issues related to PowerPoint conversion, including SVG text splitting, PDF chart formatting, shape mapping, text positioning, and image loss. More details are listed below.

Here is a list of changes made in this release

Category ID Description
New Feature SPIREPPT-3044 Added support for configuring default fonts.
// Set default fonts
Presentation.SetDefaultLatinFontName("Arial");
Presentation.SetDefaultEastAsianFontName("Microsoft YaHei");
// Reset/restore the default font settings
Presentation.ResetDefaultEastAsianFontName();
Presentation.ResetDefaultLatinFontName();
Bug Fix SPIREPPT-3117 Fixed an issue where words were split when converting PowerPoint documents to SVG.
Bug Fix SPIREPPT-3125 Fixed an issue where chart data formats were incorrect when converting PowerPoint documents to PDF.
Bug Fix SPIREPPT-3130 Fixed an issue where the shape corresponding to a retrieved image in a PowerPoint document was incorrect.
Bug Fix SPIREPPT-3131 Fixed an issue where text shapes were offset when converting PowerPoint documents to PDF.
Bug Fix SPIREPPT-3139 Fixed an issue where images were missing when converting PowerPoint documents to PDF.
Click the link below to download Spire.Presentation 11.6.6:
More information of Spire.Presentation new release or hotfix:

We are pleased to announce the release of Spire.PDF 12.6.5. In this version, several PDF Action-related class names and properties have been renamed, and the PDF Destination APIs have been refactored. In addition, issues encountered during XPS-to-PDF and PDF-to-PDF/X conversion have been resolved. Detailed updates are listed below.

Here is a list of changes made in this release

Adjustment

Old class namespace New class namespace Old property name New property name
PdfLaunchAction PdfLaunchAction IsNewWindow NewWindow
PdfActionDestination PdfPredefinedAction
PdfEmbeddedGoToAction PdfEmbeddedGoToAction IsNewWindow NewWindow
PdfResetAction PdfResetFormAction
PdfSubmitAction PdfSubmitFormAction
PdfUriAction PdfURIAction Uri URI
PdfFieldActions PdfFormFieldAdditionalActions
PdfAnnotationActions PdfAnnotationAdditionalActions MouseEnter OnEnter
MouseLeave OnExit
MouseDown OnMouseDown
MouseUp OnMouseUp
GotFocus OnReceiveFocus
LostFocus OnLostFocus
Calculate /
Validate /
KeyPressed /
Format /
PdfDocumentActions PdfDocumentAdditionalActions Calculate OnCalculate
Validate OnValidate
KeyPressed OnModifyCharacter
Format OnFormat
MouseEnter OnEnter
MouseLeave OnExit
MouseDown OnMouseDown
MouseUp OnMouseUp
GotFocus OnReceiveFocus
LostFocus OnLostFocus
Old class name
(Spire.Pdf.General namespace)
New class name
(Spire.Pdf.Destinations namespace)
Old property name New property name
PdfDestination PdfDestination,
PdfExplicitDestination
PdfDestination
(Mode=Location)
PdfXYZExplicitDestination Location Left, Top
Rectangle /
Mode Type
PdfDestination
(Mode=FitToPage)
PdfFitExplicitDestination Location /
Rectangle /
Zoom /
Mode Type
PdfDestination
(Mode=FitH)
PdfFitHExplicitDestination Location Top
Rectangle /
Zoom /
Mode Type
PdfDestination
(Mode=FitR)
PdfFitRExplicitDestination Location /
Rectangle Left,Bottom, Right, Top
Zoom /
Mode Type
PdfDestination
(Mode=FitV)
PdfFitVExplicitDestination Location Left
Rectangle /
Zoom /
Mode Type
PdfFitBExplicitDestination
PdfFitBVExplicitDestination / Left

Bug Fix

ID Description
SPIREPDF-8034 Fixed the issue where the resulting document reported an error when converting XPS to PDF.
SPIREPDF-8047 Fixed the issue where characters overlapped when converting XPS to PDF.
SPIREPDF-8057 Fixed the issue where image backgrounds turned black when converting PDF to the PdfX1A2001 standard.
SPIREPDF-8074 Fixed the issue where the program threw a "The index can not be less then zero or greater then Count" exception when merging PDF documents.
Click the link below to download Spire.PDF 12.6.5:
More information of Spire.PDF new release or hotfix:

We're pleased to announce the release of Spire.Doc 14.6.9. This version optimizes the revision functionality, resulting in improved outcomes when partially accepting revisions, and fixes an issue where the result was incorrect when converting Word to PDF after accepting revisions. More details are listed below.

Here is a list of changes made in this release

Category ID Description
Optimization - Optimized the revision functionality, resulting in improved outcomes when partially accepting revisions.
Bug Fix SPIREDOC-11907 Fixed an issue where the result was incorrect when converting Word to PDF after accepting revisions.
Click the link below to download Spire.Doc 14.6.9:
More information of Spire.Doc new release or hotfix:
Page 1 of 22