| Package | Description |
|---|---|
| com.github.jferard.fastods.attribute | |
| com.github.jferard.fastods.datastyle | |
| com.github.jferard.fastods.style | |
| com.github.jferard.fastods.util |
| Modifier and Type | Class and Description |
|---|---|
class |
SimpleColor
The Color class provides access to standard LibreOffice colors in hex format.
|
| Modifier and Type | Field and Description |
|---|---|
static Color |
BorderAttribute.DEFAULT_BORDER_COLOR
The border color default is #000000 (black).
|
| Modifier and Type | Method and Description |
|---|---|
BorderAttributeBuilder |
BorderAttributeBuilder.borderColor(Color borderColor)
Set the currently set border color.
|
| Constructor and Description |
|---|
BorderAttribute(Length size,
Color color,
BorderStyle style)
size is a length value
|
| Modifier and Type | Method and Description |
|---|---|
FloatStyleBuilder |
FloatStyleBuilder.negativeValueColor(Color negativeValueColor) |
NumberStyleHelperBuilder |
NumberStyleHelperBuilder.negativeValueColor(Color negativeValueColor) |
PercentageStyleBuilder |
PercentageStyleBuilder.negativeValueColor(Color negativeValueColor) |
CurrencyStyleBuilder |
CurrencyStyleBuilder.negativeValueColor(Color negativeValueColor) |
ScientificNumberStyleBuilder |
ScientificNumberStyleBuilder.negativeValueColor(Color negativeValueColor) |
T |
NumberStyleBuilder.negativeValueColor(Color negativeValueColor) |
FractionStyleBuilder |
FractionStyleBuilder.negativeValueColor(Color negativeValueColor) |
| Modifier and Type | Method and Description |
|---|---|
BordersBuilder |
BordersBuilder.all(Length size,
Color color,
BorderStyle style)
Set all borders
|
TableCellStyleBuilder |
TableCellStyleBuilder.backgroundColor(Color color)
Set the cell background color to color
|
PageStyleBuilder |
PageStyleBuilder.backgroundColor(Color color)
Set the background color to color, a six-digit hex value.
|
TableCellStyleBuilder |
TableCellStyleBuilder.borderAll(Length size,
Color borderColor,
BorderStyle style)
Add a border style for all the borders of this cell.
|
TableCellStyleBuilder |
TableCellStyleBuilder.borderBottom(Length size,
Color borderColor,
BorderStyle style)
Add a border style for the bottom border of this cell.
|
TableCellStyleBuilder |
TableCellStyleBuilder.borderLeft(Length size,
Color borderColor,
BorderStyle style)
Add a border style for the left border of this cell.
|
TableCellStyleBuilder |
TableCellStyleBuilder.borderRight(Length size,
Color borderColor,
BorderStyle style)
Add a border style for the right border of this cell.
|
TableCellStyleBuilder |
TableCellStyleBuilder.borderTop(Length size,
Color borderColor,
BorderStyle style)
Add a border style for the top border of this cell.
|
BordersBuilder |
BordersBuilder.bottom(Length size,
Color color,
BorderStyle style)
Set the bottom border
|
TextPropertiesBuilder |
TextPropertiesBuilder.fontColor(Color color)
Set the font color to color.
|
TableCellStyleBuilder |
TableCellStyleBuilder.fontColor(Color color)
Set the font color to color.
|
TextStyleBuilder |
TextStyleBuilder.fontColor(Color color)
Set the font color to color.
|
TextPropertiesBuilder |
TextPropertiesBuilder.fontUnderlineColor(Color color)
Set the font underline color to color.
|
TableCellStyleBuilder |
TableCellStyleBuilder.fontUnderlineColor(Color color)
Set the font underline color to color.
|
TextStyleBuilder |
TextStyleBuilder.fontUnderlineColor(Color color)
Set the font underline color to color.
|
BordersBuilder |
BordersBuilder.left(Length size,
Color color,
BorderStyle style)
Set the left border
|
BordersBuilder |
BordersBuilder.right(Length size,
Color color,
BorderStyle style)
Set the right border
|
BordersBuilder |
BordersBuilder.top(Length size,
Color color,
BorderStyle style)
Set the top border
|
| Constructor and Description |
|---|
DrawFillGradient(String name,
Angle angle,
Color startColor,
int startIntensity,
Color endColor,
int endIntensity) |
DrawFillHatch(String name,
Angle angle,
Color color,
Length distance) |
DrawFillSolid(Color color) |
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 |
|---|---|
static Color |
ColorHelper.fromRGB(int red,
int green,
int blue)
Create a color from RGB values
|
static Color |
ColorHelper.fromString(String hexValue)
Create a color from the hex representation
|
Color |
ColorHelper.getFromRGB(int red,
int green,
int blue)
Helper function to create any available color string from color values.
|
Color |
ColorHelper.getFromString(String hexValue)
Create a color from the hex representation
|
Copyright © 2016–2021. All rights reserved.