文本编辑或清理是从数字文档中删除机密或不需要的文本或信息,同时保留包含该文本的文档或段落的其余部分完好无损的过程。密文可帮助用户和组织通过隐藏或永久删除敏感信息来保护其敏感信息。使用 GroupDocs.Redaction Java API,用户现在可以编辑、隐藏或删除文字处理文档、工作表、演示文稿、PDF 和光栅图像文件中的敏感文本。 API 提供了多种选项和方法来编辑文档中的私人信息。它支持使用正则表达式进行搜索和编辑、使用文本(豁免代码)或图形(彩色矩形)编辑等等。那么为什么不尝试一下,通过下载 API 来自动化文档编辑过程并探索其基本和高级功能。
GroupDocs.Redaction 允许轻松编辑文档中的敏感或私人数据。最流行的编辑案例是从文档中删除文本。
以下代码可用于使用正则表达式将文本编辑应用于文档的特定部分。它允许用户替换所有数字,将模式“AA BB CCCCCC”与蓝色矩形匹配,
GroupDocs.Redaction for Java 所有主要平台和操作系统均支持 API。有关完整的系统要求指南,请访问系统要求 在执行下面的代码之前,请确保您的系统上安装了以下先决条件:
Introduced and documented by Microsoft, the Rich Text Format (RTF) represents a method of encoding formatted text and graphics for use within applications. The format facilitates cross-platform document exchange with other Microsoft Products, thus serving the purpose of interoperability. This capability makes it a standard of data transfer between word processing software and, hence, contents can be transferred from one operating system to another without losing document formatting. The file format specifications are available by Microsoft for public download and can be referred to from developer’s perspective.
Read More(Comma Seperated Values)
(Microsoft Word Binary Format)
(Microsoft Word 2007 Marco File)
(Office 2007+ Word Document)
(Microsoft Word Template Files)
(Microsoft Word 2007+ Template File)
(Microsoft Word Template File )
(Portable Document Format)
(Microsoft PowerPoint Template Files)
(Microsoft PowerPoint Template File)
(PowerPoint Slide Show)
(Macro-enabled Slide Show)
(PowerPoint Slide Show)
(Microsoft PowerPoint 97-2003)
(Macro-enabled Presentation File)
(Open XML presentation Format)
(Microsoft Excel Spreadsheet (Legacy))
(Macro-enabled Spreadsheet)
(Open XML Workbook)
(Excel 97 - 2003 Template)
(Excel Macro-Enabled Template)
(Excel Template)