텍스트 편집 또는 삭제는 디지털 문서에서 기밀이거나 원치 않는 텍스트나 정보를 제거하는 과정이며 이를 포함하는 문서나 단락의 나머지 부분은 그대로 둡니다. Redaction은 민감한 정보를 숨기거나 영구적으로 제거하여 사용자와 조직이 민감한 정보를 보호할 수 있도록 도와줍니다. GroupDocs.Redaction Java API 사용자는 이제 워드 프로세싱 문서, 워크시트, 프리젠테이션, PDF 및 래스터 이미지 파일에서 민감한 텍스트를 수정하거나 숨기거나 제거할 수 있습니다. API는 문서의 개인 정보 편집을 위한 다양한 옵션과 방법을 제공합니다. 정규식, 텍스트(면제 코드) 또는 그래픽(색상 사각형) 교정 사용 등을 사용하여 검색 및 교정을 지원합니다. API를 다운로드하여 문서 편집 프로세스를 자동화하고 기본 및 고급 기능을 살펴보십시오.
GroupDocs.Redaction를 사용하면 문서에서 민감하거나 사적인 성격의 데이터를 쉽게 수정할 수 있습니다. 가장 인기 있는 교정 사례는 문서에서 텍스트를 제거하는 것입니다.
다음 코드는 정규식을 사용하여 문서의 특정 부분에 텍스트 교정을 적용하는 데 사용할 수 있습니다. 사용자가 패턴 “AA BB CCCCCC"와 일치하는 모든 숫자를 파란색 사각형으로 바꿀 수 있습니다.
// For complete examples and data files, please go to https://github.com/groupdocs-search/GroupDocs.Redaction-for-Java | |
//Load document | |
Document doc = Redactor.load(Utilities.mapSourceFilePath(FilePath)); | |
// Perform regular expression redaction | |
doc.redactWith(new RegexRedaction("\\d{2}\\s*\\d{2}[^\\d]*\\d{6}", new ReplacementOptions(java.awt.Color.BLUE))); | |
// Save the document in original format and overwriting original file | |
SaveOptions so = new SaveOptions(); | |
so.setAddSuffix(false); | |
so.setRasterizeToPDF(false); | |
doc.save(so); | |
doc.close(); |
GroupDocs.Redaction for Java API는 모든 주요 플랫폼 및 운영체제에서 지원됩니다. 전체 시스템 요구 사항 가이드를 보려면 시스템 요구 사항을 방문하세요. 아래 코드를 실행하기 전에 시스템에 다음 전제 조건이 설치되어 있는지 확인하세요. :
Files with .csv (Comma Separated Values) extension represent plain text files that contain records of data with comma separated values. Each line in a CSV file is a new record from the set of records contained in the file. Such files are generated when data transfer is intended from one storage system to another. Since all applications can recognize records separated by comma, import of such data files to database is done very conveniently. Almost all spreadsheet applications such as Microsoft Excel or OpenOffice Calc can import CSV without much effort. Data imported from such files is arranged in cells of a spreadsheet for representation to user.
Read More(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)
(Rich Text Format)
(Microsoft Excel Spreadsheet (Legacy))
(Macro-enabled Spreadsheet)
(Open XML Workbook)
(Excel 97 - 2003 Template)
(Excel Macro-Enabled Template)
(Excel Template)