
**Inheritance:**
java.lang.Object, [com.aspose.cells.CollectionBase](../../com.aspose.cells/collectionbase)
```
public class HtmlTableLoadOptionCollection extends CollectionBase
```

Represents the table options when importing HTML.
## Constructors

| Constructor | Description |
| --- | --- |
| [HtmlTableLoadOptionCollection()](#HtmlTableLoadOptionCollection--) |  |
## Methods

| Method | Description |
| --- | --- |
| [add(HtmlTableLoadOption item)](#add-com.aspose.cells.HtmlTableLoadOption-) | Adds one HtmlTableLoadOption into this collection. |
| [add(int tableIndex)](#add-int-) | Add a HtmlTableLoadOption to the list. |
| [add(int tableIndex, int targetSheetIndex)](#add-int-int-) | Add a HtmlTableLoadOption to the list. |
| [add(int tableIndex, int targetSheetIndex, int originalSheetIndex)](#add-int-int-int-) | Add a HtmlTableLoadOption to the list. |
| [add(Object o)](#add-java.lang.Object-) | Adds an item to the CollectionBase instance. |
| [add(String tableId)](#add-java.lang.String-) | Add a HtmlTableLoadOption to the list. |
| [add(String tableId, int targetSheetIndex)](#add-java.lang.String-int-) | Add a HtmlTableLoadOption to the list. |
| [add(String tableId, int targetSheetIndex, int originalSheetIndex)](#add-java.lang.String-int-int-) | Add a HtmlTableLoadOption to the list. |
| [addTableLoadOption(HtmlTableLoadOption item)](#addTableLoadOption-com.aspose.cells.HtmlTableLoadOption-) | Adds one HtmlTableLoadOption into this collection. |
| [clear()](#clear--) | Removes all objects from the CollectionBase instance. |
| [contains(Object o)](#contains-java.lang.Object-) | Return whether instance contains this object |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [get(int index)](#get-int-) | Gets the [HtmlTableLoadOption](../../com.aspose.cells/htmltableloadoption) element at the specified index. |
| [getClass()](#getClass--) |  |
| [getCount()](#getCount--) | Gets the number of elements contained in the CollectionBase instance. |
| [getTableToListObject()](#getTableToListObject--) | Indicates whether generate list objects from imported tables. |
| [hashCode()](#hashCode--) |  |
| [indexOf(Object o)](#indexOf-java.lang.Object-) | Determines the index of a specific item in the CollectionBase instance. |
| [iterator()](#iterator--) | Returns an enumerator that iterates through the CollectionBase instance. |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [removeAt(int index)](#removeAt-int-) | Removes the item at the specified index. |
| [setTableToListObject(boolean value)](#setTableToListObject-boolean-) | Indicates whether generate list objects from imported tables. |
| [toString()](#toString--) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### HtmlTableLoadOptionCollection() {#HtmlTableLoadOptionCollection--}
```
public HtmlTableLoadOptionCollection()
```


### add(HtmlTableLoadOption item) {#add-com.aspose.cells.HtmlTableLoadOption-}
```
public int add(HtmlTableLoadOption item)
```


Adds one HtmlTableLoadOption into this collection.

**Remarks**

NOTE: This member is now obsolete. Instead, please use AddTableLoadOption() method. This method will be removed 6 months later since December 2025. Aspose apologizes for any inconvenience you may have experienced.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| item | [HtmlTableLoadOption](../../com.aspose.cells/htmltableloadoption) | one HtmlTableLoadOption |

**Returns:**
int - the index of the added item
### add(int tableIndex) {#add-int-}
```
public int add(int tableIndex)
```


Add a HtmlTableLoadOption to the list.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| tableIndex | int | Table index |

**Returns:**
int - 
### add(int tableIndex, int targetSheetIndex) {#add-int-int-}
```
public int add(int tableIndex, int targetSheetIndex)
```


Add a HtmlTableLoadOption to the list.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| tableIndex | int | Table index |
| targetSheetIndex | int | The target index of worksheet in Excel |

**Returns:**
int
### add(int tableIndex, int targetSheetIndex, int originalSheetIndex) {#add-int-int-int-}
```
public int add(int tableIndex, int targetSheetIndex, int originalSheetIndex)
```


Add a HtmlTableLoadOption to the list.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| tableIndex | int | Table index |
| targetSheetIndex | int | The target index of worksheet in Excel |
| originalSheetIndex | int | The original index of worksheet in the html |

**Returns:**
int
### add(Object o) {#add-java.lang.Object-}
```
public int add(Object o)
```


Adds an item to the CollectionBase instance.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| o | java.lang.Object | The Object to add to the CollectionBase instance. |

**Returns:**
int - The position into which the new element was inserted.
### add(String tableId) {#add-java.lang.String-}
```
public int add(String tableId)
```


Add a HtmlTableLoadOption to the list.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| tableId | java.lang.String | Table ID |

**Returns:**
int - 
### add(String tableId, int targetSheetIndex) {#add-java.lang.String-int-}
```
public int add(String tableId, int targetSheetIndex)
```


Add a HtmlTableLoadOption to the list.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| tableId | java.lang.String | Table ID |
| targetSheetIndex | int | The target index of worksheet in Excel |

**Returns:**
int - 
### add(String tableId, int targetSheetIndex, int originalSheetIndex) {#add-java.lang.String-int-int-}
```
public int add(String tableId, int targetSheetIndex, int originalSheetIndex)
```


Add a HtmlTableLoadOption to the list.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| tableId | java.lang.String | Table ID |
| targetSheetIndex | int | The target index of worksheet in Excel |
| originalSheetIndex | int | The original index of worksheet in the html |

**Returns:**
int - 
### addTableLoadOption(HtmlTableLoadOption item) {#addTableLoadOption-com.aspose.cells.HtmlTableLoadOption-}
```
public int addTableLoadOption(HtmlTableLoadOption item)
```


Adds one HtmlTableLoadOption into this collection.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| item | [HtmlTableLoadOption](../../com.aspose.cells/htmltableloadoption) | one HtmlTableLoadOption |

**Returns:**
int - the index of the added item
### clear() {#clear--}
```
public void clear()
```


Removes all objects from the CollectionBase instance.

### contains(Object o) {#contains-java.lang.Object-}
```
public boolean contains(Object o)
```


Return whether instance contains this object

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| o | java.lang.Object | test object |

**Returns:**
boolean - Whether instance contains this object
### equals(Object arg0) {#equals-java.lang.Object-}
```
public boolean equals(Object arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | java.lang.Object |  |

**Returns:**
boolean
### get(int index) {#get-int-}
```
public HtmlTableLoadOption get(int index)
```


Gets the [HtmlTableLoadOption](../../com.aspose.cells/htmltableloadoption) element at the specified index.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| index | int | The zero based index of the element. |

**Returns:**
[HtmlTableLoadOption](../../com.aspose.cells/htmltableloadoption) - The element at the specified index.
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




**Returns:**
java.lang.Class<?>
### getCount() {#getCount--}
```
public int getCount()
```


Gets the number of elements contained in the CollectionBase instance.

**Returns:**
int - The number of elements contained in the CollectionBase instance.
### getTableToListObject() {#getTableToListObject--}
```
public boolean getTableToListObject()
```


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

**Returns:**
boolean
### hashCode() {#hashCode--}
```
public native int hashCode()
```




**Returns:**
int
### indexOf(Object o) {#indexOf-java.lang.Object-}
```
public int indexOf(Object o)
```


Determines the index of a specific item in the CollectionBase instance.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| o | java.lang.Object | Determines the index of a specific item in the CollectionBase instance. |

**Returns:**
int - The index of value if found in the list; otherwise, -1.
### iterator() {#iterator--}
```
public Iterator iterator()
```


Returns an enumerator that iterates through the CollectionBase instance.

**Returns:**
java.util.Iterator - An iterator for the CollectionBase instance.
### notify() {#notify--}
```
public final native void notify()
```




### notifyAll() {#notifyAll--}
```
public final native void notifyAll()
```




### removeAt(int index) {#removeAt-int-}
```
public void removeAt(int index)
```


Removes the item at the specified index.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| index | int | The zero-based index of the item to remove. |

### setTableToListObject(boolean value) {#setTableToListObject-boolean-}
```
public void setTableToListObject(boolean value)
```


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

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | boolean |  |

### toString() {#toString--}
```
public String toString()
```




**Returns:**
java.lang.String
### wait() {#wait--}
```
public final void wait()
```




### wait(long arg0) {#wait-long-}
```
public final native void wait(long arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |

### wait(long arg0, int arg1) {#wait-long-int-}
```
public final void wait(long arg0, int arg1)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |
| arg1 | int |  |

