public class AnalysisRWorkSheet extends CalculatableResWorkSheet implements AnalyECReport, PolyResultWorkSheet
CalculatableResWorkSheet.RecalRelationNameSpace
block, book, reportAttrSet
EMPTY
FIT, KEY, PAPER_HEIGHT, PAPER_WHDTH, TOOLBAR_HEIGHT, WEB_PAGE, XML_TAG
构造器和说明 |
---|
AnalysisRWorkSheet() |
AnalysisRWorkSheet(BoxElementBox[][] bebArray) |
AnalysisRWorkSheet(BoxElementBox[][] bebArray,
LongMap relationMap) |
限定符和类型 | 方法和说明 |
---|---|
void |
addCellElement(AnalyCellElement cell)
Adds the cell element to current report.
|
void |
addCellElement(AnalyCellElement cell,
boolean override)
Adds the specified Cell.
|
void |
addCellElement(ResultCellElement cell)
添加单元格
|
void |
addFilterInfo(ColumnRow cr,
FilterInfo info) |
java.lang.Object |
clone() |
void |
copyReportAttr(AbstractPolyReport oriReport)
复制指定报表设置属性到当前对象, 包括页眉页脚和页面设置.
|
protected CellElement |
createDefaultCellElementCase() |
protected void |
dealWithValue4Recal(CellElement ce) |
protected void |
executeCellElementResultFormula(Calculator calculator,
ResultFormula formula,
Report report,
TableDataSource source,
ResultCellElement ce) |
AnalyCellElement |
getAnalyCellElement(int column,
int row)
Gets the Cell at the specified position(column, row).
|
BoxElementBox |
getBEB(int column,
int row) |
int[] |
getColumnFilterMarks() |
FU |
getColumnWidth(int column)
获取指定列的宽度
|
protected int |
getCurrentSheetIndex() |
protected CellElementCaseCreator |
getDefaultCellElementCaseCreator() |
FilterInfo |
getFilterInfo(ColumnRow cr) |
UNIT |
getRealColumnWidth(int column) |
UNIT |
getRealRowHeight(int row) |
protected LongMap |
getRelationMap()
以下是为CalculatableResWorkSheet实现的方法
|
protected int |
getReportIndexBySheetName(java.lang.String name) |
int[] |
getRowFilterMarks() |
FU |
getRowHeight(int row)
获取指定行的高度
|
SE |
getSE() |
TableDataSource |
getTableDataSource()
获取当前报表页对象所使用的数据源
|
boolean |
isFiltered(CellElement cellElement)
单元格是否被过滤掉
|
void |
readXML(XMLableReader reader)
读取子节点,应该会被XMLableReader.readXMLObject()调用多次
|
IntList |
recalculate4Filter(java.util.Map parameterMap,
AnalyECReport areport) |
void |
recalculateSpecialCells(java.util.Map parameterMap,
java.util.Iterator ceIt) |
AnalyCellElement |
removeAnalyCellElement(int column,
int row)
Removes the Cell at the specified (column, row) and gets the removed Cell.
|
boolean |
removeCellElement(AnalyCellElement cell)
Removes Cell.
|
void |
setColumnFilterMarks(int[] columnFilterMarks) |
void |
setRowFilterMarks(int[] rowFilterMarks) |
void |
writeHtml(Tag sheet_container_tag,
HTMLWriter htmlWriter,
CellHtmlWriter cellWriter,
int reportIndex,
Repository repo) |
void |
writeXML(XMLPrintWriter writer)
Write XML.
|
fireCellValueChange, getCalculator, getFormulaRelation, getFormulaRelation, recalculateCertainCell
createElementCaseBlockImplement, generateReportPageSet, generateReportPageSet, getColumnMappingArray, getResultCellElement, getResultWorkBook, getRowMappingArray, processWidgetAsImage, recalculate, recalculate, recalculate, recalculate, setColumnMappingArray, setResultWorkBook, setRowMappingArray
__mod_column_row, addCellElement, addCellElement, addColumnPrivilegeControl, addFloatElement, addRowPrivilegeControl, bringFloatElementForward, bringFloatElementToFront, cacheCellElement, cellIterator, cloneWithoutCellCase, cloneWithoutCellCase, copyReadOnlyAttr, equals, floatIterator, getBlock, getBook, getCellCase, getCellElement, getCellValue, getColumn, getColumnCount, getColumnPrivilegeControl, getColumnWidthList_DEC, getFloatElement, getFooter, getHeader, getPaperSetting, getReportPageAttr, getReportSettings, getRow, getRowCount, getRowHeightList_DEC, getRowPrivilegeControl, insertColumn, insertRow, intersect, isElementCaseReport, iteratorOfElementCase, merge, prepare2ShrinkRealWidthOrHeight4Cell, readReportHF, recalculateCellCase, releaseCellElementCache, removeAllCellElements, removeAllFloatElements, removeCellElement, removeCellElement, removeColumn, removeColumnPrivilegeControl, removeFloatElement, removeFloatElement, removeRow, removeRowPrivilegeControl, sendFloatElementBackward, sendFloatElementToBack, setBook, setCellCase, setCellValue, setColumnWidth, setFooter, setHeader, setReportPageAttr, setReportSettings, setRowHeight, shrinkTOFitColumnWidthForCellElement, shrinkToFitPaper, shrinkTOFitRowHeightForCellElement, writeCommonXML
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
processWidgetAsImage
generateReportPageSet, getReportPageAttr, getResultWorkBook, recalculate, setResultWorkBook, writeCommonXML
getBook, getFooter, getHeader, isElementCaseReport, iteratorOfElementCase, setFooter, setHeader, setReportSettings
getReportSettings
cellIterator, getColumnCount, getColumnWidthList_DEC, getReportSettings, getRowCount, getRowHeightList_DEC
getFormulaRelation, getFormulaRelation, getReportSettings, recalculateCertainCell
getColumnMappingArray, getResultCellElement, getRowMappingArray
addColumnPrivilegeControl, addRowPrivilegeControl, getColumnPrivilegeControl, getColumnWidthList_DEC, getRowHeightList_DEC, getRowPrivilegeControl, prepare2ShrinkRealWidthOrHeight4Cell, removeColumnPrivilegeControl, removeRowPrivilegeControl, setColumnWidth, setReportPageAttr, setRowHeight, shrinkTOFitColumnWidthForCellElement, shrinkToFitPaper, shrinkTOFitRowHeightForCellElement
getCellElement, getCellValue, getColumn, insertColumn, insertRow, intersect, merge, removeAllCellElements, removeCellElement, removeColumn, removeRow, setCellValue
addFloatElement, bringFloatElementForward, bringFloatElementToFront, getFloatElement, removeAllFloatElements, removeFloatElement, removeFloatElement, sendFloatElementBackward, sendFloatElementToBack
getReportPageAttr
cellIterator, getColumnCount, getRow, getRowCount
floatIterator
addFloatElement, getColumnCount, getColumnWidthList_DEC, getRowCount, getRowHeightList_DEC, setColumnMappingArray, setColumnWidth, setRowHeight, setRowMappingArray
public AnalysisRWorkSheet()
public AnalysisRWorkSheet(BoxElementBox[][] bebArray)
public AnalysisRWorkSheet(BoxElementBox[][] bebArray, LongMap relationMap)
protected LongMap getRelationMap()
getRelationMap
在类中 CalculatableResWorkSheet
protected void dealWithValue4Recal(CellElement ce)
protected int getCurrentSheetIndex()
protected int getReportIndexBySheetName(java.lang.String name)
protected CellElementCaseCreator getDefaultCellElementCaseCreator()
public void addCellElement(AnalyCellElement cell)
AnalyElementCase
addCellElement
在接口中 AnalyElementCase
cell
- public void addCellElement(AnalyCellElement cell, boolean override)
AnalyElementCase
The Cell located in position (column, row) corresponding to report.
addCellElement
在接口中 AnalyElementCase
cell
- override
- public boolean removeCellElement(AnalyCellElement cell)
AnalyElementCase
removeCellElement
在接口中 AnalyElementCase
cell
- the Cell will be removed.public AnalyCellElement getAnalyCellElement(int column, int row)
AnalyElementCase
getAnalyCellElement
在接口中 AnalyElementCase
column
- the column.row
- the row.public AnalyCellElement removeAnalyCellElement(int column, int row)
AnalyElementCase
removeAnalyCellElement
在接口中 AnalyElementCase
column
- row
- public FilterInfo getFilterInfo(ColumnRow cr)
public void addFilterInfo(ColumnRow cr, FilterInfo info)
cr
- info
- public BoxElementBox getBEB(int column, int row)
public int[] getRowFilterMarks()
public void setRowFilterMarks(int[] rowFilterMarks)
public int[] getColumnFilterMarks()
public void setColumnFilterMarks(int[] columnFilterMarks)
public FU getRowHeight(int row)
AbstractECReport
getRowHeight
在接口中 CellElementCaseGetter
getRowHeight
在类中 AbstractECReport
public UNIT getRealRowHeight(int row)
public FU getColumnWidth(int column)
AbstractECReport
getColumnWidth
在接口中 CellElementCaseGetter
getColumnWidth
在类中 AbstractECReport
public UNIT getRealColumnWidth(int column)
protected void executeCellElementResultFormula(Calculator calculator, ResultFormula formula, Report report, TableDataSource source, ResultCellElement ce)
public void recalculateSpecialCells(java.util.Map parameterMap, java.util.Iterator ceIt)
parameterMap
- ceIt
- public IntList recalculate4Filter(java.util.Map parameterMap, AnalyECReport areport)
parameterMap
- areport
- public void writeHtml(Tag sheet_container_tag, HTMLWriter htmlWriter, CellHtmlWriter cellWriter, int reportIndex, Repository repo)
writeHtml
在接口中 AnalyReport
sheet_container_tag
- htmlWriter
- cellWriter
- reportIndex
- repo
- public void readXML(XMLableReader reader)
XMLReadable
readXML
在接口中 XMLReadable
readXML
在类中 AbstractECReport
reader
- XML读取对象XMLableReader
public void writeXML(XMLPrintWriter writer)
XMLWriter
writeXML
在接口中 XMLWriter
writeXML
在类中 AbstractECReport
writer
- XML写入对象public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
在接口中 FCloneable
clone
在类中 AbstractECReport
java.lang.CloneNotSupportedException
- 如果克隆失败则抛出此异常public TableDataSource getTableDataSource()
Report
getTableDataSource
在接口中 Report
getTableDataSource
在类中 AbstractECReport
public SE getSE()
getSE
在类中 CalculatableResWorkSheet
protected CellElement createDefaultCellElementCase()
public void addCellElement(ResultCellElement cell)
PolyResultWorkSheet
addCellElement
在接口中 PolyResultWorkSheet
cell
- 单元格public void copyReportAttr(AbstractPolyReport oriReport)
copyReportAttr
在接口中 PolyResultWorkSheet
oriReport
- 被复制的对象public boolean isFiltered(CellElement cellElement)
Filterable
isFiltered
在接口中 Filterable
isFiltered
在类中 AbstractECReport
cellElement
- 单元格