Message-ID: <1198954129.2155.1710819561281.JavaMail.web05$@web05> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_2154_1997932603.1710819561281" ------=_Part_2154_1997932603.1710819561281 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html How to use Data Markers

How to use Data Markers

Introduction

This g= uide will explain the syntax and naming conventions of PowerPointWriter dat= a markers, as well as data marker modifiers which can change how data is im= ported.

=20 =20

Definition

A data marker is a string used as a placeholder fo= r data that will be imported by PowerPointWriter's PowerPointTemplate object. Each data marker = corresponds to a column in a data source. The data markers are added to the= template in PowerPoint and then populated at run time using PowerPointTemp= late.

Sytax

Basic Syntax

Data markers use the following syntax: %%=3DDataSourceName.Colum= nName

For more information on the types of data sources supported by PowerPoin= tWriter and how to bind data to a template, see Importing a Single Row of Data and Importing Multiple Ro= ws of Data.

Allowed Characters

Additionally, the data source name and the column name must follow these= rules:

Ordinal Syntax

Data markers can also be defined using *ordinal syntax*, which allows yo= u to specify the data source and column names using numbers. This gives you= flexibility if you don't know the names of your data columns or if you wan= t to generalize a template.

Ordinal syntax is as follows: %%=3D<DataSourceNumber>.<= ColNumber> where:

Ordinal syntax can be used with regular syntax:

See the fieldname modifier below for more about importing = column names with ordinal syntax.

Modifiers

Modifiers can effect how data is imported into the template file. Modifi= ers use the following syntax: %%=3DDataSourceName.ColumnName(modifi= er).

List of Modifiers

Modifier Behavior Additional References
Continue

The continue modifier allows= data to be imported onto multiple slides in a presentation.
Set DataBindingPro= perties.MaxRowsPerSlide to limit the number of rows that can be
i= mported on a slide and then use the continue modifier to c= ontinue importing the additional rows.

Fitting Data on to Multiple Slides

Image

The image modifier is used t= o import an image into a presentation. The image modifier = has
parameters that can control the dimensions and aspect ratio setti= ngs of the imported image.

I= mporting Images

Fieldname

The *fieldname* modifier will import the colu= mn name from the data source, rather than the
actual data. Use with o= rdinal syntax to dynamically import column names.

See ordinal syntax above.


 

------=_Part_2154_1997932603.1710819561281--