Spire.Presentation 10.9.1 fixes the issue of creating an extra slide when inserting SVG into Shape
We’re pleased to announce the release of Spire.Presentation 10.9.1. In this version, an issue has been fixed where a new slide was accidentally created when inserting an SVG into a specified shape in a multi-page PowerPoint presentation. Please see the details below.
Here is a list of changes made in this release
| Category | ID | Description |
| Bug | SPIREPPT-2976 | Fixes the issue of accidentally creating a new slide when inserting an SVG into a specified shape in a multi-page PowerPoint presentation. |
Spire.Barcode 7.4.1 fixes a font issue
We’re glad to announce the release of Spire.Barcode 7.4.1. This version fixes the font issue occurred when creating barcodes, and adjusts the dependencies as well. More details are list below.
Here is a list of changes made in this release
| Category | ID | Description |
| Adjustment | - | Removed the“System.Security.Cryptography.Pkcs”, “System.Security.Permissions”, and “System.Security.Cryptography.Xml” dependencies on .NET Core and .NET Standard platforms. |
| Bug | SPIREBARCODE-285 | Fixed the issue where specific fonts could not be recognized when creating barcodes. |
Spire.Presentation for Java 10.9.3 adds a new method to quickly retrieve the number of slides
We are pleased to announce the release of Spire.Presentation for Java 10.9.3. This version adds a new method to quickly retrieve the number of slides, and also fixes several issues that occurred when converting slides to images. More details are listed below.
Here is a list of changes made in this release
| Category | ID | Description |
| New feature | SPIREPPT-2978 | Adds the getSlidesCount() method to quickly retrieve the number of slides without fully parsing the entire document.
// Stream approach: InputStream stream = new FileInputStream(inputFile); int count = Presentation.getSlidesCount(stream); // File path approach: int count = Presentation.getSlidesCount(inputFile); |
| Bug | SPIREPPT-2908 SPIREPPT-2913 | Fixed an issue where the font rendering was incorrect when converting PPTX to PDF on Linux systems. |
| Bug | SPIREPPT-2916 | Fixed an issue where layout discrepancies occurred when converting slides to images. |
| Bug | SPIREPPT-2917 | Fixed an issue where table content overflowed its cells when converting slides to images. |
| Bug | SPIREPPT-2918 SPIREPPT-2924 | Fixed an issue where table borders were missing when converting slides to images. |
| Bug | SPIREPPT-2927 SPIREPPT-2966 | Fixed an issue where the rendering of LaTeX formulas was incorrect. |
Spire.PDF 11.9.8 adds SaveAsImage method in NETStandard DLL to customize image DPI when converting PDF to images
We're pleased to announce the release of Spire.PDF 11.9.8. This version adds the SaveAsImage method in the NETStandard DLL to support customizing image DPI when converting PDF to images, and introduces the Collate property to set the print order for multiple copies. Meanwhile, some issues that occurred in PDF conversion, font embedding, and annotation rendering 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 | SPIREPDF-7617 | Adds the SaveAsImage(int pageIndex, int dpiX, int dpiY) method in the NETStandard DLL to support customizing image DPI when converting PDF to images. |
| New Feature | SPIREPDF-7694 | Adds the Collate property in the NETStandard DLL to support setting the print order for multiple copies.
// true: Collated printing; default false: Uncollated printing doc.PrintSettings.Collate = true; |
| Bug Fix | SPIREPDF-6584 | Fixed an issue where memory consumption was high when using the NETStandard DLL to convert PDF to images. |
| Bug Fix | SPIREPDF-7072 | Fixed an issue where the retrieved font name was inaccurate when searching for text. |
| Bug Fix | SPIREPDF-7371 | Fixed an issue where the conversion result from OFD to PDF was incorrect. |
| Bug Fix | SPIREPDF-7373 | Fixed an issue where annotations were not displayed when converting PDF to XPS. |
| Bug Fix | SPIREPDF-7658 | Fixed an issue where the application threw an "Unexpected token before 158586" exception when loading a PDF document. |
| Bug Fix | SPIREPDF-7669 | Fixed an issue where the application threw an "ArgumentOutOfRangeException" when extracting text. |
| Bug Fix | SPIREPDF-7684 | Fixed an issue where the application threw an "Unknown annotation type value: 'Free Text'" exception when converting OFD to PDF. |
| Bug Fix | SPIREPDF-7706 | Fixed an issue where some fonts could not be embedded correctly after drawing text. |
Spire.Presentation for JavaScript 10.9.0 updates the Skiasharp dependency
We're excited to announce the release of Spire.Presentation for JavaScript 10.9.0. This version primarily updates the Skiasharp dependency to 3.116.1.
Here is a list of changes made in this release
| Category | ID | Description |
| Adjustment | - | Updated the Skiasharp dependency to 3.116.1. |
Spire.PDF for C++ 11.9.1 enhances the conversion from PDF to PDF/A-3a
We're pleased to announce the release of Spire.PDF for C++ 11.9.1. This release fixes several issues that occurred when converting PDF to PDF/A-3a, extracting text, and compressing PDF documents. Details are shown below.
Here is a list of changes made in this release
| Category | ID | Description |
| Bug | SPIREPDF-6110 | Fixed an issue where an exception was thrown when extracting text from split PDF pages. |
| Bug | SPIREPDF-6267 SPIREPDF-6269 | Fixes compatibility issues when using multiple products together in specific scenarios. |
| Bug | SPIREPDF-6768 | Fixed an issue where the output was blank after converting EMF to PDF. |
| Bug | SPIREPDF-6869 | Fixed an issue where standard compliance checks failed after converting PDF to PDF/A-3a. |
Spire.XLS for Java 15.9.1 enhances the conversion from Excel to HTML
We're pleased to announce the release of Spire.XLS for Java 15.9.1. This version enhances the conversion from Excel to HTML. Besides, some known bugs are fixed in the new version, such as the issue where an "IllegalStateException" exception was thrown when saving an XLSB file. More details are listed below.
Here is a list of changes made in this release
| Category | ID | Description |
| Bug | SPIREXLS-5927 | Fixed an issue causing extra content and missing blank lines when converting Excel to HTML. |
| Bug | SPIREXLS-5942 | Fixed an issue where an "IllegalStateException" exception was thrown when saving an XLSB file. |
| Bug | SPIREXLS-5944 | Fixed an issue causing pagination differences when converting Excel to PDF. |
| Bug | SPIREXLS-5946 | Fixed an issue where ChartPlotEmptyType changed from Interpolated to Gap when cloning a worksheet. |
Spire.Doc 13.9.3 supports adding PDF digital signatures and timestamps for Word to PDF conversion
We're pleased to announce the release of Spire.Doc 13.9.3. This version introduces public classes that enable adding digital signatures and timestamps when saving PDF documents. It also exposes bookmark column properties, adds search options for OfficeMath handling during text replacement, and supports setting page layout when converting to PDF. In addition, several issues related to Word-to-PDF conversion, document loading, and page counting have been fixed. See the full details below.
Here is a list of changes made in this release
| Category | ID | Description |
| New Feature | - | Adds public classes PdfDigitalSignatureHashAlgorithm, PdfDigitalSignatureInfo, and PdfDigitalSignatureTimestampConfiguration to enable adding digital signatures and timestamps when saving PDF documents.
Document sDoc = new Document();
sDoc.LoadFromFile(inputFile);
ToPdfParameterList toPdfParameter = new ToPdfParameterList();
toPdfParameter.DigitalSignatureInfo = new PdfDigitalSignatureInfo(pfxInputFile, pfxPassword, "Test signing", "Spire Doc");
toPdfParameter.DigitalSignatureInfo.HashAlgorithm = PdfDigitalSignatureHashAlgorithm.RipeMD160;
toPdfParameter.DigitalSignatureInfo.SignatureDate = nowDateTime;
toPdfParameter.DigitalSignatureInfo.TimestampConfiguration = new PdfDigitalSignatureTimestampConfiguration("https://freetsa.org/tsr", "bill", "Password");
sDoc.SaveToFile(outputFile3, toPdfParameter);
|
| New Feature | SPIREDOC-11376 | The Bookmark object now exposes FirstColumn and LastColumn properties, supporting retrieval of the column where a bookmark starts and where it ends.
int firstColumn = doc.Bookmarks["t_insert"].FirstColumn; int lastColumn = doc.Bookmarks["t_insert"].LastColumn; |
| New Feature | SPIREDOC-11445 | Adds the SearchOptions class, supporting the option to ignore or include OfficeMath formula text during text replacement.
SearchOptions op = new SearchOptions();
op.IgnoreOfficeMath = false;
doc.Replace("ab","new", op);
|
| New Feature | SPIREDOC-11452 | Adds the PageLayout property to support setting page layout when converting to PDF. The enumeration types are as follows: Default: Does not write a value; displayed according to the PDF reader's default view. SinglePage: Single page view. OneColumn: Continuous single-page view. TwoColumnLeft: Continuous two-page view, odd-numbered pages on the left. TwoColumnRight: Continuous two-page view, odd-numbered pages on the right. TwoPageLeft: Two-page view, odd-numbered pages on the left. TwoPageRight: Two-page view, odd-numbered pages on the right.
Document doc = new Document("xx.docx");
ToPdfParameterList toPdf = new ToPdfParameterList(){ PageLayout = PdfPageLayout.TwoColumnLeft };
doc.SaveToFile("xx.pdf", toPdf);
|
| Bug Fix | SPIREDOC-10022 | Fixes incorrect parsing of LaTeX formulas. |
| Bug Fix | SPIREDOC-10885 | Fixes inconsistent table styles when converting Word to PDF. |
| Bug Fix | SPIREDOC-10992 | Fixes header images being obscured when converting Word to PDF. |
| Bug Fix | SPIREDOC-11018 | Fixes incorrect text positioning when converting Word to PDF. |
| Bug Fix | SPIREDOC-11041 | Fixes incorrect paragraph indentation when converting Word to PDF. |
| Bug Fix | SPIREDOC-11129 | Fixes table content shifting when converting Word to PDF. |
| Bug Fix | SPIREDOC-11184 SPIREDOC-11391 | Fixes inconsistent table styles when converting Word to PDF. |
| Bug Fix | SPIREDOC-11384 | Fixes extra blank pages appearing when converting Word to PDF. |
| Bug Fix | SPIREDOC-11423 | Fixes System.NullReferenceException thrown when converting Word to PDF. |
| Bug Fix | SPIREDOC-11438 | Fixes ArgumentOutOfRangeException thrown when loading a Word document. |
| Bug Fix | SPIREDOC-11512 | Fixes incorrect page count retrieval. |
Spire.PDFViewer 8.1.8 supports MAUI on Windows
We are excited to announce the release of Sprie.PDFViewer 8.1.8. This update introduces support for MAUI on Windows and resolves the issue of incomplete PDF content display. For more details, see below.
Here is a list of changes made in this release
| Category | ID | Description |
| New feature | - | Added support for MAUI on Windows.(New product) |
| New feature | SPIREPDFVIEWER-610 | Added support in WinForm for applying border effect when selecting pages in Page Thumbnails. |
| Bug | SPIREPDFVIEWER-465 | Fixed the issue where the content of a PDF cannot fully display in WinForm. |
Spire.PDF for Python 11.9.0 supports adding tables to PDF
We're pleased to announce the release of Spire.PDF for Python 11.9.0. This version supports adding tables to PDF and adding annotations to multi-line text. Besides, an issue that occurred in the HTML files generated from PDFs has also been fixed. More details are listed below.
Here is a list of changes made in this release
| Category | ID | Description |
| New feature | SPIREPDF-7343 | Supports adding tables in PDF.
pdf = PdfDocument()
page = pdf.Pages.Add(PdfPageSize.A3())
pen = PdfPen(PdfRGBColor(Color.get_Black()), 0.1)
#Set line border location and size
x = 5.0
y = 5.0
width = page.Size.Width - (x * 2)
height = page.Size.Height - (y * 2)
page.Canvas.DrawRectangle(pen, x, y, width, height)
# Add table
grid = PdfGrid()
row = grid.Rows.Add()
grid.Columns.Add(2)
for i in range(grid.Columns.Count):
grid.Columns[i].Width = 50
row.Cells[i].Value = "add{0:d}".format(i + 1)
border = PdfBorders()
border.All = PdfPen(Color.get_Gray())
for j in range(grid.Rows.Count):
cells = grid.Rows.get_Item(j).Cells
for k in range(cells.Count):
cells.get_Item(k).Style.Borders = border
#Draw the grid table
grid.Draw(page, PointF(50.0, 50.0))
pdf.SaveToFile(outputFile)
pdf.Close()
|
| New feature | SPIREPDF-7501 | Supports adding annotations to multi-line text.
pdf = PdfDocument()
pdf.LoadFromFile(inputFile)
page = pdf.Pages[0];
finder = PdfTextFinder(page)
finder.Options.Parameter = TextFindParameter.WholeWord
finder.Options.Parameter = TextFindParameter.IgnoreCase
fragments = finder.Find("An older meaning still in use today is that of Aristotle, for whom scientific knowledge was a body of reliable knowledge that can be logically and rationally explained.")
textFragment = fragments[0]
text = "There is a markup annotation added by Spire.PDF for .NET."
quadPoints = [None for _ in range(len(textFragment.Bounds) * 4)]
for i in range(len(textFragment.Bounds)):
rect = textFragment.Bounds[i]
quadPoints[4 * i] = PointF(rect.Left, rect.Top)
quadPoints[4 * i + 1] = PointF(rect.Right, rect.Top)
quadPoints[4 * i + 2] = PointF(rect.Left, rect.Bottom)
quadPoints[4 * i + 3] = PointF(rect.Right, rect.Bottom)
annotation = PdfTextMarkupAnnotation(textFragment.Bounds[0], quadPoints)
annotation.Text = text
annotation.TextMarkupColor = PdfRGBColor(Color.get_Blue())
page.Annotations.Add(annotation)
pdf.SaveToFile(outputFile)
|
| New feature | SPIREPDF-7527 | Supports setting DPI when converting PDF to image.
pdf.SaveAsImage(pageIndex,dpiX,dpiY) |
| Bug | SPIREPDF-7594 | Fixes an issue where HTML files generated from PDF could not be edited normally in the "jodit-react WYSIWYG" editor. |