| Package | Description |
|---|---|
| com.github.jferard.fastods |
This package contains all data style, ie the parameters for data (boolean, currency, float, ..
.) display.
|
| com.github.jferard.fastods.odselement | |
| com.github.jferard.fastods.style | |
| com.github.jferard.fastods.tool |
| Modifier and Type | Method and Description |
|---|---|
TableCellStyle |
NamedOdsDocument.addChildCellStyle(TableCellStyle style,
DataStyle dataStyle) |
TableCellStyle |
TableRowImpl.findDefaultCellStyle(int columnIndex)
Find the default cell style for a column
|
TableCellStyle |
Table.findDefaultCellStyle(int columnIndex)
Find the default cell style for a column
|
TableCellStyle |
TableColumnImpl.getColumnDefaultCellStyle() |
| Modifier and Type | Method and Description |
|---|---|
void |
NamedOdsDocument.addCellStyle(TableCellStyle style,
CellType... types)
Add a cell style for a given data type.
|
TableCellStyle |
NamedOdsDocument.addChildCellStyle(TableCellStyle style,
DataStyle dataStyle) |
boolean |
NamedOdsDocument.addNewDataStyleFromCellStyle(TableCellStyle style) |
void |
Table.setColumnDefaultCellStyle(int col,
TableCellStyle cellStyle) |
void |
TableColumnImpl.setColumnDefaultCellStyle(TableCellStyle defaultCellStyle) |
void |
TableColumn.setColumnDefaultCellStyle(TableCellStyle ts)
Set the cell style for the cell of this column to ts.
|
void |
TableCellWalker.setColumnDefaultCellStyle(TableCellStyle cellStyle) |
void |
TableRow.setRowDefaultCellStyle(TableCellStyle ts)
Set the cell style for the cell of this row to ts.
|
void |
TableRowImpl.setRowDefaultCellStyle(TableCellStyle ts) |
void |
TableCellWalker.setRowDefaultCellStyle(TableCellStyle ts) |
void |
RowCellWalkerImpl.setStyle(TableCellStyle style)
Deprecated.
|
void |
TableCellImpl.setStyle(TableCellStyle style) |
void |
AbstractTableCell.setStyle(TableCellStyle style) |
void |
TableCell.setStyle(TableCellStyle style)
Set a style for this cell
|
void |
TableCellWalker.setStyle(TableCellStyle style) |
| Modifier and Type | Method and Description |
|---|---|
TableCellStyle |
ContentElement.addChildCellStyle(TableCellStyle style,
CellType type)
Create an automatic style for this TableCellStyle and this type of cell.
|
TableCellStyle |
OdsElements.addChildCellStyle(TableCellStyle style,
DataStyle dataStyle) |
TableCellStyle |
StylesContainerImpl.addChildCellStyle(TableCellStyle style,
DataStyle dataStyle) |
TableCellStyle |
StylesContainer.addChildCellStyle(TableCellStyle style,
DataStyle dataStyle)
Add a child style that mixes the cell style with a data style to the container
|
| Modifier and Type | Method and Description |
|---|---|
void |
OdsElements.addCellStyle(TableCellStyle style,
CellType... types)
Add a cell style for a given data type.
|
TableCellStyle |
ContentElement.addChildCellStyle(TableCellStyle style,
CellType type)
Create an automatic style for this TableCellStyle and this type of cell.
|
TableCellStyle |
OdsElements.addChildCellStyle(TableCellStyle style,
DataStyle dataStyle) |
TableCellStyle |
StylesContainerImpl.addChildCellStyle(TableCellStyle style,
DataStyle dataStyle) |
TableCellStyle |
StylesContainer.addChildCellStyle(TableCellStyle style,
DataStyle dataStyle)
Add a child style that mixes the cell style with a data style to the container
|
boolean |
OdsElements.addNewDataStyleFromCellStyle(TableCellStyle style) |
boolean |
StylesContainerImpl.addNewDataStyleFromCellStyle(TableCellStyle style) |
boolean |
StylesContainer.addNewDataStyleFromCellStyle(TableCellStyle style)
Add the data style taken from a cell style
|
| Modifier and Type | Field and Description |
|---|---|
static TableCellStyle |
TableCellStyle.DEFAULT_CELL_STYLE
This is the default cell style: left and top align, no wrap.
|
| Modifier and Type | Method and Description |
|---|---|
TableCellStyle |
TableCellStyleBuilder.build() |
TableCellStyle |
TableCellStyle.getParentCellStyle() |
| Modifier and Type | Method and Description |
|---|---|
TableRowStyleBuilder |
TableRowStyleBuilder.defaultCellStyle(TableCellStyle defaultCellStyle)
Set a default cell style
|
TableCellStyleBuilder |
TableCellStyleBuilder.parentCellStyle(TableCellStyle tableCellStyle)
Sets the parent cell style
|
| Constructor and Description |
|---|
TableCellStyleBuilder(String name,
boolean hidden,
Borders borders,
Margins margins,
DataStyle dataStyle,
Color backgroundColor,
TextProperties textProperties,
CellAlign textAlign,
VerticalAlign verticalAlign,
boolean wrap,
TableCellStyle parentCellStyle,
Angle textRotating)
Reserved to TableCellStyle.toBuilder()
|
| Modifier and Type | Method and Description |
|---|---|
ResultSetDataWrapperBuilder |
ResultSetDataWrapperBuilder.headerStyle(TableCellStyle headerStyle)
Set a header style
|
void |
TableHelper.setCellValue(Table table,
int rowIndex,
int colIndex,
CellValue value,
TableCellStyle ts) |
void |
TableHelper.setCellValue(Table table,
String address,
CellValue value,
TableCellStyle ts)
Sets the cell value in all tables to the given values.
|
void |
OdsFileHelper.setCellValueInAllTables(int rowIndex,
int colIndex,
CellValue value,
TableCellStyle ts)
Sets the cell value in all tables to the date from the Calendar object.
|
void |
OdsFileHelper.setCellValueInAllTables(String address,
CellValue value,
TableCellStyle ts)
Sets the cell value in all tables to the date from the Calendar object.
|
| Constructor and Description |
|---|
ResultSetDataWrapper(Logger logger,
ToCellValueConverter converter,
String rangeName,
ResultSet rs,
TableCellStyle headCellStyle,
boolean autoFilter,
Map<Integer,CellType> cellTypeByColIndex,
CellValue nullValue,
int max) |
Copyright © 2016–2021. All rights reserved.