Package com.github.pjfanning.xlsx.impl
Class StreamingRow
- java.lang.Object
-
- com.github.pjfanning.xlsx.impl.StreamingRow
-
-
Constructor Summary
Constructors Constructor Description StreamingRow(org.apache.poi.ss.usermodel.Sheet sheet, int rowIndex, boolean isHidden)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterator<org.apache.poi.ss.usermodel.Cell>cellIterator()org.apache.poi.ss.usermodel.CellcreateCell(int column)Not supportedorg.apache.poi.ss.usermodel.CellcreateCell(int i, org.apache.poi.ss.usermodel.CellType cellType)Not supportedorg.apache.poi.ss.usermodel.CellgetCell(int cellnum)Get the cell representing a given column (logical cell) 0-based.org.apache.poi.ss.usermodel.CellgetCell(int cellnum, org.apache.poi.ss.usermodel.Row.MissingCellPolicy policy)Map<Integer,org.apache.poi.ss.usermodel.Cell>getCellMap()shortgetFirstCellNum()shortgetHeight()Not supportedfloatgetHeightInPoints()Not supportedshortgetLastCellNum()Gets the index of the last cell contained in this row PLUS ONE.intgetOutlineLevel()Not supportedintgetPhysicalNumberOfCells()Gets the number of defined cells (NOT number of cells in the actual row!).intgetRowNum()Get row number this row representsorg.apache.poi.ss.usermodel.CellStylegetRowStyle()Not supportedorg.apache.poi.ss.usermodel.SheetgetSheet()booleangetZeroHeight()Get whether or not to display this row with 0 heightbooleanisFormatted()Not supportedIterator<org.apache.poi.ss.usermodel.Cell>iterator()voidremoveCell(org.apache.poi.ss.usermodel.Cell cell)Not supportedvoidsetCellMap(TreeMap<Integer,org.apache.poi.ss.usermodel.Cell> cellMap)voidsetHeight(short height)Not supportedvoidsetHeightInPoints(float height)Not supportedvoidsetRowNum(int rowNum)Not supportedvoidsetRowStyle(org.apache.poi.ss.usermodel.CellStyle style)Not supportedvoidsetZeroHeight(boolean zHeight)Not supportedvoidshiftCellsLeft(int firstShiftColumnIndex, int lastShiftColumnIndex, int step)Not supportedvoidshiftCellsRight(int firstShiftColumnIndex, int lastShiftColumnIndex, int step)Not supported-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
getRowNum
public int getRowNum()
Get row number this row represents- Specified by:
getRowNumin interfaceorg.apache.poi.ss.usermodel.Row- Returns:
- the row number (0 based)
-
cellIterator
public Iterator<org.apache.poi.ss.usermodel.Cell> cellIterator()
- Specified by:
cellIteratorin interfaceorg.apache.poi.ss.usermodel.Row- Returns:
- Cell iterator of the physically defined cells for this row.
-
iterator
public Iterator<org.apache.poi.ss.usermodel.Cell> iterator()
-
getSheet
public org.apache.poi.ss.usermodel.Sheet getSheet()
- Specified by:
getSheetin interfaceorg.apache.poi.ss.usermodel.Row
-
getCell
public org.apache.poi.ss.usermodel.Cell getCell(int cellnum)
Get the cell representing a given column (logical cell) 0-based. If you ask for a cell that is not defined, you get a null.- Specified by:
getCellin interfaceorg.apache.poi.ss.usermodel.Row- Parameters:
cellnum- 0 based column number- Returns:
- Cell representing that column or null if undefined.
-
getLastCellNum
public short getLastCellNum()
Gets the index of the last cell contained in this row PLUS ONE.- Specified by:
getLastCellNumin interfaceorg.apache.poi.ss.usermodel.Row- Returns:
- short representing the last logical cell in the row PLUS ONE, or -1 if the row does not contain any cells.
-
getZeroHeight
public boolean getZeroHeight()
Get whether or not to display this row with 0 height- Specified by:
getZeroHeightin interfaceorg.apache.poi.ss.usermodel.Row- Returns:
- - zHeight height is zero or not.
-
getPhysicalNumberOfCells
public int getPhysicalNumberOfCells()
Gets the number of defined cells (NOT number of cells in the actual row!). That is to say if only columns 0,4,5 have values then there would be 3.- Specified by:
getPhysicalNumberOfCellsin interfaceorg.apache.poi.ss.usermodel.Row- Returns:
- int representing the number of defined cells in the row.
-
getFirstCellNum
public short getFirstCellNum()
- Specified by:
getFirstCellNumin interfaceorg.apache.poi.ss.usermodel.Row
-
getCell
public org.apache.poi.ss.usermodel.Cell getCell(int cellnum, org.apache.poi.ss.usermodel.Row.MissingCellPolicy policy)- Specified by:
getCellin interfaceorg.apache.poi.ss.usermodel.Row
-
createCell
public org.apache.poi.ss.usermodel.Cell createCell(int column)
Not supported- Specified by:
createCellin interfaceorg.apache.poi.ss.usermodel.Row
-
createCell
public org.apache.poi.ss.usermodel.Cell createCell(int i, org.apache.poi.ss.usermodel.CellType cellType)Not supported- Specified by:
createCellin interfaceorg.apache.poi.ss.usermodel.Row
-
removeCell
public void removeCell(org.apache.poi.ss.usermodel.Cell cell)
Not supported- Specified by:
removeCellin interfaceorg.apache.poi.ss.usermodel.Row
-
setRowNum
public void setRowNum(int rowNum)
Not supported- Specified by:
setRowNumin interfaceorg.apache.poi.ss.usermodel.Row
-
setHeight
public void setHeight(short height)
Not supported- Specified by:
setHeightin interfaceorg.apache.poi.ss.usermodel.Row
-
setZeroHeight
public void setZeroHeight(boolean zHeight)
Not supported- Specified by:
setZeroHeightin interfaceorg.apache.poi.ss.usermodel.Row
-
setHeightInPoints
public void setHeightInPoints(float height)
Not supported- Specified by:
setHeightInPointsin interfaceorg.apache.poi.ss.usermodel.Row
-
getHeight
public short getHeight()
Not supported- Specified by:
getHeightin interfaceorg.apache.poi.ss.usermodel.Row
-
getHeightInPoints
public float getHeightInPoints()
Not supported- Specified by:
getHeightInPointsin interfaceorg.apache.poi.ss.usermodel.Row
-
isFormatted
public boolean isFormatted()
Not supported- Specified by:
isFormattedin interfaceorg.apache.poi.ss.usermodel.Row
-
getRowStyle
public org.apache.poi.ss.usermodel.CellStyle getRowStyle()
Not supported- Specified by:
getRowStylein interfaceorg.apache.poi.ss.usermodel.Row
-
setRowStyle
public void setRowStyle(org.apache.poi.ss.usermodel.CellStyle style)
Not supported- Specified by:
setRowStylein interfaceorg.apache.poi.ss.usermodel.Row
-
getOutlineLevel
public int getOutlineLevel()
Not supported- Specified by:
getOutlineLevelin interfaceorg.apache.poi.ss.usermodel.Row
-
shiftCellsRight
public void shiftCellsRight(int firstShiftColumnIndex, int lastShiftColumnIndex, int step)Not supported- Specified by:
shiftCellsRightin interfaceorg.apache.poi.ss.usermodel.Row
-
shiftCellsLeft
public void shiftCellsLeft(int firstShiftColumnIndex, int lastShiftColumnIndex, int step)Not supported- Specified by:
shiftCellsLeftin interfaceorg.apache.poi.ss.usermodel.Row
-
-