Message-ID: <1548942213.10403.1711723729080.JavaMail.web05$@web05> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_10402_1004517040.1711723729080" ------=_Part_10402_1004517040.1711723729080 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
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 th= e template in PowerPoint and then populated at run time using PowerPointTem= plate.
Data markers use the following syntax: %%=3DDataSourceName.Colum= nName
DataSourceName is the name of the data source.= This name is specified in code when the PowerPointTemplate.BindData method is called.
=ColumnName is the name of the column that cont= ains the value(s) to be imported. The column name must match the columns sp= ecified in code.
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 = Rows of Data.
Additionally, the data source name and the column name must follow these= rules:
Data source and column names must not include Unicode characters
=Data source and column names must begin with a letter (A-Z, a-z).
Data source and column names may include the following characters on= ly:
ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890
Spaces are not allowed anywhere in a data marker
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:
DataSourceNumber is a 1-based number that is d= etermined by the order of the BindData method calls in the code. For example, %%=3D#2= .#7 refers to the data source associated with the second call to BindData.<= /p>
ColNumber is a 1-based number that is determin= ed by the order of the columns in the data source. For example, %%=3D#2.#7 = refers to the 7th column in the second data source defined in the code.
=Ordinal syntax can be used with regular syntax:
%%=3DDataSource.#2
%%=3D#3.ColName
See the fieldname modifier below for more about importing = column names with ordinal syntax.
Modifiers can effect how data is imported into the template file. Modifi= ers use the following syntax: %%=3DDataSourceName.ColumnName(modifi= er).
Modifier | Behavior | Additional References |
---|---|---|
Continue | The continue modifier allows=
data to be imported onto multiple slides in a presentation. |
|
Image | The image modifier is used t=
o import an image into a presentation. The image modifier =
has |
|
Fieldname | The *fieldname* modifier will import the colu=
mn name from the data source, rather than the |
See ordinal syntax above. |