DocumentTableSet class

DocumentTableSet class

Provides access to data of multiple tables (or spreadsheets) located in an external document to be used while assembling a document. Also, enables to define parent-child relations for the document tables thus simplifying access to related data within template documents.

The DocumentTableSet type exposes the following members:

Constructors

Constructor Description
init Creates a new instance of this class loading all tables from a document using default
DocumentTableOptions.
init Creates a new instance of this class.
init Creates a new instance of this class loading all tables from a document using default
DocumentTableOptions.
init Creates a new instance of this class.

Properties

Property Description
tables Gets the collection of DocumentTable objects representing tables of this set.
relations Gets the collection of parent-child relations defined for document tables of this set.

Remarks

For documents of Spreadsheet file formats, a DocumentTableSet instance represents a set of sheets. For documents of other file formats, a DocumentTableSet instance represents a set of tables.

To access data of the corresponding tables while assembling a document, pass an instance of this class as a data source to one of DocumentAssembler. overloads.

In template documents, a DocumentTableSet instance should be treated in the same way as if it was a DataSet instance. See template syntax reference for more information.

See Also