Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Programmer's Reference

\This section contains a page about every class and method in WordTemplate.

WordTemplate.ALL_ROWS

Used by SetDataSource to indicate that as much of the data source should be imported as possible.

WordTemplate.BookmarkFieldMarkers(String)

Returns the names of all merge fields in the specified bookmark.

WordTemplate.Bookmarks

Returns the names of all bookmarks in a WordWriter template.

WordTemplate.BookmarksToRemove

Sets a list of bookmarks to be removed from the document.

WordTemplate.ContentType

Sets or returns the content-type header that will be sent to the browser with the generated Word document.

WordTemplate.CultureInfo

The CultureInfo property allows you to override the server's default locale when generating a new Word file. For example, to generate a US English document on a French operating system, you could use CultureInfo to set the Word file's to US English.

WordTemplate.DataSourceSeparator

Use DataSourceSeparator to set the character that separates a data source name from a column name in a data marker. '.' is the default data source separator.

WordTemplate.EnableNEXTFields

Gets or sets whether NEXT fields should be enabled in the WordTemplate. If NEXT fields are enabled, the data source will move to the next row of data when merge field is repeated in the template file.

WordTemplate.FieldMarkers

Returns the names of all merge fields in the main document.

WordTemplate.LicenseKey

Sets or returns the registered 23-character license key that enables WordWriter.

WordTemplate.Open

WordTemplate.PreserveFields

Gets or sets whether merge fields and next fields should be preserved after processing the WordTemplate.

WordTemplate.Process()

The Process method enters data source values in a template's merge fields, and creates an image of the output file (the new document) in memory.

WordTemplate.Save

WordTemplate.SaveExtension

The extension that should be used when saving this template; based on the input file.

WordTemplate.SetDataSource

WordTemplate.SetDocumentProperty

Sets the value of the specified property.

WordTemplate.SetMailMerge

  • WordTemplate.SetMailMerge(Object(,), String(), Int32, Boolean)Sets the MailMerge's data source to a two-dimensional (rectangular) array of objects. A MailMerge by default treats the page content as a repeat block, repeating the page content for each row unless NEXT fields are used. If the WordTemplate.EnableNEXTFields property is set to true, the NEXT field can also be used to indicate that the next row of data should be inserted instead of the current row at the next occurence of the merge fields. This should largely imitate the behavior of a Microsoft Wo
  • WordTemplate.SetMailMerge(Object(,), String())Sets the MailMerge's data source to a two-dimensional (rectangular) array of objects. A MailMerge by default treats the page content as a repeat block, repeating the page content for each row unless NEXT fields are used. If the WordTemplate.EnableNEXTFields property is set to true, the NEXT field can also be used to indicate that the next row of data should be inserted instead of the current row at the next occurence of the merge fields. This should largely imitate the behavior of a Microsoft Wo
  • WordTemplate.SetMailMerge(Object(), String())Sets the MailMerge's data source to a two-dimensional (rectangular) array of objects. A MailMerge by default treats the page content as a repeat block, repeating the page content for each row unless NEXT fields are used. If the WordTemplate.EnableNEXTFields property is set to true, the NEXT field can also be used to indicate that the next row of data should be inserted instead of the current row at the next occurence of the merge fields. This should largely imitate the behavior of a Microsoft Wo
  • WordTemplate.SetMailMerge(Object()(), String(), Int32, Boolean)Sets the MailMerge's data source to a two-dimensional (rectangular) array of objects. A MailMerge by default treats the page content as a repeat block, repeating the page content for each row unless NEXT fields are used. If the WordTemplate.EnableNEXTFields property is set to true, the NEXT field can also be used to indicate that the next row of data should be inserted instead of the current row at the next occurence of the merge fields. This should largely imitate the behavior of a Microsoft Wo
  • WordTemplate.SetMailMerge(Object()(), String())Sets the MailMerge's data source to a two-dimensional (rectangular) array of objects. A MailMerge by default treats the page content as a repeat block, repeating the page content for each row unless NEXT fields are used. If the WordTemplate.EnableNEXTFields property is set to true, the NEXT field can also be used to indicate that the next row of data should be inserted instead of the current row at the next occurence of the merge fields. This should largely imitate the behavior of a Microsoft Wo
  • WordTemplate.SetMailMerge(System.Collections.ICollection)Sets the MailMerge's data source to a two-dimensional (rectangular) array of objects. A MailMerge by default treats the entire page as a repeat block, adding a new page when needed. A MailMerge by default treats the page content as a repeat block, repeating the page content for each row unless NEXT fields are used. If the WordTemplate.EnableNEXTFields property is set to true, the NEXT field can also be used to indicate that the next row of data should be inserted instead of the current row at th
  • WordTemplate.SetMailMerge(System.Collections.IEnumerator)Sets the MailMerge's data source to a two-dimensional (rectangular) array of objects. A MailMerge by default treats the page content as a repeat block, repeating the page content for each row unless NEXT fields are used. If the WordTemplate.EnableNEXTFields property is set to true, the NEXT field can also be used to indicate that the next row of data should be inserted instead of the current row at the next occurence of the merge fields. This should largely imitate the behavior of a Microsoft Wo
  • WordTemplate.SetMailMerge(System.Data.DataSet, Int32)Sets the MailMerge's data source to a two-dimensional (rectangular) array of objects. A MailMerge by default treats the page content as a repeat block, repeating the page content for each row unless NEXT fields are used. If the WordTemplate.EnableNEXTFields property is set to true, the NEXT field can also be used to indicate that the next row of data should be inserted instead of the current row at the next occurence of the merge fields.
  • WordTemplate.SetMailMerge(System.Data.DataSet)Sets the MailMerge's data source to a two-dimensional (rectangular) array of objects. A MailMerge by default treats the page content as a repeat block, repeating the page content for each row unless NEXT fields are used. If the WordTemplate.EnableNEXTFields property is set to true, the NEXT field can also be used to indicate that the next row of data should be inserted instead of the current row at the next occurence of the merge fields.
  • WordTemplate.SetMailMerge(System.Data.DataTable, Int32)Sets the MailMerge's data source to a DataTable. A MailMerge by default treats the page content as a repeat block, repeating the page content for each row unless NEXT fields are used. If the WordTemplate.EnableNEXTFields property is set to true, the NEXT field can also be used to indicate that the next row of data should be inserted instead of the current row at the next occurence of the merge fields.
  • WordTemplate.SetMailMerge(System.Data.DataTable)Sets the MailMerge's data source to a two-dimensional (rectangular) array of objects. A MailMerge by default treats the page content as a repeat block, repeating the page content for each row unless NEXT fields are used. If the WordTemplate.EnableNEXTFields property is set to true, the NEXT field can also be used to indicate that the next row of data should be inserted instead of the current row at the next occurence of the merge fields.
  • WordTemplate.SetMailMerge(System.Data.IDataReader, Int32)Sets the MailMerge's data source to a two-dimensional (rectangular) array of objects. A MailMerge by default treats the page content as a repeat block, repeating the page content for each row unless NEXT fields are used. If the WordTemplate.EnableNEXTFields property is set to true, the NEXT field can also be used to indicate that the next row of data should be inserted instead of the current row at the next occurence of the merge fields.
  • WordTemplate.SetMailMerge(System.Data.IDataReader)Sets the MailMerge's data source to a two-dimensional (rectangular) array of objects. A MailMerge by default treats the page content as a repeat block, repeating the page content for each row unless NEXT fields are used. If the WordTemplate.EnableNEXTFields property is set to true, the NEXT field can also be used to indicate that the next row of data should be inserted instead of the current row at the next occurence of the merge fields.

WordTemplate.SetRepeatBlock

WordTemplate.UnlinkIfFields

Gets or sets whether IF fields will be unlinked from the document after they are evaluated.

WordTemplate.UpdateIfFields

Gets or sets whether IF fields should be evaluated server-side in the WordTemplate.

WordTemplate.Version

Returns the exact version of WordWriter.

WordTemplate.WordTemplate()

Creates a new WordTemplate object.

  • No labels