You can implement ILogger interface from com.groupdocs.redaction.options package. This interface requires to implement three methods:
import com.groupdocs.redaction.options.ILogger; import java.util.ArrayList; /** *
* This is an example of ILogger implementation, tracking count of error messages. *
*/ public class CustomLogger implements ILogger { private ArrayList _errors; private ArrayList _traces; private ArrayList _warnings; public Boolean hasErrors() { return _errors.size() > 0; } public CustomLogger() { _errors = new ArrayList(); _traces = new ArrayList(); _warnings = new ArrayList(); } public void error(String message) { _errors....String > _warnings ; public boolean hasErrors () { return _errors...
This topic describes how to optimize PDF file using the GroupDocs.Viewer Java API by removing the unused (orphaned) resources and thus to reduce the file size....new public properties of the boolean type: setRemoveUnusedObjec(...types: name, string, number, boolean, null object, dictionary, array...
Optimize PDFs with GroupDocs.Viewer by removing unused resources and reducing file size....new public properties of the boolean type: remove_unused_objects...types: name, string, number, boolean, null object, dictionary, array...
Hi Team,
I am using GroupDocs.Metadata in .NET to check whether a PDF is in PDF/A format.
Currently, I am reading XMP metadata using PdfRootPackage and checking for “pdfaid” (pdfaid:part and pdfaid:conformance). Howeve…...specific PDF format and a Boolean flag for the specific Pdf/A...
We are about to release GroupDocs.Search for Java, a full-featured, back-end API that could easily be utilized by Java developers in their projects. It is a fascinating document search API that extracts text and metadata from documents. Furthermore, it performs advanced searching and indexing operations on the basis of fuzzy and synonym algorithms. API also supports full-text search.
Features Offered by GroupDocs.Search for Java GroupDocs will keep on updating this API with new features....Search Queries # Simple Queries Boolean Queries Regular Expression...
Dear GroupDocs users, we’re pleased to announce GroupDocs.Comparison for Java 26.10. This release adds control over loading external resources referenced by documents, fixes the HTML report not being written on Java 9 an…...setSkipExternalResou(boolean) turns loading back on, and...RevisionHandler(InputStream, FileType, boolean leaveOpen) , states who owns...
In order to reject specific changes during redaction process or to keep a full log of changes in the document, you need to pass a callback implementing IRedactionCallback into RedactorSettings. The interface contains only one method, acceptRedaction, which receives detailed information about the proposed redaction and returns a Boolean value — accepted or not.
Below, we create a callback with java.newProxy, dumping changes to the console:
const redaction = require('@groupdocs/groupdocs.redaction'); const java = require('java'); const callback = java....proposed redaction and returns a Boolean value — accepted or not. Below...
This article describes how to insert edited presentation slide into existing PowerPoint presentation....new properties: integer and boolean flag . Both of them have “usual”...setSlideNumber () {} public boolean getInsertAsNewSlide () {} public...
This guide demonstrates how to edit the content of PDF files like common text documents using GroupDocs.Editor for Python via .NET....properties are: The skip_images boolean flag. By default it has a False...True . The enable_pagination boolean flag. This flag sets the document...