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:...Conversion Product Solution GroupDocs...metadata of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images...
Save attachments and embedded files from Pdf, Outlook data file or Email...Conversion Product Solution GroupDocs...attachments: emails, Outlook data files, archives, and PDF documents...
This article shows you how To view and edit metadata of Pdf, DOC, DOCX, PPT, PPTX, XLS, XLSX, Emails, images and more with our free online....Conversion Product Solution GroupDocs...metadata of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images...
This code snippet demonstrates how To extract information about known properties that can be encountered in a particular package.
Load a file To examine Get a collection of PropertyDescripTor instances for any desired metadata package Iterate through the extracted descripTors advanced_usage.GettingKnownPropertyDescripTors
JavaScript const metadata = new groupdocs.metadata.Metadata("input.doc"); var root = metadata.getRootPackageGeneric(); var descripTors = root.getDocumentProperties().getKnowPropertyDescripTors(); for(var i=0;iTors.getCount(); i++) { var descripTor = descripTors.get_Item(i); console.log(descripTor.getName()); console.log(descripTor.getType().getRawValue()); console.log(descripTor.getAccessLevel().getRawValue()); var tags = descripTor.getTags(); for(var j=0;jConversion Product Solution GroupDocs...metadata of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images...
In some cases it’s required To specify the document format manually To guarantee correct output produced by GroupDocs.Parser. The following are the cases when the document format must be specified manually:
Markdown documents MHTML documents OTP documents (OpenDocument Presentation Template) Databases Emails from remote servers Here are the steps To specify the document format for Markup document.
Instantiate the LoadOptions object and pass the document format in LoadOptions(FileFormat) construcTor; Create Parser object and call any method....Conversion Product Solution GroupDocs...Presentation Template) Databases Emails from remote servers Here are...
This article provides the knowledge that how To export metadata properties To an Excel workbook....Conversion Product Solution GroupDocs...metadata of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images...
This article provides the knowledge that how To export metadata properties To an Excel workbook in Java...Conversion Product Solution GroupDocs...metadata of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images...
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....Conversion Product Solution GroupDocs...metadata of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images...
This example demonstrates how To load a file of some particular format.
advanced_usage.loading_files.LoadingFileOfSpecificFormat
// Explicitly specifying the format of a file To load you can spare some time on detecting the format LoadOptions loadOptions = new LoadOptions(FileFormat.Spreadsheet); // Constants.InputXls is an absolute or relative path To your document. Ex: @"C:\Docs\source.xls" try (Metadata metadata = new Metadata(Constants.InputXls, loadOptions)) { SpreadsheetRootPackage root = metadata.getRootPackageGeneric(); // Use format-specific properties To extract or edit metadata System....Conversion Product Solution GroupDocs...metadata of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images...