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...
This article explains how to load a document from Amazon S3 Storage with GroupDocs.Viewer within your Java applications....Assembly Product Solution GroupDocs...
GroupDocs.Watermark for .NET is a powerful API for managing watermarks in the various documents formats such as PDF, DOCX/DOC/RTF, PPTX/PPT, XLSX/XLS, JPG, PNG, TIFF, GIF and many others....Assembly Product Solution GroupDocs...
GroupDocs.Viewer for Node.js via Java does not require any external software to be installed such as Microsoft Word, Microsoft Excel or Microsoft PowerPoint for file rendering....Assembly Product Solution GroupDocs...