Offer methods which help to search shapes and text in a presentation. More...
Public Member Functions | |
SlideUtil ()=delete | |
Static Public Member Functions | |
static System::SharedPtr< IShape > | FindShape (System::SharedPtr< IPresentation > pres, System::String altText) |
Find shape by alternative text in a PPTX presentation. More... | |
static System::SharedPtr< IShape > | FindShape (System::SharedPtr< IBaseSlide > slide, System::String altText) |
Find shape by alternative text on a slide in a PPTX presentation. More... | |
static void | AlignShapes (ShapesAlignmentType alignmentType, bool alignToSlide, System::SharedPtr< IShapeCollection > shapes) |
Changes the placement of all shapes in the collection. Aligns shapes to the margins or the edge of the slide or align them relative to each other. More... | |
static void | AlignShapes (ShapesAlignmentType alignmentType, bool alignToSlide, System::SharedPtr< IBaseSlide > slide) |
Changes the placement of all shapes on the slide. Aligns shapes to the margins or the edge of the slide or align them relative to each other. More... | |
static void | AlignShapes (ShapesAlignmentType alignmentType, bool alignToSlide, System::SharedPtr< IBaseSlide > slide, System::ArrayPtr< int32_t > shapeIndexes) |
Changes the placement of selected shapes on the slide. Aligns shapes to the margins or the edge of the slide or align them relative to each other. More... | |
static void | AlignShapes (ShapesAlignmentType alignmentType, bool alignToSlide, System::SharedPtr< IGroupShape > groupShape) |
Changes the placement of all shapes within group shape. Aligns shapes to the margins or the edge of the slide or align them relative to each other. More... | |
static void | AlignShapes (ShapesAlignmentType alignmentType, bool alignToSlide, System::SharedPtr< IGroupShape > groupShape, System::ArrayPtr< int32_t > shapeIndexes) |
Changes the placement of selected shapes within group shape. Aligns shapes to the margins or the edge of the slide or align them relative to each other. More... | |
static System::ArrayPtr< System::SharedPtr< ITextFrame > > | GetAllTextBoxes (System::SharedPtr< IBaseSlide > slide) |
Returns all text frames on a slide in a PPTX presentation. More... | |
static System::ArrayPtr< System::SharedPtr< ITextFrame > > | GetAllTextFrames (System::SharedPtr< IPresentation > pres, bool withMasters) |
Returns all text frames in a PPTX presentation. More... | |
Offer methods which help to search shapes and text in a presentation.
|
delete |
|
static |
Changes the placement of all shapes on the slide. Aligns shapes to the margins or the edge of the slide or align them relative to each other.
alignmentType | Determines which type of alignment will be applied. |
alignToSlide | If true, shapes will be aligned relative to the slide edges. |
slide | Parent slide. |
Example:
|
static |
Changes the placement of selected shapes on the slide. Aligns shapes to the margins or the edge of the slide or align them relative to each other.
alignmentType | Determines which type of alignment will be applied. |
alignToSlide | If true, shapes will be aligned relative to the slide edges. |
slide | Parent slide. |
shapeIndexes | Indexes of shapes to be aligned. |
Example:
|
static |
Changes the placement of all shapes within group shape. Aligns shapes to the margins or the edge of the slide or align them relative to each other.
alignmentType | Determines which type of alignment will be applied. |
alignToSlide | If true, shapes will be aligned relative to the slide edges. |
groupShape | Parent group shape. |
Example:
|
static |
Changes the placement of selected shapes within group shape. Aligns shapes to the margins or the edge of the slide or align them relative to each other.
alignmentType | Determines which type of alignment will be applied. |
alignToSlide | If true, shapes will be aligned relative to the slide edges. |
groupShape | Parent group shape. |
shapeIndexes | Indexes of shapes to be aligned. |
Example:
|
static |
Changes the placement of all shapes in the collection. Aligns shapes to the margins or the edge of the slide or align them relative to each other.
alignmentType | Determines which type of alignment will be applied. |
alignToSlide | If true, shapes will be aligned relative to the slide edges |
shapes | Shapes collection to be aligned |
Example:
|
static |
Find shape by alternative text on a slide in a PPTX presentation.
slide | Scanned slide. |
altText | Alternative text of a shape. |
|
static |
Find shape by alternative text in a PPTX presentation.
pres | Scanned presentation. |
altText | Alternative text of a shape. |
|
static |
Returns all text frames on a slide in a PPTX presentation.
slide | Scanned slide. |
|
static |
Returns all text frames in a PPTX presentation.
pres | Scanned presentation. |
withMasters | Determines whether master slides should be scanned. |