|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jxl.read.biff.SheetReader
Reads the sheet. This functionality was originally part of the SheetImpl class, but was separated out in order to simplify the former class
Field Summary | |
private Cell[][] |
cells
The cells |
private java.util.ArrayList |
charts
The list of charts on this page |
private java.util.ArrayList |
columnInfosArray
An array of column info records. |
private File |
excelFile
The excel file |
private FooterRecord |
footer
The page footer |
private FormattingRecords |
formattingRecords
A handle to the formatting records |
private HeaderRecord |
header
The page header |
private java.util.ArrayList |
hyperlinks
A list of hyperlinks on this page |
private MergedCellsRecord |
mergedCells
A list of merged cells on this page |
private boolean |
nineteenFour
Indicates whether or not the dates are based around the 1904 date system |
private int |
numCols
The number of columns |
private int |
numRows
The number of rows |
private int[] |
rowBreaks
The horizontal page breaks contained on this sheet |
private java.util.ArrayList |
rowProperties
The list of non-default row properties |
private SheetSettings |
settings
The sheet settings |
private java.util.ArrayList |
sharedFormulas
A list of shared formula groups |
private SSTRecord |
sharedStrings
A handle to the shared string table |
private SheetImpl |
sheet
A handle to the sheet |
private int |
startPosition
The start position in the stream of this sheet |
private WorkbookParser |
workbook
A handle to the workbook which contains this sheet. |
private BOFRecord |
workbookBof
A handle to the workbook BOF record, which indicates the stream type |
private WorkbookSettings |
workbookSettings
The workbook settings |
private WorkspaceInformationRecord |
workspaceOptions
The workspace options |
Constructor Summary | |
(package private) |
SheetReader(File f,
SSTRecord sst,
FormattingRecords fr,
BOFRecord wb,
boolean nf,
WorkbookParser wp,
int sp,
SheetImpl sh)
Constructor |
Method Summary | |
private void |
addCell(Cell cell)
Adds the cell to the array |
private boolean |
addToSharedFormulas(BaseSharedFormulaRecord fr)
Sees if the shared formula belongs to any of the shared formula groups |
(package private) Cell[][] |
getCells()
|
(package private) java.util.ArrayList |
getCharts()
|
(package private) java.util.ArrayList |
getColumnInfosArray()
|
(package private) FooterRecord |
getFooter()
|
(package private) HeaderRecord |
getHeader()
|
(package private) java.util.ArrayList |
getHyperlinks()
|
(package private) MergedCellsRecord |
getMergedCells()
|
(package private) int |
getNumCols()
|
(package private) int |
getNumRows()
|
(package private) int[] |
getRowBreaks()
|
(package private) java.util.ArrayList |
getRowProperties()
|
(package private) SheetSettings |
getSettings()
|
(package private) WorkspaceInformationRecord |
getWorkspaceOptions()
|
(package private) void |
read()
Reads in the contents of this sheet |
private Cell |
revertSharedFormula(BaseSharedFormulaRecord f)
Reverts the shared formula passed in to an ordinary formula and adds it to the list |
Methods inherited from class java.lang.Object |
|
Field Detail |
private File excelFile
private SSTRecord sharedStrings
private BOFRecord workbookBof
private FormattingRecords formattingRecords
private int numRows
private int numCols
private Cell[][] cells
private int startPosition
private java.util.ArrayList rowProperties
private java.util.ArrayList columnInfosArray
private java.util.ArrayList sharedFormulas
private java.util.ArrayList hyperlinks
private MergedCellsRecord mergedCells
private java.util.ArrayList charts
private boolean nineteenFour
private HeaderRecord header
private FooterRecord footer
private WorkspaceInformationRecord workspaceOptions
private int[] rowBreaks
private SheetSettings settings
private WorkbookSettings workbookSettings
private WorkbookParser workbook
private SheetImpl sheet
Constructor Detail |
SheetReader(File f, SSTRecord sst, FormattingRecords fr, BOFRecord wb, boolean nf, WorkbookParser wp, int sp, SheetImpl sh)
fr
- sst
- the shared string tablef
- the excel filesb
- the bof record which indicates the start of the sheetwb
- the bof record which indicates the start of the sheetwp
- the workbook which this sheet belongs tosp
- the start position of the sheet bof in the excel filesh
- the sheetBiffException
- Method Detail |
private void addCell(Cell cell)
cell
- final void read()
private boolean addToSharedFormulas(BaseSharedFormulaRecord fr)
fr
- the candidate shared formulaprivate Cell revertSharedFormula(BaseSharedFormulaRecord f)
final int getNumRows()
final int getNumCols()
final Cell[][] getCells()
final java.util.ArrayList getRowProperties()
final java.util.ArrayList getColumnInfosArray()
final java.util.ArrayList getHyperlinks()
final java.util.ArrayList getCharts()
final MergedCellsRecord getMergedCells()
final HeaderRecord getHeader()
final FooterRecord getFooter()
final SheetSettings getSettings()
final int[] getRowBreaks()
final WorkspaceInformationRecord getWorkspaceOptions()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |