Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The continue modifier can also be used to import multiple batches of data onto a single slide:

PowerPointWriter will attempt to import all the data, but there must be enough data markers with Continue modifiers to accommodate all the data, or data rows will be lost. For example, if you have 12 rows of data and MaxRowsPerSlide is set to 5, then you need the original data marker and two additional data markers with the Continue modifier to import all 12 rows (5 rows, 5 rows, 2 rows).

If you are unsure of how many rows to import, we recommend that you use the RepeatSlide marker.

RepeatSlide

PowerPoint's RepeatSlide marker makes it easy to import data onto multiple slides with the same layout. With RepeatSlide it is not necessary to know the size of the data set you are importing.

On a slide that contains marked with the RepeatSlide marker, PowerPointWriter will import data onto the slide until the MaxRowsPerSlide limit is reached. Next, PowerPointWriter will create a copy of the slide and insert the copy into the presentation in place. PowerPointWriter will then continue importing data onto this new slide. PowerPointWriter will continue copying slides All of the data markers on the copied slide are treated as though they have the Continue modifier applied.

Then using the regular Continue modifier behavior, PowerPointWriter will search for the next instance of the data marker with the Continue modifier. This will of course be the copied slide that was just created and PowerPointWriter will continue to import data onto the new slide. This behavior will continue until all the data has been imported or the MaxRowsToImport limit has been reached.

To use RepeatSlide:

  1. Make sure that MaxRowsPerSlide is set to avoid importing all the data at once
  2. Place the marker %%RepeatSlide as the first item in the notes section of the slide you wish to see repeated. There must be a space between the RepeatSlide marker and the rest of the text in the notes section, but you can have additional text in the notes section.

Special Cases

Repeating an entire slide for each row of data

To achieve mail merge-like behavior:

  1. Make sure that MaxRowsPerSlide is set to 1
  2. Add %%RepeatSlide to the slide you want to repeat
  3. Add data markers: the data markers do not need to be in a list entry or table row.

Image Added

Repeating a slide that already has the continue modifier

PowerPointWriter will always attempt to import data at the next available data marker with the Continue modifier.

When the RepeatSlide behavior is engaged, it makes a copy of the repeating slide and sets all the data markers to use the Continue modifier. If you are importing multiple times on the same slide, this behavior will continue for each repeated slide:

Image Added
Image Added

You can also start by importing data on a non-repeating slide and then continue on a slide that is set to repeat:

First slide:
Image Added

Second slide, set to repeat:
Image Added