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:...Classification Product Solution Purchase...
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....Classification Product Solution Purchase...
This example demonstrates how to load a password-protected document.
advanced_usage.loading_files.LoadPasswordProtectedDocument
JavaScript try { var loadOptions = new LoadOptions(); loadOptions.setPassword("123"); const metadata = new groupdocs.metadata.Metadata("protected.docx", loadOptions); } 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.
GitHub examples You may easily run the code above and see the feature in action in our GitHub examples:...Classification Product Solution Purchase...
This article explains how to load a document from Amazon S3 Storage with GroupDocs.Viewer within your Java applications....Classification Product Solution Purchase...
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....Classification Product Solution Purchase...
Note In this article, we will use GroupDocs.Assembly to generate a In-Paragraph List report in Email Document format. In-Paragraph List in Email Document Reporting Requirement As a report developer, you are required to share the following key requirements:
Report must be in .eml or .msg format. It must add email recipient, css and subject of the email. A descriptive or informative line like “We provide support for the following clients:”....Classification Product Solution Purchase...
This article explains how to set author of changes name in the resulting document in GroupDocs.Comparison for Java....Classification Product Solution Purchase...