|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.SlideUtil
public class SlideUtil
Offer methods which help to search shapes and text in a presentation.
Constructor Summary | |
---|---|
SlideUtil()
|
Method Summary | |
---|---|
static IShape |
findShape(IBaseSlide slide,
java.lang.String altText)
Find shape by alternative text on a slide in a PPTX presentation. |
static IShape |
findShape(IPresentation pres,
java.lang.String altText)
Find shape by alternative text in a PPTX presentation. |
static ITextFrame[] |
getAllTextBoxes(IBaseSlide slide)
Returns all text frames on a slide in a PPTX presentation. |
static ITextFrame[] |
getAllTextFrames(IPresentation pres,
boolean withMasters)
Returns all text frames in a PPTX presentation. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SlideUtil()
Method Detail |
---|
public static IShape findShape(IPresentation pres, java.lang.String altText)
Find shape by alternative text in a PPTX presentation.
pres
- Scanned presentation.altText
- Alternative text of a shape.
public static IShape findShape(IBaseSlide slide, java.lang.String altText)
Find shape by alternative text on a slide in a PPTX presentation.
slide
- Scanned slide.altText
- Alternative text of a shape.
public static ITextFrame[] getAllTextBoxes(IBaseSlide slide)
Returns all text frames on a slide in a PPTX presentation.
slide
- Scanned slide.
TextFrame
objects.public static ITextFrame[] getAllTextFrames(IPresentation pres, boolean withMasters)
Returns all text frames in a PPTX presentation.
pres
- Scanned presentation.withMasters
- Determines whether master slides should be scanned.
TextFrame
objects.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |