Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Automatic spreadsheet document control what are the advantages of powerful document processing API

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

This article introduces the "automatic spreadsheet document control powerful document processing API what are the advantages of" the relevant knowledge, in the actual case of the operation process, many people will encounter such a dilemma, then let the editor lead you to learn how to deal with these situations! I hope you can read it carefully and be able to achieve something!

DevExpress Office File API is a non-visual .NET library for developers such as Clippers, VB.NET and ASP.NET. With this library, you can automatically process Excel, Word, and other documents without installing Microsoft Office. Developers can generate enterprise-class files such as XLS, XLSx, DOC, DOCx, RTF, CSV and Snap Report using a very easy-to-operate API.

DevExpress Office File API v20.2 has been released, the new version enhanced Word Processing Document API, welcome to download the latest version of the experience!

Download DevExpress v20.2 full version

Word Processing Document API

Break table rows across pages

Enable the new TableRow.BreakAcrossPages option to split table rows between pages.

OLE object

Rich text editors for Word Processing Document API and WinForms and WPF support OLE objects, the new API allows you to access and edit OLE objects in your code, and documents with OLE objects can be printed and exported as PDF.

'Keep with Next' and' Widow/Orphan Control' in the table

Word Processing Document API and WinForms/WPF rich text editors apply the following options when displaying, printing, and exporting documents with table paragraphs:

Keep with Next

Widow/Orphan Control

Load document properties

Word Processing Document API allows you to load document metadata (or document properties) without loading the document itself.

'Filling in Forms' protection

Now you can set the form fill out protection in your code. To protect the form, set the Document.ProtectionType property to DocumentProtectionType.FillInForms.

New format

The Word Processing Document API and WinForms/WPF rich text editing controls now support the following file formats:

DOCM (Microsoft Office Open XML-enabled document format)

DOT (Microsoft Word 97-2003 template format)

DOTM (template format enabled by Microsoft Office Open XML)

DOTX (Microsoft Office Open XML template format)

FlatOpc XML (a Microsoft Word XML document stored in a flat XML file instead of a ZIP package)

Enhanced document rendering

Table width and paragraph alignment can now be calculated more accurately, and Microsoft Word 2013 and later can be better reflected.

Load and save asynchronously

The new API allows you to load, save, and export documents asynchronously to PDF and HTML, using the following new methods (RichEditDocumentExtensions classes):

LoadDocumentAsync

LoadDocumentTemplateAsync

SaveDocumentAsync

ExportToPdfAsync

These methods can accept CancellationToken as a parameter, which allows you to terminate the operation when appropriate.

This is the end of the content of "what are the advantages of API in the powerful document processing of automated spreadsheet document controls". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report