This article shows that how to redact data of sensitive nature from images of various formats like JPG, PNG, TIFF and others....This article shows that how to redact data of sensitive nature from images of various formats like JPG, PNG, TIFF and others.
POTM on GroupDocs Blog | Document Automation Solutions for .NET & Java Developers Recent content in POTM on GroupDocs Blog | Document Automation Solutions for .NET & Java Developers GroupDocs.Redac......POTM on GroupDocs Blog | Document Automation Solutions for .NET & Java Developers Recent content in POTM on GroupDocs Blog | Document Automation Solutions for .NET & Java Developers GroupDocs.Redac...
This article shows how to implement one or several interfaces for the document's features and required redaction....This article shows how to implement one or several interfaces for the document's features and required redaction.
This article explains that how Java redaction API allows you to easily redact data of sensitive or private nature from your documents. You can apply text redaction using exact phrase or regular expression for documents of different formats like PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX and others....This article explains that how Java redaction API allows you to easily redact data of sensitive or private nature from your documents. You can apply text redaction using exact phrase or regular expression for documents of different formats like PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX and others.
If you have a corporate sensitive data removal policy as a list of redaction rules, you don’t need to specify them in your code. You can specify an XML document with a list of pre-configured redactions.
Below is an example of redaction policy XML file (code properties mapping is obvious):
RedactionPolicy.xml
You can use RedactionPolicy....If you have a corporate sensitive data removal policy as a list of redaction rules, you don’t need to specify them in your code. You can specify an XML document with a list of pre-configured redactions.
Below is an example of redaction policy XML file (code properties mapping is obvious):
RedactionPolicy.xml
<?xml version="1.0" encoding="utf-8"?> <redactionPolicy xmlns="http://www.groupdocs.com/redaction"> <regexRedaction regularExpression="(dolor)" actionType="ReplaceString" replacement="foobar" /> <exactPhraseRedaction searchPhrase="dolor" caseSensitive="true" actionType="DrawBox" color="Red" /> <cellColumnRedaction regularExpression="(foo)bar1" replacement="[red1]" columnIndex="1" worksheetIndex="2" /> <cellColumnRedaction regularExpression="(foo)bar2" replacement="[red2]" wokrsheetName="Sample" /> <eraseMetadataRedaction filter="All" /> <metadataSearchRedaction filter="Title, Author" replacement="foobar" valueExpression="(metasearch)" keyExpression="" /> <annotationRedaction regularExpression="(anno1)" replacement="foobar" /> <deleteAnnotationRedaction regularExpression="(anno2)" /> <imageAreaRedaction pointX="15" pointY="17" width="200" height="10" color="#AA50FC" /> <imageAreaRedaction pointX="110" pointY="120" width="60" height="20" color="Magenta" /> </redactionPolicy> You can use RedactionPolicy.
Load password-protected file In order to open password-protected documents, you have to pass your password to LoadOptions class constructor or assign it to its Password property of an instance of LoadOptions class:
LoadOptions loadOptions = new LoadOptions("mypassword"); final Redactor redactor = new Redactor("protected_sample.docx", loadOptions); try { // Here we can use document instance to perform redactions redactor.apply(new ExactPhraseRedaction("John Doe", new ReplacementOptions("[personal]"))); redactor.save(); } finally { redactor.close(); }...Load password-protected file In order to open password-protected documents, you have to pass your password to LoadOptions class constructor or assign it to its Password property of an instance of LoadOptions class:
LoadOptions loadOptions = new LoadOptions("mypassword"); final Redactor redactor = new Redactor("protected_sample.docx", loadOptions); try { // Here we can use document instance to perform redactions redactor.apply(new ExactPhraseRedaction("John Doe", new ReplacementOptions("[personal]"))); redactor.save(); } finally { redactor.close(); }
Open Navigation Close Navigation Products GroupDocs.Total Product Family GroupDocs.Viewer Product Solution GroupDocs.......Open Navigation Close Navigation Products GroupDocs.Total Product Family GroupDocs.Viewer Product Solution GroupDocs....
This API allows you to perform text search and index any type of file format using C# .NET language on any platform....This API allows you to perform text search and index any type of file format using C# .NET language on any platform.