com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Class SlideUtil

  • java.lang.Object
    • com.aspose.slides.SlideUtil


  • public class SlideUtil
    extends java.lang.Object

    Offer methods which help to search shapes and text in a presentation.

    • Constructor Detail

      • SlideUtil

        public SlideUtil()
    • Method Detail

      • findShape

        public static IShape findShape(IPresentation pres,
                                       java.lang.String altText)

        Find shape by alternative text in a PPTX presentation.

        Parameters:
        pres - Scanned presentation.
        altText - Alternative text of a shape.
        Returns:
        Shape or null.
      • findShape

        public static IShape findShape(IBaseSlide slide,
                                       java.lang.String altText)

        Find shape by alternative text on a slide in a PPTX presentation.

        Parameters:
        slide - Scanned slide.
        altText - Alternative text of a shape.
        Returns:
        Shape or null.
      • getAllTextBoxes

        public static ITextFrame[] getAllTextBoxes(IBaseSlide slide)

        Returns all text frames on a slide in a PPTX presentation.

        Parameters:
        slide - Scanned slide.
        Returns:
        Array of TextFrame objects.
      • getAllTextFrames

        public static ITextFrame[] getAllTextFrames(IPresentation pres,
                                                    boolean withMasters)

        Returns all text frames in a PPTX presentation.

        Parameters:
        pres - Scanned presentation.
        withMasters - Determines whether master slides should be scanned.
        Returns:
        Array of TextFrame objects.