|
||||||||
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.
Method Summary | |
---|---|
static ShapeEx |
findShape(BaseSlideEx slide,
java.lang.String altText)
Find shape by alternative text on a slide in a PPTX presentation. |
static ShapeEx |
findShape(PresentationEx pres,
java.lang.String altText)
Find shape by alternative text in a PPTX presentation. |
static Shape |
findShape(Presentation pres,
int id)
Find shape by Id in a presentation. |
static Shape |
findShape(Presentation pres,
java.lang.String altText)
Find shape by alternative text in a PPT presentation. |
static Shape |
findShape(Slide slide,
int id)
Find shape by Id on a slide. |
static Shape |
findShape(Slide slide,
java.lang.String altText)
Find shape by alternative text on a slide in a PPT presentation. |
static TextFrameEx[] |
getAllTextBoxes(BaseSlideEx slide)
Returns all text frames on a slide in a PPTX presentation. |
static ITextBox[] |
getAllTextBoxes(Presentation pres,
boolean withMasters)
Returns all text boxes in a PPT presentation. |
static ITextBox[] |
getAllTextBoxes(Slide slide)
Returns all text boxes on a slide in a PPT presentation. |
static TextFrameEx[] |
getAllTextFrames(PresentationEx 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 |
Method Detail |
---|
public static Shape findShape(Presentation pres, int id)
Find shape by Id in a presentation.
pres
- Scanned presentation.id
- Id of a shape.
public static Shape findShape(Slide slide, int id)
Find shape by Id on a slide.
slide
- Scanned slide.id
- Id of a shape.
public static Shape findShape(Presentation pres, java.lang.String altText)
Find shape by alternative text in a PPT presentation.
pres
- Scanned presentation.altText
- Alternative text of a shape.
public static Shape findShape(Slide slide, java.lang.String altText)
Find shape by alternative text on a slide in a PPT presentation.
slide
- Scanned slide.altText
- Alternative text of a shape.
public static ShapeEx findShape(PresentationEx 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 ShapeEx findShape(BaseSlideEx 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 ITextBox[] getAllTextBoxes(Presentation pres, boolean withMasters)
Returns all text boxes in a PPT presentation.
pres
- Scanned presentation.withMasters
- Determines whether master slides should be scanned.
ITextBox
objects.public static ITextBox[] getAllTextBoxes(Slide slide)
Returns all text boxes on a slide in a PPT presentation.
slide
- Scanned slide.
ITextBox
objects.public static TextFrameEx[] getAllTextFrames(PresentationEx pres, boolean withMasters)
Returns all text frames in a PPTX presentation.
pres
- Scanned presentation.withMasters
- Determines whether master slides should be scanned.
TextFrameEx
objects.public static TextFrameEx[] getAllTextBoxes(BaseSlideEx slide)
Returns all text frames on a slide in a PPTX presentation.
slide
- Scanned slide.
TextFrameEx
objects.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |