Skip to content

3ebdc48d cea3 5217 fae3 a33752b7657c

Fernando Garcia edited this page May 8, 2018 · 1 revision

TableModel Class

Additional header content

Includes the description of export table.

Inheritance Hierarchy

System.Object
  iTin.Export.Model.BaseModel(TableModel)
    iTin.Export.Model.TableModel
Namespace: iTin.Export.Model
Assembly: iTin.Export.Core (in iTin.Export.Core.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#

[SerializableAttribute]
public class TableModel : BaseModel<TableModel>

VB

<SerializableAttribute>
Public Class TableModel
	Inherits BaseModel(Of TableModel)

The TableModel type exposes the following members.

Constructors

 

Name Description
Public method TableModel Initializes a new instance of the TableModel class.
  Back to Top

Properties

 

Name Description
Public propertyCode example Alias Gets or sets the alias of the table.
Public propertyCode example AutoFilter Gets or sets a value indicating whether displays the autofilter.
Public propertyCode example AutoFitColumns Gets or sets a value indicating whether adjusts column width automatically.
Public property Charts Gets or sets collection of user-defined charts.
Public property Conditions
Public property Exporter Gets or sets a reference to the exporter model defined for this table
Public property Fields Gets or sets collection of data fields.
Public property HasFields Gets a value indicating whether there are fields defined.
Public property Headers Gets or sets the headers.
Public propertyCode example Host Gets or sets the alias of the table.
Public property Location Gets or sets a reference which contains the location of the table in the host, this can be by coordinates or by type of alignment, depending whether the host has or not a tabular format. You can only choose one of the modes. If this tag does not define the defaults is by coordinates
Public property Logo Gets or sets a reference to the logo model defined for this table.
Public propertyCode example Name Gets or sets name of the table.
Public property Output Gets or sets a reference to output configuration model, it includes path and file name.
Public property Properties Gets or sets a reference to user-defined property list for this element. (Inherited from BaseModel(T).)
Public property ShowColumnHeaders Gets or sets the show column headers.
Public propertyCode example ShowGridLines Gets or sets a value indicating whether show grid lines.
  Back to Top

Methods

 

Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetHeaderColumnsSize Gets a dictionary containing the pair of header column number / size in pixels of the same.
Protected method GetStaticBindingValue Gets the static binding value by reflection. (Inherited from BaseModel(T).)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method SaveToFile(String) Saves to file. (Inherited from BaseModel(T).)
Public method SaveToFile(String, Exception) Serializes current BaseModel object into file (Inherited from BaseModel(T).)
Public method Serialize Serializes current BaseModel object into an Xml document. (Inherited from BaseModel(T).)
Public method ToString Returns a string that represents the current data type. (Overrides BaseModel(T).ToString().)
  Back to Top

Remarks

Belongs to: Export. For more information, please see ExportModel.
TEE Object Element Usage

<Table ...>
<Logo/>
<Exporter/>
<Output/>
<Location/>
<Styles/>
<Fixed/>
<Groups/>
<Fields/>
<Charts/>
</Table>

Attributes

Attribute Optional Description
Name No Name of the table.
Alias Yes Alias of the table. The default is an empty string ("").
AutoFilter Yes Determines whether displays the AutoFilter. The default is No.
AutoFitColumns Yes Determines whether adjusts column width automatically. The default is No.
ShowGridLines Yes Determines whether shows grid lines. The default is Yes.
Elements  
Element Description
Logo Defines logo configuration, includes image file path, size, location, effects and visibility.
Exporter Defines the type of exporter to use and their behavior.
Output Defines output configuration, includes path, file name and optionaly the adapter operating system.
Location Defines the location of the table in the host, this can be by coordinates or by type of alignment, depending whether the host has or not a tabular format. You can only choose one of the modes. If this tag does not define the defaults is by coordinates.
Styles Collection of user-defined styles. Each element defines type of content, such as the background color, the alignment type, the data type and the font type.
Groups Collection of user-defined groups. Each element is result from the union of several data field.
Fixed Collection of user-defined pieces. Each element is a collection of smaller pieces result of splitting the reference field.
Fields Collection of data fields. Each element is a data field.
Charts Collection of user-defined charts. Each element represents a user-defined chart.
  Compatibility table with native writers.
Comma-Separated Values
CsvWriter
Tab-Separated Values
TsvWriter
SQL Script
SqlScriptWriter
XML Spreadsheet 2003
Spreadsheet2003TabularWriter
X X X X
X

See Also

Reference

iTin.Export.Model Namespace

Clone this wiki locally