Package | Description |
---|---|
org.apache.poi.hssf.usermodel |
The usermodel package maps HSSF low level structures to familiar workbook/sheet model
|
org.apache.poi.ss.util | |
org.apache.poi.xssf.usermodel |
Modifier and Type | Method and Description |
---|---|
void |
HSSFRow.copyRowFrom(Row srcRow,
CellCopyPolicy policy,
CellCopyContext context)
Copy the cells from srcRow to this row.
|
Modifier and Type | Method and Description |
---|---|
static void |
CellUtil.copyCell(Cell srcCell,
Cell destCell,
CellCopyPolicy policy,
CellCopyContext context)
Copy cell value, formula and style, from srcCell per cell copy policy
If srcCell is null, clears the cell value and cell style per cell copy policy.
|
Modifier and Type | Method and Description |
---|---|
void |
XSSFRow.copyRowFrom(Row srcRow,
CellCopyPolicy policy,
CellCopyContext context)
Copy the cells from srcRow to this row
If this row is not a blank row, this will merge the two rows, overwriting
the cells in this row with the cells in srcRow
If srcRow is null, overwrite cells in destination row with blank values, styles, etc per cell copy policy
srcRow may be from a different sheet in the same workbook
Note that if you are copying from a non-XSSF row then you will need to disable style copying
in the
CellCopyPolicy (XSSF styles are not compatible with HSSF styles, for instance). |
Copyright 2022 The Apache Software Foundation or its licensors, as applicable.