ForEach_
ForEach_ class
Represents a group of methods intended to iterate over different Presentation model objects.
These methods can be useful if you need to iterate and change some Presentation’ elements formatting or content,
e.g. change each portion formatting.
ForEach_
Name | Description |
---|
ForEach_() | |
Result:
ForEach_
layoutSlide
Parameters:
masterSlide
Parameters:
paragraph
Parameters:
Name | Type | Description |
---|
pres | Presentation | Presentation to iterate paragraphs |
forEachParagraph | ForEach_.ForEachParagraphCallback | Callback that will be invoked for each paragraph Shapes will be iterated in all type of slides - #slide(Presentation,ForEachSlideCallback), #masterSlide(Presentation,ForEachMasterSlideCallback) and #layoutSlide(Presentation,ForEachLayoutSlideCallback) |
paragraph
Parameters:
Name | Type | Description |
---|
pres | Presentation | Presentation to iterate paragraphs |
includeNotes | boolean | Flag that indicates whether NotesSlides should be included in processing. |
forEachParagraph | ForEach_.ForEachParagraphCallback | Callback that will be invoked for each paragraph Shapes will be iterated in all type of slides - #slide(Presentation,ForEachSlideCallback), #masterSlide(Presentation,ForEachMasterSlideCallback), #layoutSlide(Presentation,ForEachLayoutSlideCallback) and NotesSlide |
portion
Parameters:
Name | Type | Description |
---|
pres | Presentation | Presentation to iterate portions |
forEachPortion | ForEach_.ForEachPortionCallback | Callback that will be invoked for each portion Portions will be iterated in all type of slides - #slide(Presentation,ForEachSlideCallback), #masterSlide(Presentation,ForEachMasterSlideCallback) and #layoutSlide(Presentation,ForEachLayoutSlideCallback) |
portion
Parameters:
Name | Type | Description |
---|
pres | Presentation | Presentation to iterate portions |
includeNotes | boolean | Flag that indicates whether NotesSlides should be included in processing. |
forEachPortion | ForEach_.ForEachPortionCallback | Callback that will be invoked for each portion Portions will be iterated in all type of slides - #slide(Presentation,ForEachSlideCallback), #masterSlide(Presentation,ForEachMasterSlideCallback), #layoutSlide(Presentation,ForEachLayoutSlideCallback) and NotesSlide |
shape
Parameters:
Name | Type | Description |
---|
pres | Presentation | Presentation to iterate layout shapes |
forEachShape | ForEach_.ForEachShapeCallback | Callback that will be invoked for each shape Shapes will be iterated in all type of slides - #slide(Presentation,ForEachSlideCallback), #masterSlide(Presentation,ForEachMasterSlideCallback) and #layoutSlide(Presentation,ForEachLayoutSlideCallback) |
shape
Parameters:
Name | Type | Description |
---|
pres | Presentation | Presentation to iterate layout shapes |
includeNotes | boolean | Flag that indicates whether NotesSlides should be included in processing. |
forEachShape | ForEach_.ForEachShapeCallback | Callback that will be invoked for each shape Shapes will be iterated in all type of slides - #slide(Presentation,ForEachSlideCallback), #masterSlide(Presentation,ForEachMasterSlideCallback), #layoutSlide(Presentation,ForEachLayoutSlideCallback) and NotesSlide if needed. |
shape
Parameters:
Name | Type | Description |
---|
baseSlide | BaseSlide | Slide to iterate layout shapes |
forEachShape | ForEach_.ForEachShapeCallback | Callback that will be invoked for each shape BaseSlide is the base type for #slide(Presentation,ForEachSlideCallback), #masterSlide(Presentation,ForEachMasterSlideCallback) and #layoutSlide(Presentation,ForEachLayoutSlideCallback) |
slide
Parameters: