Page tree

Versions Compared

Key

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

...

In order to ensure that data sets with multiple rows fit neatly in a PowerPoint presentation, PowerPointWriter allows the user to manipulate the for customization of the way data is imported.

Excerpt

This guide will explain how to use the various PowerPointWriter options for fitting data on to multiple slides.

This guide assumes a basic knowledge of data markers.

Center

Jump to:

Table of Contents
maxLevel4
minLevel2

...

The MaxRowsPerSlide property allows the user to control how many rows of data are imported into any slide. Note that when importing multiple row of data, the data marker must be placed in a list entry or table row. For more information see Importing Multiple Rows of Data.

Code Block
csharp
csharp
titleSetting the MaxRowsPerSlide Property
DataBindingProperties DataProps = pptt.DataBindingProperties();
DataProps.MaxRowsPerSlide = 5;

...

The Continue modifier allows data from a single data source to be imported across multiple slides. When data is being imported into a data source, and the MaxRowsPerSlide limit is reached, PowerPointWriter will look in the presentation for another a data marker with the Continue modifier. It will then begin importing data into this data marker, starting with the next row of data in the data source.

The Continue modifier should be placed in parentheses at the end of a data marker.
Ex: %%=DataSource.DataCol(Continue)

If a presentation contains multiple appearances of the same data marker and the Continue modifier is not used, PowerPointWriter will begin importing data from the first row in the data source for each instance of the data 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 RepeatSlide, 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 until all the data has been imported or the MaxRowsToImport limit has been reached.

To use RepeatSlide:
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.