GroupDocs.Parser provides the functionality To open the password-protected documents.
The following are the steps To work with password protected documents.
Instantiate the LoadOptions object; Set password in LoadOptions(String) construcTor; Create Parser object and call any method. The following code sample shows how To process password protected documents.
try { String password = "123456"; // Create an instance of Parser class with the password: try (Parser parser = new Parser(Constants.SamplePassword, new LoadOptions(password))) { // Check if text extraction is supported if (!...extract data from PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, Emails...
This article shows the use of aliases which allows you To reduce the length of search queries in text form....search over your PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX and more...
Learn how To use DatabaseLoadOptions To configure database document loading in GroupDocs.Conversion for .NET. Supports NSF (Lotus Notes) and SQL formats....pdf" , new PdfConvertOptions ());...converter . Convert ( "email-archive.pdf" , new PdfConvertOptions ());...
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
try (Metadata metadata = new Metadata(Constants.InputDoc)) { WordProcessingRootPackage root = metadata.getRootPackageGeneric(); for (PropertyDescripTor descripTor : root.getDocumentProperties().getKnowPropertyDescripTors()) { System.out.println(descripTor.getName()); System.out.println(descripTor.getType()); System.out.println(descripTor.getAccessLevel()); for (PropertyTag tag : descripTor.getTags()) { System.out.println(tag); } System.out.println(); } } Note Not all possible properties are presented in the getKnowPropertyDescripTors collection....edit metadata of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails...
This article shows that how To allow you To search for nouns in the singular or plural, adjectives in the degree of comparison, forms of regular and irregular verbs, etc....search over your PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX and more...
This article shows the use of aliases which allows you To reduce the length of search queries in text form....search over your PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX and more...
This article gives the knowledge that the keyboard layout correction feature can be used when entering search queries, users of your software may make input errors, forgetting To switch the desired keyboard layout....search over your PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX and more...
Detecting the GIF version The following sample of code will help you To detect the version of a loaded GIF image and extract some additional file format information.
Load a GIF image Extract the root metadata package Use the getGifImageType method To obtain file format information advanced_usage.managing_metadata_for_specific_formats.image.gif.GifReadFileFormatProperties
try (Metadata metadata = new Metadata(Constants.InputGif)) { GifRootPackage root = metadata.getRootPackageGeneric(); System.out.println(root.getGifImageType().getFileFormat()); System.out.println(root.getGifImageType().getVersion()); System.out.println(root.getGifImageType().getByteOrder()); System.out.println(root.getGifImageType().getMimeType()); System.out.println(root.getGifImageType().getExtension()); System.out.println(root.getGifImageType().getWidth()); System.out.println(root.getGifImageType().getHeight()); } Working with XMP Metadata GroupDocs....edit metadata of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails...