WordTemplate
The WordTemplate object represents a WordWriter template. A WordWriter template is a file created in Microsoft Word that contains merge fields.
- WordTemplate.ALL_ROWS — Used by SetDataSource to indicate that as much of the data source should be imported as possible.
- WordTemplate.AllowURIs — Gets or sets whether documents and images can be inserted from URIs (urls and file paths).
- 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.LineBreaksToParagraphs — Gets or sets whether line breaks in data will result in a new paragraph after processing the WordTemplate. This property only has an affect on OOXML Word documents (.docx, .dotx, etc).
- WordTemplate.MergeFieldsToIgnore — Sets a list of mergefields to be ignored during processing.
- 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.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.