Aspose::Cells::Pivot::PivotTableCollection::Add method

Contents
[ ]

PivotTableCollection::Add(const U16String&, const U16String&, const U16String&) method

Adds a new PivotTable.

int32_t Aspose::Cells::Pivot::PivotTableCollection::Add(const U16String &sourceData, const U16String &destCellName, const U16String &tableName)
ParameterTypeDescription
sourceDataconst U16String&The data for the new PivotTable cache.
destCellNameconst U16String&The cell in the upper-left corner of the PivotTable report’s destination range.
tableNameconst U16String&The name of the new PivotTable report.

ReturnValue

The new added cache index.

See Also

PivotTableCollection::Add(const char16_t*, const char16_t*, const char16_t*) method

Adds a new PivotTable.

int32_t Aspose::Cells::Pivot::PivotTableCollection::Add(const char16_t *sourceData, const char16_t *destCellName, const char16_t *tableName)
ParameterTypeDescription
sourceDataconst char16_t*The data for the new PivotTable cache.
destCellNameconst char16_t*The cell in the upper-left corner of the PivotTable report’s destination range.
tableNameconst char16_t*The name of the new PivotTable report.

ReturnValue

The new added cache index.

See Also

PivotTableCollection::Add(const U16String&, const U16String&, const U16String&, bool) method

Adds a new PivotTable.

int32_t Aspose::Cells::Pivot::PivotTableCollection::Add(const U16String &sourceData, const U16String &destCellName, const U16String &tableName, bool useSameSource)
ParameterTypeDescription
sourceDataconst U16String&The data for the new PivotTable cache.
destCellNameconst U16String&The cell in the upper-left corner of the PivotTable report’s destination range.
tableNameconst U16String&The name of the new PivotTable report.
useSameSourceboolIndicates whether using same data source when another existing pivot table has used this data source. If the property is true, it will save memory.

ReturnValue

The new added cache index.

See Also

PivotTableCollection::Add(const char16_t*, const char16_t*, const char16_t*, bool) method

Adds a new PivotTable.

int32_t Aspose::Cells::Pivot::PivotTableCollection::Add(const char16_t *sourceData, const char16_t *destCellName, const char16_t *tableName, bool useSameSource)
ParameterTypeDescription
sourceDataconst char16_t*The data for the new PivotTable cache.
destCellNameconst char16_t*The cell in the upper-left corner of the PivotTable report’s destination range.
tableNameconst char16_t*The name of the new PivotTable report.
useSameSourceboolIndicates whether using same data source when another existing pivot table has used this data source. If the property is true, it will save memory.

ReturnValue

The new added cache index.

See Also

PivotTableCollection::Add(const U16String&, int32_t, int32_t, const U16String&) method

Adds a new PivotTable.

int32_t Aspose::Cells::Pivot::PivotTableCollection::Add(const U16String &sourceData, int32_t row, int32_t column, const U16String &tableName)
ParameterTypeDescription
sourceDataconst U16String&The data cell range for the new PivotTable.Example : Sheet1!A1:C8
rowint32_tRow index of the cell in the upper-left corner of the PivotTable report’s destination range.
columnint32_tColumn index of the cell in the upper-left corner of the PivotTable report’s destination range.
tableNameconst U16String&The name of the new PivotTable report.

ReturnValue

The new added cache index.

See Also

PivotTableCollection::Add(const char16_t*, int32_t, int32_t, const char16_t*) method

Adds a new PivotTable.

int32_t Aspose::Cells::Pivot::PivotTableCollection::Add(const char16_t *sourceData, int32_t row, int32_t column, const char16_t *tableName)
ParameterTypeDescription
sourceDataconst char16_t*The data cell range for the new PivotTable.Example : Sheet1!A1:C8
rowint32_tRow index of the cell in the upper-left corner of the PivotTable report’s destination range.
columnint32_tColumn index of the cell in the upper-left corner of the PivotTable report’s destination range.
tableNameconst char16_t*The name of the new PivotTable report.

ReturnValue

The new added cache index.

See Also

PivotTableCollection::Add(const U16String&, int32_t, int32_t, const U16String&, bool) method

Adds a new PivotTable.

int32_t Aspose::Cells::Pivot::PivotTableCollection::Add(const U16String &sourceData, int32_t row, int32_t column, const U16String &tableName, bool useSameSource)
ParameterTypeDescription
sourceDataconst U16String&The data cell range for the new PivotTable.Example : Sheet1!A1:C8
rowint32_tRow index of the cell in the upper-left corner of the PivotTable report’s destination range.
columnint32_tColumn index of the cell in the upper-left corner of the PivotTable report’s destination range.
tableNameconst U16String&The name of the new PivotTable report.
useSameSourceboolIndicates whether using same data source when another existing pivot table has used this data source. If the property is true, it will save memory.

ReturnValue

The new added cache index.

See Also

PivotTableCollection::Add(const char16_t*, int32_t, int32_t, const char16_t*, bool) method

Adds a new PivotTable.

int32_t Aspose::Cells::Pivot::PivotTableCollection::Add(const char16_t *sourceData, int32_t row, int32_t column, const char16_t *tableName, bool useSameSource)
ParameterTypeDescription
sourceDataconst char16_t*The data cell range for the new PivotTable.Example : Sheet1!A1:C8
rowint32_tRow index of the cell in the upper-left corner of the PivotTable report’s destination range.
columnint32_tColumn index of the cell in the upper-left corner of the PivotTable report’s destination range.
tableNameconst char16_t*The name of the new PivotTable report.
useSameSourceboolIndicates whether using same data source when another existing pivot table has used this data source. If the property is true, it will save memory.

ReturnValue

The new added cache index.

See Also

PivotTableCollection::Add(const U16String&, int32_t, int32_t, const U16String&, bool, bool) method

Adds a new PivotTable.

int32_t Aspose::Cells::Pivot::PivotTableCollection::Add(const U16String &sourceData, int32_t row, int32_t column, const U16String &tableName, bool useSameSource, bool isXlsClassic)
ParameterTypeDescription
sourceDataconst U16String&The data cell range for the new PivotTable.Example : Sheet1!A1:C8
rowint32_tRow index of the cell in the upper-left corner of the PivotTable report’s destination range.
columnint32_tColumn index of the cell in the upper-left corner of the PivotTable report’s destination range.
tableNameconst U16String&The name of the new PivotTable report.
useSameSourceboolIndicates whether using same data source when another existing pivot table has used this data source. If the property is true, it will save memory.
isXlsClassicboolIndicates whether add classic pivot table of Excel 97-2003.

ReturnValue

The new added cache index.

See Also

PivotTableCollection::Add(const char16_t*, int32_t, int32_t, const char16_t*, bool, bool) method

Adds a new PivotTable.

int32_t Aspose::Cells::Pivot::PivotTableCollection::Add(const char16_t *sourceData, int32_t row, int32_t column, const char16_t *tableName, bool useSameSource, bool isXlsClassic)
ParameterTypeDescription
sourceDataconst char16_t*The data cell range for the new PivotTable.Example : Sheet1!A1:C8
rowint32_tRow index of the cell in the upper-left corner of the PivotTable report’s destination range.
columnint32_tColumn index of the cell in the upper-left corner of the PivotTable report’s destination range.
tableNameconst char16_t*The name of the new PivotTable report.
useSameSourceboolIndicates whether using same data source when another existing pivot table has used this data source. If the property is true, it will save memory.
isXlsClassicboolIndicates whether add classic pivot table of Excel 97-2003.

ReturnValue

The new added cache index.

See Also

PivotTableCollection::Add(const U16String&, const U16String&, const U16String&, bool, bool) method

Adds a new PivotTable.

int32_t Aspose::Cells::Pivot::PivotTableCollection::Add(const U16String &sourceData, const U16String &cell, const U16String &tableName, bool useSameSource, bool isXlsClassic)
ParameterTypeDescription
sourceDataconst U16String&The data cell range for the new PivotTable.Example : Sheet1!A1:C8
cellconst U16String&The cell in the upper-left corner of the PivotTable report’s destination range.
tableNameconst U16String&The name of the new PivotTable report.
useSameSourceboolIndicates whether using same data source when another existing pivot table has used this data source. If the property is true, it will save memory.
isXlsClassicboolIndicates whether add classic pivot table of Excel 97-2003.

ReturnValue

The new added cache index.

See Also

PivotTableCollection::Add(const char16_t*, const char16_t*, const char16_t*, bool, bool) method

Adds a new PivotTable.

int32_t Aspose::Cells::Pivot::PivotTableCollection::Add(const char16_t *sourceData, const char16_t *cell, const char16_t *tableName, bool useSameSource, bool isXlsClassic)
ParameterTypeDescription
sourceDataconst char16_t*The data cell range for the new PivotTable.Example : Sheet1!A1:C8
cellconst char16_t*The cell in the upper-left corner of the PivotTable report’s destination range.
tableNameconst char16_t*The name of the new PivotTable report.
useSameSourceboolIndicates whether using same data source when another existing pivot table has used this data source. If the property is true, it will save memory.
isXlsClassicboolIndicates whether add classic pivot table of Excel 97-2003.

ReturnValue

The new added cache index.

See Also

PivotTableCollection::Add(const PivotTable&, const U16String&, const U16String&) method

Adds a new PivotTable based on another PivotTable.

int32_t Aspose::Cells::Pivot::PivotTableCollection::Add(const PivotTable &pivotTable, const U16String &destCellName, const U16String &tableName)
ParameterTypeDescription
pivotTableconst PivotTable&The source pivotTable.
destCellNameconst U16String&The cell in the upper-left corner of the PivotTable report’s destination range.
tableNameconst U16String&The name of the new PivotTable report.

ReturnValue

The new added PivotTable index.

See Also

PivotTableCollection::Add(const PivotTable&, const char16_t*, const char16_t*) method

Adds a new PivotTable based on another PivotTable.

int32_t Aspose::Cells::Pivot::PivotTableCollection::Add(const PivotTable &pivotTable, const char16_t *destCellName, const char16_t *tableName)
ParameterTypeDescription
pivotTableconst PivotTable&The source pivotTable.
destCellNameconst char16_t*The cell in the upper-left corner of the PivotTable report’s destination range.
tableNameconst char16_t*The name of the new PivotTable report.

ReturnValue

The new added PivotTable index.

See Also

PivotTableCollection::Add(const PivotTable&, int32_t, int32_t, const U16String&) method

Adds a new PivotTable based on another PivotTable.

int32_t Aspose::Cells::Pivot::PivotTableCollection::Add(const PivotTable &pivotTable, int32_t row, int32_t column, const U16String &tableName)
ParameterTypeDescription
pivotTableconst PivotTable&The source pivotTable.
rowint32_tRow index of the cell in the upper-left corner of the PivotTable report’s destination range.
columnint32_tColumn index of the cell in the upper-left corner of the PivotTable report’s destination range.
tableNameconst U16String&The name of the new PivotTable report.

ReturnValue

The new added PivotTable index.

See Also

PivotTableCollection::Add(const PivotTable&, int32_t, int32_t, const char16_t*) method

Adds a new PivotTable based on another PivotTable.

int32_t Aspose::Cells::Pivot::PivotTableCollection::Add(const PivotTable &pivotTable, int32_t row, int32_t column, const char16_t *tableName)
ParameterTypeDescription
pivotTableconst PivotTable&The source pivotTable.
rowint32_tRow index of the cell in the upper-left corner of the PivotTable report’s destination range.
columnint32_tColumn index of the cell in the upper-left corner of the PivotTable report’s destination range.
tableNameconst char16_t*The name of the new PivotTable report.

ReturnValue

The new added PivotTable index.

See Also

PivotTableCollection::Add(const Vector <U16String>&, bool, const PivotPageFields&, const U16String&, const U16String&) method

Adds a new PivotTableObject to the collection with multiple consolidation ranges as data source.

int32_t Aspose::Cells::Pivot::PivotTableCollection::Add(const Vector<U16String> &sourceData, bool isAutoPage, const PivotPageFields &pageFields, const U16String &destCellName, const U16String &tableName)
ParameterTypeDescription
sourceDataconst Vector <U16String>&The multiple consolidation ranges,such as {“Sheet1!A1:C8”,“Sheet2!A1:B8”}
isAutoPageboolWhether auto create a single page field. If true,the following param pageFields will be ignored.
pageFieldsconst PivotPageFields&The pivot page field items.
destCellNameconst U16String&destCellName The name of the new PivotTable report.
tableNameconst U16String&the name of the new PivotTable report.

ReturnValue

The new added PivotTable index.

See Also

PivotTableCollection::Add(const Vector <U16String>&, bool, const PivotPageFields&, const char16_t*, const char16_t*) method

Adds a new PivotTableObject to the collection with multiple consolidation ranges as data source.

int32_t Aspose::Cells::Pivot::PivotTableCollection::Add(const Vector<U16String> &sourceData, bool isAutoPage, const PivotPageFields &pageFields, const char16_t *destCellName, const char16_t *tableName)
ParameterTypeDescription
sourceDataconst Vector <U16String>&The multiple consolidation ranges,such as {“Sheet1!A1:C8”,“Sheet2!A1:B8”}
isAutoPageboolWhether auto create a single page field. If true,the following param pageFields will be ignored.
pageFieldsconst PivotPageFields&The pivot page field items.
destCellNameconst char16_t*destCellName The name of the new PivotTable report.
tableNameconst char16_t*the name of the new PivotTable report.

ReturnValue

The new added PivotTable index.

See Also

PivotTableCollection::Add(const Vector <U16String>&, bool, const PivotPageFields&, int32_t, int32_t, const U16String&) method

Adds a new PivotTableObject to the collection with multiple consolidation ranges as data source.

int32_t Aspose::Cells::Pivot::PivotTableCollection::Add(const Vector<U16String> &sourceData, bool isAutoPage, const PivotPageFields &pageFields, int32_t row, int32_t column, const U16String &tableName)
ParameterTypeDescription
sourceDataconst Vector <U16String>&The multiple consolidation ranges,such as {“Sheet1!A1:C8”,“Sheet2!A1:B8”}
isAutoPageboolWhether auto create a single page field. If true,the following param pageFields will be ignored
pageFieldsconst PivotPageFields&The pivot page field items.
rowint32_tRow index of the cell in the upper-left corner of the PivotTable report’s destination range.
columnint32_tColumn index of the cell in the upper-left corner of the PivotTable report’s destination range.
tableNameconst U16String&The name of the new PivotTable report.

ReturnValue

The new added PivotTable index.

See Also

PivotTableCollection::Add(const Vector <U16String>&, bool, const PivotPageFields&, int32_t, int32_t, const char16_t*) method

Adds a new PivotTableObject to the collection with multiple consolidation ranges as data source.

int32_t Aspose::Cells::Pivot::PivotTableCollection::Add(const Vector<U16String> &sourceData, bool isAutoPage, const PivotPageFields &pageFields, int32_t row, int32_t column, const char16_t *tableName)
ParameterTypeDescription
sourceDataconst Vector <U16String>&The multiple consolidation ranges,such as {“Sheet1!A1:C8”,“Sheet2!A1:B8”}
isAutoPageboolWhether auto create a single page field. If true,the following param pageFields will be ignored
pageFieldsconst PivotPageFields&The pivot page field items.
rowint32_tRow index of the cell in the upper-left corner of the PivotTable report’s destination range.
columnint32_tColumn index of the cell in the upper-left corner of the PivotTable report’s destination range.
tableNameconst char16_t*The name of the new PivotTable report.

ReturnValue

The new added PivotTable index.

See Also