
**Inheritance:**
java.lang.Object
```
public class PivotTableCreateOptions
```

Options for creating a new PivotTable.
## Constructors

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

| Method | Description |
| --- | --- |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [getClass()](#getClass--) |  |
| [getTableName()](#getTableName--) | Gets the name of the new PivotTable report. |
| [getUseSameSource()](#getUseSameSource--) | Gets a value indicating whether to share the same data source with existing pivot tables. |
| [hashCode()](#hashCode--) |  |
| [isXlsClassic()](#isXlsClassic--) | Gets a value indicating whether to create classic Excel 97-2003 style PivotTable. |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [setTableName(String value)](#setTableName-java.lang.String-) | Sets the name of the new PivotTable report. |
| [setUseSameSource(boolean value)](#setUseSameSource-boolean-) | Sets a value indicating whether to share the same data source with existing pivot tables. |
| [setXlsClassic(boolean value)](#setXlsClassic-boolean-) | Sets a value indicating whether to create classic Excel 97-2003 style PivotTable. |
| [toString()](#toString--) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### PivotTableCreateOptions() {#PivotTableCreateOptions--}
```
public PivotTableCreateOptions()
```


### equals(Object arg0) {#equals-java.lang.Object-}
```
public boolean equals(Object arg0)
```




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

**Returns:**
boolean
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




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


Gets the name of the new PivotTable report.

**Remarks**

If not set , an automatic name will be set.

**Returns:**
java.lang.String
### getUseSameSource() {#getUseSameSource--}
```
public boolean getUseSameSource()
```


Gets a value indicating whether to share the same data source with existing pivot tables. Default value is true.

**Remarks**

When set to true, multiple pivot tables can reuse one pivot cache to reduce memory consumption.

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




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


Gets a value indicating whether to create classic Excel 97-2003 style PivotTable.

**Remarks**

Classic PivotTable uses legacy layout and formatting from Excel 97-2003. When not explicitly set, the default value is determined by the target workbook file format.

**Returns:**
boolean
### notify() {#notify--}
```
public final native void notify()
```




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




### setTableName(String value) {#setTableName-java.lang.String-}
```
public void setTableName(String value)
```


Sets the name of the new PivotTable report.

**Remarks**

If not set , an automatic name will be set.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.String |  |

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


Sets a value indicating whether to share the same data source with existing pivot tables. Default value is true.

**Remarks**

When set to true, multiple pivot tables can reuse one pivot cache to reduce memory consumption.

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

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


Sets a value indicating whether to create classic Excel 97-2003 style PivotTable.

**Remarks**

Classic PivotTable uses legacy layout and formatting from Excel 97-2003. When not explicitly set, the default value is determined by the target workbook file format.

**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 |  |

