DescriptionThis sample creates a presentation showing the college admissions test scores for a group of students. This sample demonstrates how to use PowerPointWriter formulas and using the Continue modifier with RepeatSlide marker.
The data for this sample is a data table of randomly generated college admission test scores. The following code is used to generate the data table.
The template presentation consists of three slides containing data markers and formulas.
The second slide in our presentation contains the Continue modifier and RepeatSlide marker. When used together on a slide, PowerPointWriter will import data on to a slide until MaxRowsPerSlide is reached. Then, PowerPointWriter will copy the slide and continue adding data to the new slide. This will be repeated until all the data in the data source has been imported. See Fitting Data on to Multiple Slides to learn more.
The third slide contains several formulas summarizing the information from the first two slides. Formulas should follow the syntax %%=FORMULA_NAME(DataSource.DataCol). See Adding Formulas to a Presentation for more information and a list of supported formulas.
Our finished template will look like the following:
The resulting formula slide is below:
* Sample output: output.pptx