常见格式转换一网打尽!国产office文档开发套包Spire.Office 2021 9月最新发布 丨附下载

目前,Spire.Office for .NET v6.9.1 2021年第九版现已正式发布。本次更新带来了一些新功能,比如:Spire.Presentation支持添加数学公式和检测shape是否包含数学公式,支持在放映模式下隐藏音频,支持转换PPT到OFD,支持判断文档是否被加密,此外,该版本还修复了大量一直问题。

你在寻找支持在.NET中用编程方法处理各类格式文档的API吗巧,.NET版企业级文档管理组合套包Spire.Office 2020全新上线!Word、Excel、PPT、PDF、条形码等格式一网打尽。

目前,

新功能及问题修复详情,请参阅如下内容。

  • Spire.Doc.dll v9.9.6
  • 尖顶.pdf.dll v7.9.3
  • Spire.XLS.dll v11.9.3
  • Spire.Email.dll v4.7.0
  • Spire.DocViewer.Forms.dll v6.8.0
  • Spire.PdfViewer.Forms.dll v6.9.1
  • Spire.PdfViewer.Asp.dll v6.9.1
  • Spire.Presentation.dll v6.9.2
  • Spire.Spreadsheet v5.6.1
  • Spire.OfficeViewer.Forms.dll v6.9.1
  • Spire.Barcode.dll v5.7.1
  • Spire.DataExport.dll v4.1.9
  • Spire.DataExport.ResourceMgr.dll v2.1.0
  • Spire.License.dll v1.4.0


Spire.Presentation

新功能:

Presentation ppt = new Presentation();string latexMathCode = @"x^{2}+sqrt{x^{2}+1}=2";IAutoShape shape = ppt.Slides[0].Shapes.AppendShape(ShapeType.Rectangle, new RectangleF(30, 100, 400, 30));shape.TextFrame.Paragraphs.Clear();//Add math equationTextParagraph tp = shape.TextFrame.Paragraphs.AddParagraphFromLatexMathCode(latexMathCode);for (int i = 0; i < ppt.Slides[0].Shapes.Count; i++){    if (ppt.Slides[0].Shapes[i] is IAutoShape)    {        //Check whether shape contains math equations        bool containMathEquation = (ppt.Slides[0].Shapes[i] as IAutoShape).ContainMathEquation;    }}ppt.SaveToFile("result.pptx", FileFormat.Pptx2013);ppt.Dispose();
Presentation ppt = new Presentation();ppt.LoadFromFile(inputFile);foreach(Shape shape in ppt.Slides[0].Shapes){    if(shape is IAudio)    {        IAudio audio = shape as IAudio;        audio.HideAtShowing = true;    }}

Presentation ppt = new Presentation();ppt.LoadFromFile(inputFile);ppt.SaveToFile(ofdFile, FileFormat.OFD);

Presentation ppt = new Presentation();ppt.IsPasswordProtected(inputFile)

问题修复:


Spire.PDFViewer

新功能:

input type=button id=PdfDocumentViewer1_btnRotate onfocus=this.blur() onclick=pdfdocumentviewer1.
input type=text id=PdfDocumentViewer1_txtFindText onkeydown=if(event.keyCode==13){pdfdocumentviewer1.SearchText(this.value,true);return false;} value=  protected void Page_Load(object sender, EventArgs e)        {            if (!IsPostBack)            {                this.PdfDocumentViewer1.FindTextHighLightColor =     System.Drawing.Color.FromArgb(125, 255, 0, 0);                this.PdfDocumentViewer1.LoadFromFile(input.pdf);            }        }

问题修复:


Spire.PDF

问题修复:


Spire.Doc

新功能:

问题修复:


Spire.XLS

新功能:

Workbook workbook = new Workbook();workbook.LoadFromFile(xlsxFile);workbook.SaveToFile(uosFile, FileFormat.UOS);
Workbook workbook = new Workbook();workbook.LoadFromFile(xlsxFile);workbook.SaveToFile(ofdFile, FileFormat.OFD);
pivottable.ShowDataFieldInRow = true;pivottable.CalculateData();
List<Bitmap> images = sheet.SaveShapesToImage(new SaveShapeTypeOption());for (int i = 0; i < images.Count; i++){    images[i].Save(string.Format(outputFile + "{0}.png", i), ImageFormat.Png);}

问题修复:


是E-iceblue官方友好合作伙伴,如果您对spire.office感兴趣,可以联系在线客服了解具体授权价格和使用机制。

标签:

来源:慧都

声明:本站部分文章及图片转载于互联网,内容版权归原作者所有,如本站任何资料有侵权请您尽早请联系jinwei@zod.com.cn进行处理,非常感谢!

上一篇 2021年8月20日
下一篇 2021年8月20日

相关推荐

发表回复

登录后才能评论