com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Class BaseSlide

  • java.lang.Object
    • com.aspose.slides.BaseSlide
    • Method Detail

      • getName

        public java.lang.String getName()

        Returns or sets the name of a slide. Read/write String.

        Specified by:
        getName in interface IBaseSlide
      • setName

        public void setName(java.lang.String value)

        Returns or sets the name of a slide. Read/write String.

        Specified by:
        setName in interface IBaseSlide
      • getSlideId

        public final long getSlideId()

        Returns the ID of a slide. Read-only long.

        Specified by:
        getSlideId in interface IBaseSlide
      • equals

        public final boolean equals(IBaseSlide slide)

        Determines whether the two IBaseSlide instances are equal. Returning value is calculated based on slide's structure and static content. Two slides are equal if all shapes, styles, texts, animation and other settings. etc. are equal. The comparison doesn't take into account unique identifier values, e.g. SlideId and dynamic content, e.g. current date value in Date Placeholder.

        Specified by:
        equals in interface IBaseSlide
        Parameters:
        slide - The IBaseSlide to compare with the current IBaseSlide.
        Returns:
        <b>true</b> if the specified IBaseSlide is equal to the current IBaseSlide; otherwise, <b>false</b>.
      • joinPortionsWithSameFormatting

        public void joinPortionsWithSameFormatting()

        Joins runs with same formatting in all paragraphs all acceptable shapes.

        Specified by:
        joinPortionsWithSameFormatting in interface IBaseSlide
      • joinPortionsWithSameFormatting

        public void joinPortionsWithSameFormatting(IShapeCollection collection)

        Joins runs with same formatting in all paragraphs in all acceptable shapes.

      • getShowMasterShapes

        public abstract boolean getShowMasterShapes()

        Specifies if shapes on the master slide should be shown on slides or not. For master slide itself this property always returns false. Read/write boolean.

        Specified by:
        getShowMasterShapes in interface IBaseSlide
        Throws:
        com.aspose.ms.System.NotSupportedException - Thrown if set true for master slide.
      • setShowMasterShapes

        public abstract void setShowMasterShapes(boolean value)

        Specifies if shapes on the master slide should be shown on slides or not. For master slide itself this property always returns false. Read/write boolean.

        Specified by:
        setShowMasterShapes in interface IBaseSlide
        Throws:
        com.aspose.ms.System.NotSupportedException - Thrown if set true for master slide.
      • findShapeByAltText

        public final IShape findShapeByAltText(java.lang.String altText)

        Finds first occurrence of a shape with the specified alternative text.

        Specified by:
        findShapeByAltText in interface IBaseSlide
        Parameters:
        altText - Alternative text.
        Returns:
        Shape object or null.
      • getParent_Immediate

        public final com.aspose.slides.IDOMObject getParent_Immediate()

        Returns Parent_Immediate object. Read-only IDOMObject.