This example demonstrates how to load a password-protected document.
advanced_usage.loading_files.LoadPasswordProtectedDocument
// Specify the password LoadOptions loadOptions = new LoadOptions(); loadOptions.setPassword("123"); // Constants.ProtectedDocx is an absolute or relative path to your document. Ex: @"C:\Docs\source.docx" try (Metadata metadata = new Metadata(Constants.ProtectedDocx, loadOptions)) { // Extract, edit or remove metadata here } More resources GitHub examples You may easily run the code above and see the feature in action in our GitHub examples:...Assembly Product Solution GroupDocs...
The getSupportedFileTypes method of the FileType class is used to obtain a list of supported file types.
An example of obtaining a list of supported file types is presented below.
Iterable supportedFileTypes = FileType.getSupportedFileTypes(); Iterator iterator = supportedFileTypes.iterator(); while (iterator.hasNext()) { FileType fileType = (FileType)iterator.next(); System.out.println(fileType.getExtension() + " - " + fileType.getDescription()); } More resources Advanced usage topics To learn more about library features and get familiar how to manage metadata and more, please refer to theadvanced usage section....Assembly Product Solution GroupDocs...
Download from GitHub The complete examples package of GroupDocs.Metadata is hosted on Github. You can either download the ZIP file from here or clone the repository of Github using your favourite Github client.
In case you download the ZIP file, extract the folders on your local disk. The extracted files and folders will look like the following image:
Open IntelliJ Idea and import the project to get started with it....Assembly Product Solution GroupDocs...
Core GroupDocs.Redaction for Python via .NET operations — redact text, metadata, images, annotations, and spreadsheet content, remove pages, and read document information, each with a runnable example....Assembly Product Solution GroupDocs...
GroupDocs.Redaction - Redact Sensitive Content from Documents Documentation .NET Java Python GroupDocs.Redaction for .NET More Getting started Start quickly with our getting started documentation Features overview Supported document formats System requirements Installation Redact content from documents Articles and guidelines Basic redactions Basic usage .NET code examples Open-source projects for APIs example usage GroupDocs.Redaction for .NET More GroupDocs.Redaction for Java More Getting started Get up and running fast with our getting started guide Features overview Supported document formats System requirements Installation Remove sensitive information Articles and guides for both basic and advanced development Redact content using optical character recognition (OCR) Advanced usage scenarios Java code examples Open-source projects for APIs example usage GroupDocs....Assembly Product Solution GroupDocs...
GroupDocs.Compairson for Java developer documentation. Learn how to diff docx, pptx, and pdf files using Java....Assembly Product Solution GroupDocs...
GroupDocs.Conversion for Node.js via Java is an advanced document conversion API developed to convert files of different formats from within JavaScript applications....Assembly Product Solution GroupDocs...
This article explains how to update password for PDF, Word, Excel, PowerPoint documents by using GroupDocs.Merger for .NET....Assembly Product Solution GroupDocs...