Toggle layout (P)

Modified on Mon, 5 Oct at 1:54 PM

BaseExtensions can be used to select a layout on a specific slide in a presentation. There are two ways to do that as it can either be done with document properties or by typing directly in the command.

Module is located here:

Code
...\ModuleLibrary\BaseExtensions\01_nocontext_Tools\22_P_toggleLayout.xml

<Cmd case="BaseExtensions:set-layout" slideIndex="x" toggleLayoutDocProp="x" />

Description: Toggles layout based on document properties.

Parameters:

slideIndex

The index of slide that the layout should be changed on, e.g. "F1" (First slide 1) or "L1" (Last slide 1).

toggleLayoutDocProp

Define if the layout of the slide should be bound to the document property specified in this parameter. For instance, "LayoutColor" and then create a document property called "LayoutColor" with a color (e.g. "White" or "Black") as value.


<Cmd case="BaseExtensions:set-layout" slideIndex="x" toggleLayout="x"/>

Description: Toggles layout based on the command.

Parameters:

slideIndex

The index of slide that the layout should be changed on, e.g. "F1".

toggleLayout

Define layout names to toggle them through the specified slide in "slideIndex" parameter. It is possible to define several layouts. These must be separated by a comma, for instance:

toggleLayout="Title Slide - White,Title Slide - Circle Black,Title Slide - Circle White"

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article