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

« Previous Version 2 Next »

Overload

Description

SetRepeatBlock(System.Data.DataSet, String)

Sets the specified repeat block's data source to an ADO.NET DataSet. A repeat block is a fragment in the template document that will be repeated for each row in a data source. In the template document, repeat blocks are defined by Word bookmarks that contain merge fields.

SetRepeatBlock(System.Data.DataSet, String, Int32)

Sets the specified repeat block's data source to an ADO.NET DataSet.

SetRepeatBlock(System.Data.DataTable, String)

Sets the specified repeat block's data source to an ADO.NET DataTable.

SetRepeatBlock(System.Data.DataTable, String, Int32)

Sets the specified repeat block's data source to an ADO.NET DataTable.

SetRepeatBlock(System.Data.IDataReader, String)

Sets the specified repeat block's data source to an IDataReader interface, which may be either a SqlDataReader, OleDbDataReader or an AdomdDataReader.

SetRepeatBlock(System.Data.IDataReader, String, Int32)

Sets the specified repeat block's data source to an IDataReader interface, which may be either a SqlDataReader, OleDbDataReader, or an AdomdDataReader.

SetRepeatBlock(Object(), String(), String)

Sets the specified repeat block's data source to a 1-dimensional array of objects.

SetRepeatBlock(Object(,), String(), String)

Sets the specified repeat block's data source to a multidimensional (rectangular) array of objects.

SetRepeatBlock(Object(,), String(), String, Int32, Boolean)

Sets the specified repeat block's data source to a multidimensional (rectangular) array of objects.

SetRepeatBlock(Object()(), String(), String)

Sets the specified repeat block's data source to a jagged array (array-of-arrays) of objects.

SetRepeatBlock(Object()(), String(), String, Int32, Boolean)

Sets the specified repeat block's data source to a jagged array (array-of-arrays) of objects.

SetRepeatBlock(System.Collections.IEnumerator, String)

Sets the specified repeat block's data source to an IEnumerator collection.

SetRepeatBlock(System.Collections.IEnumerator, String, String)

Sets the specified repeat block's data source to an IEnumerator collection.

SetRepeatBlock(System.Collections.ICollection, String)

Sets the specified repeat block's data source to an ICollection.

SetRepeatBlock(System.Collections.ICollection, String, String)

Sets the specified repeat block's data source to an ICollection.

SharePoint Integration Extension Methods

Introduced in build 4.5

Overload

Description

SetRepeatBlock(Microsoft.SharePoint.SPList, String, Int32)

Sets the specified repeat block's data source to a SharePoint List.

SetRepeatBlock(Microsoft.SharePoint.SPList, String)

Sets the specified repeat block's data source to a SharePoint List.

SetRepeatBlock(Microsoft.SharePoint.SPView, Microsoft.SharePoint.SPList, String, Int32)

Sets the specified repeat block's data source to a SharePoint View.

SetRepeatBlock(Microsoft.SharePoint.SPView, Microsoft.SharePoint.SPList, String)

Sets the specified repeat block's data source to a SharePoint View.

Limitations

Not all Word features can be included in a repeat block:

Supported in Repeat Blocks

Not Supported in Repeat Blocks

  • Character Formatting (everywhere)
  • Paragraph Formatting (Alignment, Outlines, Indent, Spacing, Page Break before, Keep Together)
  • Multiple Columns (2, 3, Column Breaks)
  • Borders and Shading
  • Tabs
  • Bullets
  • Numbering (numbering not reset, it is continued from one repeat block to another)
  • Page Breaks
  • Section Breaks
  • Auto Text Field
  • Hyperlink
  • Pictures
  • Table Row Repeat (entire row only)
  • Fields (with some restrictions)
  • Nested repeat blocks (Only one data source may be assigned to a single repeat block.)
  • Overlapping bookmarks
  • Comments
  • Drawing Objects
  • Text Boxes
  • Footnote and endnote references
  • Table and picture indexes
  • Single cell in a table
  • Smart tags (smart tags will be removed from the document)
  • Repeat blocks in headers, footers, footnotes, comments, text boxes, etc.

\

  • No labels