public interface PivotTable
Modifier and Type | Method and Description |
---|---|
long |
getCacheId()
Returns the cache id of the PivotTable.
|
List<PivotField> |
getColumnFields()
Returns all column fields.
|
String |
getDataCaption()
Returns the data caption.
|
List<DataField> |
getDataFields()
Returns all data fields.
|
boolean |
getDataOnRows()
Returns whether data on rows or not.
|
CellReference |
getFirstDataRef()
Returns the first data
CellReference |
String |
getGrandTotalCaption()
Returns the grand total caption.
|
AreaReference |
getLocationRef()
Returns the location range of the PivotTable.
|
String |
getName()
Returns the name of the PivotTable.
|
boolean |
getOutline() |
boolean |
getOutlineData() |
PivotCache |
getPivotCache()
Returns the
PivotCache of the PivotTable. |
PivotField |
getPivotField(String name)
Returns the
PivotField . |
List<PivotField> |
getPivotFields()
Returns all fields of the PivotTable.
|
List<PivotField> |
getRowFields()
Returns all row fields.
|
String |
getRowHeaderCaption()
Returns the row header caption.
|
void |
setColumnField(PivotField field)
Sets column type of a pivot field.
|
void |
setColumnItems(List<List<ItemInfo>> items)
Serts column items
|
void |
setDataCaption(String caption)
Sets the data caption.
|
void |
setDataField(PivotField field,
String name,
Calculation subtotal)
Sets data field
|
void |
setDataOnRows(boolean dataOnRows)
Sets data on rows
|
void |
setFirstData(int row,
int col)
Sets the first data row/column index.
|
void |
setFirstHeaderRow(int row)
Sets the first header row.
|
void |
setGrandTotalCaption(String caption)
Sets the grand total caption.
|
void |
setLocationRef(AreaReference ref)
Sets the location range of the PivotTable.
|
void |
setName(String name)
Sets the name of PivotTable.
|
void |
setOutline(boolean outline) |
void |
setOutlineData(boolean outlineData) |
void |
setRowField(PivotField field)
Sets row type of a pivot field.
|
void |
setRowHeaderCaption(String caption)
Sets the row header caption.
|
void |
setRowItems(List<List<ItemInfo>> items)
Sets row items.
|
void setName(String name)
name
- String getName()
long getCacheId()
void setGrandTotalCaption(String caption)
caption
- String getGrandTotalCaption()
void setDataCaption(String caption)
caption
- String getDataCaption()
void setRowHeaderCaption(String caption)
caption
- String getRowHeaderCaption()
void setFirstHeaderRow(int row)
row
- void setFirstData(int row, int col)
row
- col
- CellReference getFirstDataRef()
CellReference
void setLocationRef(AreaReference ref)
ref
- AreaReference getLocationRef()
PivotCache getPivotCache()
PivotCache
of the PivotTable.PivotField getPivotField(String name)
PivotField
.name
- List<PivotField> getPivotFields()
void setRowField(PivotField field)
field
- List<PivotField> getRowFields()
void setColumnField(PivotField field)
field
- List<PivotField> getColumnFields()
void setColumnItems(List<List<ItemInfo>> items)
items
- void setDataField(PivotField field, String name, Calculation subtotal)
field
- name
- subtotal
- void setDataOnRows(boolean dataOnRows)
dataOnRows
- boolean getDataOnRows()
void setOutline(boolean outline)
boolean getOutline()
void setOutlineData(boolean outlineData)
boolean getOutlineData()
Copyright © 2020. All rights reserved.