|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |
java.lang.objectcom.spire.xls.core.spreadsheet.xlsobject
com.spire.xls.core.spreadsheet.pivottables.xlspivottable
public class xlspivottable
constructor summary | |
---|---|
xlspivottable(java.lang.object parent)
|
|
xlspivottable(java.lang.object parent,
int cacheindex,
ixlsrange location)
|
method summary | |
---|---|
void |
calculatedata()
calculates pivottable's data to cells. |
void |
clear()
this method clears all the fields, deletes all filtering and sorting applied to the pivottable. |
void |
clearcolumnfieldfilter(java.lang.string fieldname)
clear the column field filter. |
void |
clearfilter(java.lang.string fieldname)
clear the row and column field filter depends on field name. |
void |
clearrowfieldfilter(java.lang.string fieldname)
clear the row field filter. |
java.lang.object |
deepclone(java.lang.object parent)
|
java.lang.object |
deepclone(java.lang.object parent,
int cacheindex,
java.util.hashmap hashworksheetnames)
|
boolean |
getallsubtotaltop()
indicated whether diplay all subtotal at top of group,change will cover every field's setting |
pivotbuiltinstyles |
getbuiltinstyle()
gets/sets built-in pivot style. |
pivotcache |
getcache()
returns cache used by this pivot table. |
int |
getcacheindex()
gets index of the pivot cache.read-only. |
ipivotcalculatedfields |
getcalculatedfields()
returns the collection of calculated fields of the specified pivot table.read-only. |
ipivotfields |
getcolumnfields()
returns the collection of column field for the specified pivot table.read-only. |
int |
getcolumnsperpage()
specifies the number of columns per page for this pivottable that the filter area will occupy. |
java.lang.string |
getcustomtablestylename()
|
pivotdatafields |
getdatafields()
gets collection of pivot table data fields. |
boolean |
getdisplayerrorstring()
true if the pivottable report displays a custom error string in cells that contain errors. |
boolean |
getdisplayfieldcaptions()
gets/sets value controlling whether or not filter buttons and pivotfield captions for rows and columns are displayed in the grid. |
boolean |
getdisplaynullstring()
true if the pivottable report displays a custom string in cells that contain null values. |
boolean |
getenabledrilldown()
true if drilldown is enabled. |
boolean |
getenablefielddialog()
true if the pivottable field dialog box is available when the user double-clicks the pivottable field. |
boolean |
getenablewizard()
true if the pivottable wizard is available. |
java.lang.string |
geterrorstring()
returns or sets the string displayed in cells that contain errors when the displayerrorstring property is true. |
int |
getfirstdatacol()
specifies the first column of the pivottable data, relative to the top left cell in the ref value |
int |
getfirstdatarow()
specifies the first column of the pivottable data, relative to the top left cell in the ref value |
int |
getfirstheaderrow()
specifies the first row of the pivottable header, relative to the top left cell in the ref value. |
cellrange |
getlocation()
returns pivot table location. |
boolean |
getmanualupdate()
true if the pivottable report is recalculated only at the user's request. |
boolean |
getmergelabels()
true if the specified pivottable report抯 outer-row item, column item, subtotal, and grand total labels use merged cells. |
java.lang.string |
getname()
gets pivot table name. |
java.lang.string |
getnullstring()
returns or sets the string displayed in cells that contain null values when the displaynullstring property is true. |
ipivottableoptions |
getoptions()
represents the pivot table options.read-only |
pagesordertype |
getpagefieldorder()
returns or sets the order in which page fields are added to the pivottable report layout. |
ipivotfields |
getpagefields()
returns the collection of page field for the specified pivot table,read-only. |
java.lang.string |
getpagefieldstyle()
returns or sets the style used in the bound page field area. |
int |
getpagefieldwrapcount()
returns or sets the number of page fields in each column or row in the pivottable report. |
xlspivottablescollection |
getparent()
|
|
getpivotconditionalformats()
returns collection of pivot conditional format. |
pivottablefields |
getpivotfields()
gets collection of pivot fields. |
boolean |
getrepeatitemsoneachprintedpage()
true if row, column, and item labels appear on the first row of each page when the specified pivottable report is printed. |
|
getreportfilters()
gets or sets report filter collection |
ipivotfields |
getrowfields()
returns the collection of row field for the specified pivot table.read-only. |
int |
getrowsperpage()
specifies the number of rows per page for this pivottable that the filter area will occupy.read-only. |
boolean |
getshowcolheaderstyle()
specifies a boolean value that indicates whether to show column headers for the table. |
boolean |
getshowcolstripes()
specifies a boolean value that indicates whether to show column stripe formatting for the table. |
boolean |
getshowcolumngrand()
gets/sets value indicating whether the pivottable contains grand totals for columns. |
boolean |
getshowdatafieldinrow()
represents the pivot table to add the calculated data field in rows |
boolean |
getshowdrillindicators()
the showdrillindicators property is used for toggling the display of drill indicators in the pivottable. |
boolean |
getshowlastcol()
specifies a boolean value that indicates whether to show the last column. |
boolean |
getshowrowgrand()
gets/sets value indicating whether the pivottable contains grand totals for rows. |
boolean |
getshowrowheaderstyle()
specifies a boolean value that indicates whether to show row headers for the table. |
boolean |
getshowrowstripes()
specifies a boolean value that indicates whether to show row stripe formatting for the table. |
xlsworkbook |
getworkbook()
gets parent workbook. |
xlsworksheet |
getworksheet()
|
boolean |
iscolumngrand()
gets/sets value indicating whether the pivottable contains column with grand totals for rows (same as columngrand in vba). |
void |
iscolumngrand(boolean value)
gets/sets value indicating whether the pivottable contains column with grand totals for rows (same as columngrand in vba). |
boolean |
isrowgrand()
gets/sets value indicating whether the pivottable contains row with grand totals for columns (same as rowgrand in vba). |
void |
isrowgrand(boolean value)
gets/sets value indicating whether the pivottable contains row with grand totals for columns (same as rowgrand in vba). |
void |
setallsubtotaltop(boolean value)
indicated whether diplay all subtotal at top of group,change will cover every field's setting |
void |
setbuiltinstyle(pivotbuiltinstyles builtinstyle)
sets built-in pivot style. |
void |
setcolumnsperpage(int value)
specifies the number of columns per page for this pivottable that the filter area will occupy. |
void |
setcustomtablestylename(java.lang.string value)
|
void |
setdisplayerrorstring(boolean value)
true if the pivottable report displays a custom error string in cells that contain errors. |
void |
setdisplayfieldcaptions(boolean value)
gets/sets value controlling whether or not filter buttons and pivotfield captions for rows and columns are displayed in the grid. |
void |
setdisplaynullstring(boolean value)
true if the pivottable report displays a custom string in cells that contain null values. |
void |
setenabledrilldown(boolean value)
true if drilldown is enabled. |
void |
setenablefielddialog(boolean value)
true if the pivottable field dialog box is available when the user double-clicks the pivottable field. |
void |
setenablewizard(boolean value)
true if the pivottable wizard is available. |
void |
seterrorstring(java.lang.string value)
returns or sets the string displayed in cells that contain errors when the displayerrorstring property is true. |
void |
setfirstdatacol(int value)
specifies the first column of the pivottable data, relative to the top left cell in the ref value |
void |
setfirstheaderrow(int value)
specifies the first row of the pivottable header, relative to the top left cell in the ref value. |
void |
setlocation(cellrange value)
returns pivot table location. |
void |
setmanualupdate(boolean value)
true if the pivottable report is recalculated only at the user's request. |
void |
setmergelabels(boolean value)
true if the specified pivottable report抯 outer-row item, column item, subtotal, and grand total labels use merged cells. |
void |
setname(java.lang.string value)
gets pivot table name. |
void |
setnullstring(java.lang.string value)
returns or sets the string displayed in cells that contain null values when the displaynullstring property is true. |
void |
setpagefieldorder(pagesordertype value)
returns or sets the order in which page fields are added to the pivottable report layout. |
void |
setpagefieldstyle(java.lang.string value)
returns or sets the style used in the bound page field area. |
void |
setpagefieldwrapcount(int value)
returns or sets the number of page fields in each column or row in the pivottable report. |
void |
setrepeatitemsoneachprintedpage(boolean value)
true if row, column, and item labels appear on the first row of each page when the specified pivottable report is printed. |
void |
setreportfilters( value)
gets or sets report filter collection |
void |
setrowsperpage(int value)
specifies the number of rows per page for this pivottable that the filter area will occupy.read-only. |
void |
setshowcolheaderstyle(boolean value)
specifies a boolean value that indicates whether to show column headers for the table. |
void |
setshowcolstripes(boolean value)
specifies a boolean value that indicates whether to show column stripe formatting for the table. |
void |
setshowcolumngrand(boolean value)
gets/sets value indicating whether the pivottable contains grand totals for columns. |
void |
setshowdatafieldinrow(boolean value)
represents the pivot table to add the calculated data field in rows |
void |
setshowdrillindicators(boolean value)
the showdrillindicators property is used for toggling the display of drill indicators in the pivottable. |
void |
setshowlastcol(boolean value)
specifies a boolean value that indicates whether to show the last column. |
void |
setshowrowgrand(boolean value)
gets/sets value indicating whether the pivottable contains grand totals for rows. |
void |
setshowrowheaderstyle(boolean value)
specifies a boolean value that indicates whether to show row headers for the table. |
void |
setshowrowstripes(boolean value)
specifies a boolean value that indicates whether to show row stripe formatting for the table. |
methods inherited from class com.spire.xls.core.spreadsheet.xlsobject |
---|
dispose |
constructor detail |
---|
public xlspivottable(java.lang.object parent)
public xlspivottable(java.lang.object parent, int cacheindex, ixlsrange location)
method detail |
---|
public java.lang.string getname()
getname
in interface ipivottable
public void setname(java.lang.string value)
value
- public pivottablefields getpivotfields()
getpivotfields
in interface ipivottable
public pivotdatafields getdatafields()
getdatafields
in interface ipivottable
public boolean isrowgrand()
isrowgrand
in interface ipivottable
public void isrowgrand(boolean value)
value
- public boolean iscolumngrand()
iscolumngrand
in interface ipivottable
public void iscolumngrand(boolean value)
value
- public boolean getshowdrillindicators()
getshowdrillindicators
in interface ipivottable
public void setshowdrillindicators(boolean value)
value
- public boolean getdisplayfieldcaptions()
getdisplayfieldcaptions
in interface ipivottable
public void setdisplayfieldcaptions(boolean value)
value
- public boolean getrepeatitemsoneachprintedpage()
getrepeatitemsoneachprintedpage
in interface ipivottable
public void setrepeatitemsoneachprintedpage(boolean value)
value
- public pivotbuiltinstyles getbuiltinstyle()
getbuiltinstyle
in interface ipivottable
public void setbuiltinstyle(pivotbuiltinstyles builtinstyle)
builtinstyle
- public boolean getshowrowgrand()
getshowrowgrand
in interface ipivottable
public void setshowrowgrand(boolean value)
value
- public boolean getshowcolumngrand()
getshowcolumngrand
in interface ipivottable
public void setshowcolumngrand(boolean value)
value
- public int getcacheindex()
getcacheindex
in interface ipivottable
public cellrange getlocation()
getlocation
in interface ipivottable
public void setlocation(cellrange value)
value
- public ipivottableoptions getoptions()
getoptions
in interface ipivottable
public int getrowsperpage()
getrowsperpage
in interface ipivottable
public void setrowsperpage(int value)
value
- public int getcolumnsperpage()
getcolumnsperpage
in interface ipivottable
public void setcolumnsperpage(int value)
value
- public ipivotcalculatedfields getcalculatedfields()
getcalculatedfields
in interface ipivottable
public ipivotfields getpagefields()
getpagefields
in interface ipivottable
public ipivotfields getrowfields()
getrowfields
in interface ipivottable
public ipivotfields getcolumnfields()
getcolumnfields
in interface ipivottable
public void clear()
clear
in interface ipivottable
public void clearrowfieldfilter(java.lang.string fieldname)
clearrowfieldfilter
in interface ipivottable
fieldname
- the row field name.public void clearcolumnfieldfilter(java.lang.string fieldname)
clearcolumnfieldfilter
in interface ipivottable
fieldname
- the column field name.public void clearfilter(java.lang.string fieldname)
clearfilter
in interface ipivottable
fieldname
- the row and column field name.public xlspivottablescollection getparent()
getparent
in class xlsobject
public boolean getdisplayerrorstring()
public void setdisplayerrorstring(boolean value)
value
- public boolean getdisplaynullstring()
public void setdisplaynullstring(boolean value)
value
- public boolean getenabledrilldown()
public void setenabledrilldown(boolean value)
value
- public boolean getenablefielddialog()
public void setenablefielddialog(boolean value)
value
- public boolean getenablewizard()
public void setenablewizard(boolean value)
value
- public java.lang.string geterrorstring()
public void seterrorstring(java.lang.string value)
value
- public boolean getmanualupdate()
public void setmanualupdate(boolean value)
value
- public boolean getmergelabels()
public void setmergelabels(boolean value)
value
- public java.lang.string getnullstring()
public void setnullstring(java.lang.string value)
value
- public pagesordertype getpagefieldorder()
public void setpagefieldorder(pagesordertype value)
value
- public java.lang.string getpagefieldstyle()
public void setpagefieldstyle(java.lang.string value)
value
- public int getpagefieldwrapcount()
public void setpagefieldwrapcount(int value)
value
- public pivotcache getcache()
public getpivotconditionalformats()
public xlsworkbook getworkbook()
public xlsworksheet getworksheet()
public int getfirstdatacol()
public void setfirstdatacol(int value)
value
- public int getfirstdatarow()
public int getfirstheaderrow()
public void setfirstheaderrow(int value)
value
- public boolean getshowcolheaderstyle()
public void setshowcolheaderstyle(boolean value)
value
- public boolean getshowcolstripes()
public void setshowcolstripes(boolean value)
value
- public boolean getshowlastcol()
public void setshowlastcol(boolean value)
value
- public boolean getshowrowheaderstyle()
public void setshowrowheaderstyle(boolean value)
value
- public boolean getshowrowstripes()
public void setshowrowstripes(boolean value)
value
- public boolean getshowdatafieldinrow()
getshowdatafieldinrow
in interface ipivottable
public void setshowdatafieldinrow(boolean value)
value
- public getreportfilters()
public void setreportfilters( value)
value
- public boolean getallsubtotaltop()
public void setallsubtotaltop(boolean value)
value
- public java.lang.string getcustomtablestylename()
public void setcustomtablestylename(java.lang.string value)
public void calculatedata()
public java.lang.object deepclone(java.lang.object parent)
public java.lang.object deepclone(java.lang.object parent, int cacheindex, java.util.hashmap hashworksheetnames)
|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |