HtmlTableLoadOptionCollection

HtmlTableLoadOptionCollection class

Represents the table options when importing html.

class HtmlTableLoadOptionCollection;

Constructors

NameDescription
constructor()Default Constructor.

Properties

PropertyTypeDescription
tableToListObjectbooleanIndicates whether generate list objects from imported tables. The default value is false.

Methods

MethodDescription
get(number)Gets the HtmlTableLoadOption element at the specified index.
add(HtmlTableLoadOption)Adds one HtmlTableLoadOption into this collection.
add(number)Add a HtmlTableLoadOption to the list.
add(string)Add a HtmlTableLoadOption to the list.
add(number, number)Add a HtmlTableLoadOption to the list.
add(string, number)Add a HtmlTableLoadOption to the list.
add(number, number, number)Add a HtmlTableLoadOption to the list.
add(string, number, number)Add a HtmlTableLoadOption to the list.

constructor()

Default Constructor.

constructor();

tableToListObject

Indicates whether generate list objects from imported tables. The default value is false.

tableToListObject : boolean;

get(number)

Gets the HtmlTableLoadOption element at the specified index.

get(index: number) : HtmlTableLoadOption;

Parameters:

ParameterTypeDescription
indexnumberThe zero based index of the element.

Returns

The element at the specified index.

add(HtmlTableLoadOption)

Adds one HtmlTableLoadOption into this collection.

add(item: HtmlTableLoadOption) : number;

Parameters:

ParameterTypeDescription
itemHtmlTableLoadOptionone HtmlTableLoadOption

Returns

the index of the added item

add(number)

Add a HtmlTableLoadOption to the list.

add(tableIndex: number) : number;

Parameters:

ParameterTypeDescription
tableIndexnumberTable index

add(string)

Add a HtmlTableLoadOption to the list.

add(tableId: string) : number;

Parameters:

ParameterTypeDescription
tableIdstringTable ID

add(number, number)

Add a HtmlTableLoadOption to the list.

add(tableIndex: number, targetSheetIndex: number) : number;

Parameters:

ParameterTypeDescription
tableIndexnumberTable index
targetSheetIndexnumberThe target index of worksheet in Excel

add(string, number)

Add a HtmlTableLoadOption to the list.

add(tableId: string, targetSheetIndex: number) : number;

Parameters:

ParameterTypeDescription
tableIdstringTable ID
targetSheetIndexnumberThe target index of worksheet in Excel

add(number, number, number)

Add a HtmlTableLoadOption to the list.

add(tableIndex: number, targetSheetIndex: number, originalSheetIndex: number) : number;

Parameters:

ParameterTypeDescription
tableIndexnumberTable index
targetSheetIndexnumberThe target index of worksheet in Excel
originalSheetIndexnumberThe original index of worksheet in the html

add(string, number, number)

Add a HtmlTableLoadOption to the list.

add(tableId: string, targetSheetIndex: number, originalSheetIndex: number) : number;

Parameters:

ParameterTypeDescription
tableIdstringTable ID
targetSheetIndexnumberThe target index of worksheet in Excel
originalSheetIndexnumberThe original index of worksheet in the html