Package org.spdx.spreadsheetstore.ods
Class OdsRow
java.lang.Object
org.spdx.spreadsheetstore.ods.OdsRow
- All Implemented Interfaces:
Iterable<org.apache.poi.ss.usermodel.Cell>,org.apache.poi.ss.usermodel.Row
Adapter for Apache POI
Row managing a specific row in a SODS Sheet.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.poi.ss.usermodel.Row
org.apache.poi.ss.usermodel.Row.MissingCellPolicy -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionIterator<org.apache.poi.ss.usermodel.Cell> voidclear()Clears all cells in this row, setting their SODS range values to null.org.apache.poi.ss.usermodel.CellcreateCell(int column) org.apache.poi.ss.usermodel.CellcreateCell(int column, org.apache.poi.ss.usermodel.CellType type) org.apache.poi.ss.usermodel.CellgetCell(int cellnum) org.apache.poi.ss.usermodel.CellgetCell(int cellnum, org.apache.poi.ss.usermodel.Row.MissingCellPolicy policy) shortshortfloatshortintintintorg.apache.poi.ss.usermodel.CellStyleorg.apache.poi.ss.usermodel.SheetgetSheet()booleanbooleanIterator<org.apache.poi.ss.usermodel.Cell> iterator()voidremoveCell(org.apache.poi.ss.usermodel.Cell cell) voidsetHeight(short height) voidsetHeightInPoints(float height) voidsetRowNum(int rowNum) voidsetRowStyle(org.apache.poi.ss.usermodel.CellStyle style) voidsetZeroHeight(boolean zHeight) voidshiftCellsLeft(int firstShiftColumnIndex, int lastShiftColumnIndex, int step) voidshiftCellsRight(int firstShiftColumnIndex, int lastShiftColumnIndex, int step) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.poi.ss.usermodel.Row
spliterator
-
Constructor Details
-
OdsRow
Creates an ODS row wrapper around a specific row index in a sheet.- Parameters:
sheet- Parent ODS sheet adapter.rowNum- Zero-based row index.
-
-
Method Details
-
clear
public void clear()Clears all cells in this row, setting their SODS range values to null. -
createCell
public org.apache.poi.ss.usermodel.Cell createCell(int column) - Specified by:
createCellin interfaceorg.apache.poi.ss.usermodel.Row
-
createCell
public org.apache.poi.ss.usermodel.Cell createCell(int column, org.apache.poi.ss.usermodel.CellType type) - Specified by:
createCellin interfaceorg.apache.poi.ss.usermodel.Row
-
getCell
public org.apache.poi.ss.usermodel.Cell getCell(int cellnum) - Specified by:
getCellin interfaceorg.apache.poi.ss.usermodel.Row
-
getFirstCellNum
public short getFirstCellNum()- Specified by:
getFirstCellNumin interfaceorg.apache.poi.ss.usermodel.Row
-
getLastCellNum
public short getLastCellNum()- Specified by:
getLastCellNumin interfaceorg.apache.poi.ss.usermodel.Row
-
getRowNum
public int getRowNum()- Specified by:
getRowNumin interfaceorg.apache.poi.ss.usermodel.Row
-
setHeightInPoints
public void setHeightInPoints(float height) - Specified by:
setHeightInPointsin interfaceorg.apache.poi.ss.usermodel.Row
-
setHeight
public void setHeight(short height) - Specified by:
setHeightin interfaceorg.apache.poi.ss.usermodel.Row
-
getHeightInPoints
public float getHeightInPoints()- Specified by:
getHeightInPointsin interfaceorg.apache.poi.ss.usermodel.Row
-
getHeight
public short getHeight()- Specified by:
getHeightin interfaceorg.apache.poi.ss.usermodel.Row
-
getSheet
public org.apache.poi.ss.usermodel.Sheet getSheet()- Specified by:
getSheetin interfaceorg.apache.poi.ss.usermodel.Row
-
cellIterator
- Specified by:
cellIteratorin interfaceorg.apache.poi.ss.usermodel.Row
-
iterator
-
removeCell
public void removeCell(org.apache.poi.ss.usermodel.Cell cell) - Specified by:
removeCellin interfaceorg.apache.poi.ss.usermodel.Row
-
setRowNum
public void setRowNum(int rowNum) - Specified by:
setRowNumin interfaceorg.apache.poi.ss.usermodel.Row
-
getPhysicalNumberOfCells
public int getPhysicalNumberOfCells()- Specified by:
getPhysicalNumberOfCellsin interfaceorg.apache.poi.ss.usermodel.Row
-
isFormatted
public boolean isFormatted()- Specified by:
isFormattedin interfaceorg.apache.poi.ss.usermodel.Row
-
getRowStyle
public org.apache.poi.ss.usermodel.CellStyle getRowStyle()- Specified by:
getRowStylein interfaceorg.apache.poi.ss.usermodel.Row
-
setRowStyle
public void setRowStyle(org.apache.poi.ss.usermodel.CellStyle style) - Specified by:
setRowStylein interfaceorg.apache.poi.ss.usermodel.Row
-
shiftCellsLeft
public void shiftCellsLeft(int firstShiftColumnIndex, int lastShiftColumnIndex, int step) - Specified by:
shiftCellsLeftin interfaceorg.apache.poi.ss.usermodel.Row
-
shiftCellsRight
public void shiftCellsRight(int firstShiftColumnIndex, int lastShiftColumnIndex, int step) - Specified by:
shiftCellsRightin interfaceorg.apache.poi.ss.usermodel.Row
-
getOutlineLevel
public int getOutlineLevel()- Specified by:
getOutlineLevelin interfaceorg.apache.poi.ss.usermodel.Row
-
getZeroHeight
public boolean getZeroHeight()- Specified by:
getZeroHeightin interfaceorg.apache.poi.ss.usermodel.Row
-
setZeroHeight
public void setZeroHeight(boolean zHeight) - Specified by:
setZeroHeightin 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
-