2022-07-07:Spire.Office 7.7.2 for net 闪亮登场
In this version, the most recent versions of Spire.Doc, Spire.PDF, Spire.XLS, Spire.Presentation, Spire.Email, Spire.DocViewer, Spire.PDFViewer, Spire.Spreadsheet, Spire.OfficeViewer, Spire.DataExport, Spire.Barcode are included.
Spire.Office for .NET is a combination of Enterprise-Level Office .NET API offered by E-iceblue. It includes Spire.Doc, Spire.XLS, Spire.Spreadsheet, Spire.Presentation, Spire.PDF, Spire.DataExport, Spire.OfficeViewer, Spire.PDFViewer, Spire.DocViewer, Spire.Barcode and Spire.Email. Spire.Office contains the most up-to-date versions of the above .NET API.
Spire.Office for .NET can be linked into any type of a 32-bit or 64-bit .NET application including ASP.NET, Web Services and WinForms for .NET Framework version 2.0 to 4.5. Spire.Office also supports to work on .NET Core, .NET 5.0, .NET 6.0, Microsoft Azure, Mono Android and Xamarin.iOS.
With Spire.Office for .NET, developers can create a wide range of applications. It enables developers to open, create, modify, convert, print, View MS Word, Excel, PowerPoint and PDF documents. Furthermore, it allows users to export data to popular files such as MS Word/Excel/RTF/Access, PowerPoint, PDF, XPS, HTML, XML, Text, CSV, DBF, Clipboard, SYLK, PostScript, PCL, etc.
Here is a list of changes made in this release | ||
Spire.PDF | ||
Category | ID | Description |
New feature | SPIREPDF-5095 | Supports setting the author and subject for PDFLineAnnotation. |
if (annotation is PdfLineAnnotationWidget) | ||
{ | ||
PdfLineAnnotationWidget lineAnn = annotation as PdfLineAnnotationWidget; | ||
//PdfLineAnnotation lineAnn = annotation as PdfLineAnnotation; | ||
lineAnn.Author = "Author_test"; | ||
lineAnn.Subject = "Subject_test"; | ||
} | ||
New feature | SPIREPDF-5148 | Supports setting the ForeColor for CheckBox field. |
checkboxField.ForeColor = new PdfRGBColor(Color.Red); | ||
New feature | SPIREPDF-5154 | Adjusts the interface find.ApplyHighLight()to find.HighLight(), and this method improves the highlighting effect. |
New feature | - | Supports creating tagged structure PDF. |
PdfStringFormat format = new PdfStringFormat(); | ||
PdfTrueTypeFont font = new PdfTrueTypeFont(new System.Drawing.Font("Times New Roman", 10)); | ||
PdfPen pen = PdfPens.Black; | ||
PdfSolidBrush brush = new PdfSolidBrush(Color.Black); | ||
PdfDocument doc = new PdfDocument("HelloWord.pdf"); | ||
PdfLogicalStructure tree = PdfLogicalStructure.CreateLogicalStructure(doc); | ||
PdfStructureElement article = tree.AppendChildElement(PdfStandardStructTypes.Article); | ||
article.Title = "create tagged pdf"; | ||
PdfStructureElement paragraph1 = article.AppendChildElement(PdfStandardStructTypes.Paragraph); | ||
paragraph1.Title = "text paragraph1"; | ||
int mcid = 0; | ||
paragraph1.BeginMarkedContentSequence(doc.Pages[0].Canvas, "paragraph1", mcid); | ||
doc.Pages[0].Canvas.DrawString("paragraph1: PDF’s logical structure facilities (PDF 1.3) provide a mechanism for " + | ||
"incorporating structural information about a document’s content into a PDF file. Such information might include, " + | ||
"for example, the organization of the document into chapters and sections or the identification of special elements " + | ||
"such as figures, tables, and footnotes. The logical structure facilities are extensible, allowing applications that " + | ||
"produce PDF files to choose what structural information to include and how to represent it, while enabling PDF " + | ||
"consumers to navigate a file without knowing the producer’s structural conventions.", | ||
font, pen, brush, new Rectangle(40, 200, 480, 80), format); | ||
paragraph1.EndMarkedContentSequence(doc.Pages[0].Canvas); | ||
paragraph1.ReferenceContent(doc.Pages[0], mcid); | ||
PdfStructureElement paragraph2 = article.AppendChildElement(PdfStandardStructTypes.Paragraph); | ||
paragraph2.Title = "text paragraph2"; | ||
mcid = 1; | ||
paragraph2.BeginMarkedContentSequence(doc.Pages[0].Canvas, "paragraph2", mcid); | ||
doc.Pages[0].Canvas.DrawString("paragraph2: PDF logical structure shares basic features with standard document markup languages" + | ||
" such as HTML, SGML, and XML. A document’s logical structure is expressed as a hierarchy of structure elements, each" + | ||
" represented by a dictionary object. Like their counterparts in other markup languages, PDF structure elements can" + | ||
" have content and attributes. In PDF, rendered document content takes over the role occupied by text in HTML, SGML, and XML.", | ||
font, pen, brush, new Rectangle(40, 280, 480, 60), format); | ||
paragraph2.EndMarkedContentSequence(doc.Pages[0].Canvas); | ||
paragraph2.ReferenceContent(doc.Pages[0], mcid); | ||
doc.SaveToFile("Tagged.pdf"); | ||
New feature | SPIREPDF-5241 | Supports loading OFD file from stream |
Stream stream = File.OpenRead(inputFile); | ||
OfdConverter converter = new OfdConverter(stream); | ||
MemoryStream ms = new MemoryStream(); | ||
converter.ToPdf(ms); | ||
New feature | SPIREPDF-5166 | Adds an interface that supports print settings in WPF assembly |
PdfDocument.Print(PdfPrintSettings printSettings) | ||
Bug | SPIREPDF-704 | Fixes the issue that the PdfX1A2001 converted from PDF didn't conform to the specification. |
Bug | SPIREPDF-715 | Fixes the issue that the application threw the exception "Object reference not set to an instance of an object." when converting PDF to image. |
Bug | SPIREPDF-737 | Fixes the issue that caused blurred barcode after converting PDF to image. |
Bug | SPIREPDF-779 | Fixes the issue that the content was lost after converting XPS to PDF. |
Bug | SPIREPDF-1397 | Optimizes the time when printing. |
Bug | SPIREPDF-1443 | Fixes the issue that the barcode can't be scanned after printing |
Bug | SPIREPDF-4884 | Fixes the issue that failed to find the cross-line text. |
Bug | SPIREPDF-5096 | Fixes the issue that caused blurry barcode after converting PDF to image. |
Bug | SPIREPDF-5204 | Fixes the issue that caused incorrect barcode after converting PDF to image. |
Bug | SPIREPDF-5226 | Fixes the issue that the application threw the "NullReferenceException" when converting PDF to OFD. |
Bug | SPIREPDF-5228 | Fixes the issue that outputs were incorrect after converting PDF layers to image. |
Bug | SPIREPDF-5238 | Fixes the issue that the page number was lost after printing document. |
Bug | SPIREPDF-5249 | Fixes the issue that when converting PDF to OFD, the invisible content failed to convert. |
Bug | SPIREPDF-5255 | Fixes the issue that the application threw the "NullReferenceException" when merging PDF documents. |
Bug | SPIREPDF-5264 | Fixes the issue that the application threw "ArgumentNullException" when converting PDF to image |
Bug | SPIREPDF-5273 | Fixes the issue that the application threw "IndexOutOfRangeException" when compressing PDF. |
Bug | SPIREPDF-5285 | Fixes the issue that the content was lost after converting PDF to image |
Bug | SPIREPDF-5039 | Fixes the issue that the application threw "can not open an encrypted document, The password is invalid" when loading the stream that was saved from PDF with password . |
Bug | SPIREPDF-1269 | Fixes the issue that caused incorrect field text after printing. |
Bug | SPIREPDF-1280 | Improves the time to convert PDF to image. |
Bug | SPIREPDF-1603 | Fixes the issue that failed to get the value from XFA field. |
SPIREPDF-5022 | ||
Bug | SPIREPDF-4990 | Optimizes the memory consumption when manipulating PDF and resultant document size. |
Bug | SPIREPDF-5018 | Fixes the issue that failed to find the text that contains superscripts.. |
Bug | SPIREPDF-5041 | Fixes the issue that the application threw the "post table issue" when converting PDF to Images. |
Bug | SPIREPDF-5057 | Fixes the issue that failed to replace image in PDF. |
Bug | SPIREPDF-5079 | Fixes the issue that failed to delete image from PDF. |
Bug | SPIREPDF-5119 | Fixes the issue that caused incorrect format after converting PDF to Image. |
Bug | SPIREPDF-5142 | Fixes the issue that failed to find vertical text in PDF. |
Bug | SPIREPDF-5148 | Supports setting the ForeColor for CheckBox field. |
Bug | SPIREPDF-5155 | Fixes the issue that caused incorrect text spacing after converting OFD to PDF. |
Bug | SPIREPDF-5165 | Fxies the issue that the application threw the "NullReferenceException" when filling image in PdfButton field. |
Bug | SPIREPDF-5168 | Fixes the issue that the PDFViewer failed to load the PDF stream converted from OFD. |
Bug | SPIREPDF-5171 | Synchronizes the cell.getStyle().setCellPadding interface in JAVA (setting the padding of a cell) to .NET. |
Bug | SPIREPDF-5175 | Fixes the issue that characters were incorrect after printing PDF. |
Bug | SPIREPDF-5177 | Fixes the issue that setting the WordWrap for text in grid didn't take effect. |
Bug | SPIREPDF-5179 | Fixes the issue that the size of image stamp became large after converting OFD to PDF. |
SPIREPDF-5227 | ||
Bug | SPIREPDF-5183 | Fixes the issue that the application threw "The conversion provider cann't be found" exception when converting HTML to PDF using QT plugin. |
Bug | SPIREPDF-5184 | Fixes the issue that the image was lost after converting SVG to PDF. |
Bug | SPIREPDF-5199 | Fixes the issue that the image stamp was lost after converting OFD to PDF. |
Bug | SPIREPDF-5207 | Fixes the issue that the text overlapped after adding in grid. |
Spire.Doc | ||
Category | ID | Description |
New feature | - | Supports converting table of contents into corresponding bookmarks in PDF when converting Word to PDF using NewEngine. |
ToPdfParameterList toPdf = new ToPdfParameterList(); | ||
toPdf.CreateWordBookmarks = true; | ||
toPdf.CreateWordBookmarksUsingHeadings = true; | ||
document.setUseNewEngine(true); | ||
document.saveToFile("output.pdf",toPdf); | ||
New feature | - | Supports disabling hyperlinks in PDF when converting Word to PDF using NewEngine. |
ToPdfParameterList toPdf = new ToPdfParameterList(); | ||
toPdf.DisableLink = true; | ||
document.setUseNewEngine(true); | ||
document.saveToFile("output.pdf",toPdf); | ||
Bug | SPIREDOC-6917 | Fixes the issue that the color of table borders lost after converting HTML to Docx. |
Bug | SPIREDOC-7600 | Fixes the issue that there were extra blank lines before the title after converting Word to PDF. |
Bug | SPIREDOC-7659 | Fixes the issue that the table pagination was wrong after converting Word to PDF. |
Bug | SPIREDOC-7678 | Fixes the issue that the application threw "System.FormatException" when converting Word to PDF under French locale settings. |
Bug | SPIREDOC-7766 | Fixes the issue that image links would not work after saving a Docx file. |
Bug | SPIREDOC-7771 | Fixes the issue that waterfall charts would be empty after replacing some paragraph text. |
Bug | SPIREDOC-7773 | Fixes the issue that the application threw "System.ArgumentOutOfRangeException" when loading a Docx file. |
Bug | SPIREDOC-7790 | Fixes the issue that the content format was inconsistent after converting Word to PDF. |
Bug | SPIREDOC-7824 | Fixes the issue that waterfall charts changed to pictures after saving a Docx file. |
Bug | SPIREDOC-7792 | Fixes the issue that the application threw "System.Collections.Generic.KeyNotFoundException" when saving a Docx file. |
Spire.XLS | ||
Category | ID | Description |
New feature | SPIREXLS-3812 | Provides an interface that supports setting whether to apply styles to rows and columns. |
worksheet.ApplyStyle(style, applyRowStyle, applyColumnStyle) | ||
New feature | - | Supports converting new chart types in Excel 2016 like waterfall, treemap and boxandwhisker to PDF and image. |
Bug | SPIREXLS-3888 | Fixes the issue that the content of cells in custom format was not correct after converting to PDF. |
Bug | SPIREXLS-3890 | Fixes the issue that the header whose content contained carriage, its height was incorrect after converting to PDF. |
Bug | SPIREXLS-3900 | Fixes the issue that the association between button and VBA was lost after copying sheet to another workbook. |
Bug | SPIREXLS-3901 | Fixes the issue that the data of pivot table was incorrect after converting Excel to PDF. |
Bug | SPIREXLS-3908 | Fixes the issue that caused blurry effect after inserting image in Excel with new versions. |
Bug | SPIREXLS-3909 | Fixes the issue that failed to get the range of namedrange with non-contiguous ranges. |
Spire.Presentation | ||
Category | ID | Description |
Bug | SPIREPPT-1963 | Fixes the issue that the fill color obtained from a shape was incorrect. |
Bug | SPIREPPT-1967 | Fixes the issue that the application threw exception "ArgumentOutOfRangeException" when HTML was inserted to PowerPoint. |
Spire.Spreadsheet | ||
Category | ID | Description |
Bug | SPREADSHEET-201 | Fixes the issue that adding and deleting rows would give incorrect results. |
Bug | SPREADSHEET-202 | Fixes the issue that "NullReferenceException" occurred when Excel files were being loaded. |
Spire.Barcode | ||
Category | ID | Description |
Bug | SPIREBARCODE-214 | Fixes the issue that the rectangle added in barcode became square. |
Bug | SPIREBARCODE-215 | Fixes the issue that the scanned data was inconsistent with the data scanned by mobile phone. |
相关文章
- Lucene.net(4.8.0) 学习问题记录二: 分词器Analyzer中的TokenStream和AttributeSource[通俗易懂]
- Iocomp.Ultra Pack V5.SP3 for .Net Crack
- 《安富莱嵌入式周报》第284期:Matlab2022b发布,支持从 .NET 调用,耳机放大器,牛屎芯片替换,JSON可视化,开源的飞行软件和嵌入式系统框架
- IIS7 beta FREE WEBHOSTING FREE HOSTING FOR ASP.NET 2.0 IIS7[通俗易懂]
- 【愚公系列】2023年02月 .NET CORE工具案例-MahApps.Metro基于WPF的UI控件库
- C#/.NET CLI:公共语言基础设施
- .net搭建ASP.NET应用程序在Linux系统上(linux搭建asp)
- .net安装 Linux 上的 ASP.NET 环境(linux安装asp)
- MySQL与VB.NET的数据库开发实践(mysqlvb.net)
- ASP.NET WebForm也可以这样用Ajax(程序猿,你知道不)
- 使用.NET技术操作MySQL数据库:简单易学,高效稳定(.net操作mysql)
- Net不再压着 MSSql,语音变得前景无限(net mssql语音)
- 应用使用Linux环境部署.Net应用程序(linux部署.net)
- NET与Oracle结合出现新的可能(.net oracle)
- 面向企业的Net框架开发与Oracle集成(net框架oracle)
- NET备份MySQL提升数据安全性(.net 备份mysql)
- Net中连接MySQL技术简述(.net中引用mysql)
- 用Net和MySQL实现软件开发编程(.net mysql编程)
- NET和MySQL的无缝搭配实现创新的技术路径(.net mysql支持)
- 分类NET 5与MySQL分类新加坡开发者技术展望(.net 5 mysql)
- asp.net下常用的加密算法MD5、SHA-1应用代码
- asp.net产生唯一随机码的方法分析
- 基于ASP.NET的lucene.net全文搜索实现步骤
- 浅谈ASP.NET的include的使用方法
- .net输出重写压缩页面文件的小例子
- asp.net按指定模板导出word,pdf实例代码
- asp.net无法获取iis目录的问题解决方法
- .NET中的async和await关键字使用及Task异步调用实例
- ASP.NET自动为URL加上超链接的代码