Class PptxRenderer

java.lang.Object
pro.verron.officestamper.utils.pml.PptxRenderer

public class PptxRenderer extends Object

Utility class for rendering PowerPoint presentations to string representations.

This class provides methods to extract text content from PowerPoint files and convert them into formatted strings. It is designed as a utility class with only static methods and cannot be instantiated.

Since:
3.0
Author:
Joseph Verron
  • Method Details

    • pptxToString

      public static String pptxToString(org.docx4j.openpackaging.packages.PresentationMLPackage presentation)
      Converts the content of a PowerPoint presentation into a string by extracting text paragraphs from the presentation and formatting them as strings.
      Parameters:
      presentation - the PowerPoint presentation represented as a PresentationMLPackage.
      Returns:
      a string representation of the text content within the PowerPoint presentation.