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....and edit metadata of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails...
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....and edit metadata of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails...
Learn how to extract data from ZIP archives using GroupDocs.Parser for Python via .NET. Extract files, iterate through archive contents, and parse nested archives....docx']) """ os . makedirs ( output_dir...Usage - extract only PDF and DOCX files extract_specific_files...
This article explains how to load password-protected document while using GroupDocs. Watermarks Java API....docx" String filePath = "protected-document.docx" ; Watermarker... save ( "protected-document.docx" ); watermarker . close ();...
This article explains how to merge some pages from different documents into single PDF, Docx, Excel or PowerPoint document using GroupDocs.Merger for .NET....docx" ; string filePath2 = @"c:\sample2.docx" ; string...filePathOut = @"c:\output\result.docx" ; PageJoinOptions joinOptions...
Do you want to transform a non-editable document to Word format? If so, then learn how to convert PDF to RTF in Java and review code for Java PDF to RTF application....document formats including DOC, DOCX, XLSX, PPTX, TIFF, TXT, CSV...
Let's learn the process of how to extract images from PowerPoint in Java and how to use it for creating the application to get images from PowerPoint using Java....document formats such as PDF, DOC, DOCX, XLSX, RTF, DOT, EPUB, and many...
Learn the process to convert documents with one of the top library and easily convert XML to PDF in C#. Explore sample code for C# convert XML to PDF capability....other formats such as SVG, PPTX, DOCX, MHTML, POTX, XLSX, PNG, MD...
To extract a text from HTML documents GetText method is used. This method allows to extract a text from the entire document. Pagination and raw mode is not supported for emails....extract data from PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, Emails...
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....and edit metadata of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails...