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_

NameDescription
ForEach_()

Result: ForEach_


layoutSlide

NameDescription
layoutSlide (Presentation, ForEach_.ForEachLayoutSlideCallback)Iterate each #layoutSlide(Presentation,ForEachLayoutSlideCallback) in the Presentation.

Parameters:

NameTypeDescription
presPresentationPresentation to iterate layout slides
forEachLayoutSlideForEach_.ForEachLayoutSlideCallbackCallback that will be invoked for each layout slide

masterSlide

NameDescription
masterSlide (Presentation, ForEach_.ForEachMasterSlideCallback)Iterate each #masterSlide(Presentation,ForEachMasterSlideCallback) in the Presentation.

Parameters:

NameTypeDescription
presPresentationPresentation to iterate master slides
forEachMasterSlideForEach_.ForEachMasterSlideCallbackCallback that will be invoked for each master slide

paragraph

NameDescription
paragraph (Presentation, ForEach_.ForEachParagraphCallback)Iterate each Paragraph in the Presentation.

Parameters:

NameTypeDescription
presPresentationPresentation to iterate paragraphs
forEachParagraphForEach_.ForEachParagraphCallbackCallback 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

NameDescription
paragraph (Presentation, boolean, ForEach_.ForEachParagraphCallback)Iterate each Paragraph in the Presentation.

Parameters:

NameTypeDescription
presPresentationPresentation to iterate paragraphs
includeNotesbooleanFlag that indicates whether NotesSlides should be included in processing.
forEachParagraphForEach_.ForEachParagraphCallbackCallback 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

NameDescription
portion (Presentation, ForEach_.ForEachPortionCallback)Iterate each Portion in the Presentation.

Parameters:

NameTypeDescription
presPresentationPresentation to iterate portions
forEachPortionForEach_.ForEachPortionCallbackCallback 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

NameDescription
portion (Presentation, boolean, ForEach_.ForEachPortionCallback)Iterate each Portion in the Presentation.

Parameters:

NameTypeDescription
presPresentationPresentation to iterate portions
includeNotesbooleanFlag that indicates whether NotesSlides should be included in processing.
forEachPortionForEach_.ForEachPortionCallbackCallback 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

NameDescription
shape (Presentation, ForEach_.ForEachShapeCallback)Iterate each Shape in the Presentation.

Parameters:

NameTypeDescription
presPresentationPresentation to iterate layout shapes
forEachShapeForEach_.ForEachShapeCallbackCallback 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

NameDescription
shape (Presentation, boolean, ForEach_.ForEachShapeCallback)Iterate each Shape in the Presentation.

Parameters:

NameTypeDescription
presPresentationPresentation to iterate layout shapes
includeNotesbooleanFlag that indicates whether NotesSlides should be included in processing.
forEachShapeForEach_.ForEachShapeCallbackCallback 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

NameDescription
shape (BaseSlide, ForEach_.ForEachShapeCallback)Iterate each Shape in the BaseSlide.

Parameters:

NameTypeDescription
baseSlideBaseSlideSlide to iterate layout shapes
forEachShapeForEach_.ForEachShapeCallbackCallback that will be invoked for each shape BaseSlide is the base type for #slide(Presentation,ForEachSlideCallback), #masterSlide(Presentation,ForEachMasterSlideCallback) and #layoutSlide(Presentation,ForEachLayoutSlideCallback)

slide

NameDescription
slide (Presentation, ForEach_.ForEachSlideCallback)Iterate each #slide(Presentation,ForEachSlideCallback) in the Presentation.

Parameters:

NameTypeDescription
presPresentationPresentation to iterate slides
forEachSlideForEach_.ForEachSlideCallbackCallback that will be invoked for each slide