com.groupdocs.parser

Interfaces

Classes

Exceptions

com.groupdocs.parser

Class SlidesMetadataExtractor



  • public final class SlidesMetadataExtractor
    extends MetadataExtractor

    Provides the functionality to extract the metadata from presentations.


    Supported formats:

    .PPTMicrosoft PowerPoint Presentation
    .PPTXMicrosoft Office Open XML Presentation
    .PPSMicrosoft PowerPoint Slideshow
    .PPSXMicrosoft Office Open XML Auto-Play Presentation
    .PPSMPowerPoint Open XML Macro-Enabled Slideshow
    .ODPOpenDocument presentation

    Extracting the metadata:

     // Create a metadata extractor for presentations
     MetadataExtractor metadataExtractor = new SlidesMetadataExtractor();
     // Extract a metadata from the stream
     MetadataCollection metadata = metadataExtractor.extractMetadata(stream);
      
    • Constructor Detail

      • SlidesMetadataExtractor

        public SlidesMetadataExtractor()

        Initializes a new instance of the SlidesMetadataExtractor class.

    • Method Detail

      • extractMetadataFromStream

        protected MetadataCollection extractMetadataFromStream(InputStream stream,
                                                   LoadOptions loadOptions)

        Extracts the metadata from the stream.

        Overrides:
        extractMetadataFromStream in class MetadataExtractor
        Parameters:
        stream - The stream of the document.
        loadOptions - The options of loading the file.


        This method must be override in the inherited classes.

        Returns:
        A collection of the metadata.