| Modifier and Type | Method and Description |
|---|---|
RowContext |
PlainDataOutput.date(Date date,
Style style)
Write mandatory date to the current cell.
|
RowContext |
PlainDataOutput.date(com.google.common.base.Optional<Date> date,
Style style) |
RowContext |
PlainDataOutput.multilineText(Collection<String> lines,
Style style)
Write mandatory multiline text to the current cell.
|
RowContext |
PlainDataOutput.number(Number number,
Style style)
Write mandatory number to the current cell.
|
RowContext |
PlainDataOutput.number(com.google.common.base.Optional<? extends Number> number,
Style style)
Write optional number to the current cell and apply style provided.
|
RowContext |
PlainDataOutput.text(com.google.common.base.Optional<String> text,
Style style)
Write optional text to the current cell and apply style provided.
|
RowContext |
PlainDataOutput.text(String text,
Style style)
Write mandatory text to the current cell.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
AdditiveStyle
Marks the styles that can be combined together, adding features that they carry.
|
| Modifier and Type | Method and Description |
|---|---|
Style |
StyleConfiguration.getDateStyle() |
Style |
StyleConfiguration.getHeaderStyle() |
Style |
StyleConfiguration.getNumberStyle() |
Style |
StyleConfiguration.getPercentageStyle() |
Style |
StyleConfiguration.getTextStyle() |
Style |
StyleConfiguration.getTotalStyle() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.poi.hssf.usermodel.HSSFCellStyle |
StyleRegistry.registerStyle(Style style)
Convert provided
Style into POI style and register it with current workbook. |
T |
StyleConfigurable.setDateStyle(Style style) |
T |
StyleConfigurable.setHeaderStyle(Style style) |
T |
StyleConfigurable.setNumberStyle(Style style) |
T |
StyleConfigurable.setPercentageStyle(Style style) |
T |
StyleConfigurable.setTextStyle(Style style) |
T |
StyleConfigurable.setTotalStyle(Style style) |
| Modifier and Type | Method and Description |
|---|---|
R |
SupportsColumnTotalsRendering.total(Formula formula,
Style style) |
R |
SupportsColumnTotalsRendering.totals(Formula formula,
int times,
Style style) |
| Modifier and Type | Method and Description |
|---|---|
RowContext |
RowContextNoImpl.date(Date date,
Style style) |
RowContext |
RowContextImpl.date(Date date,
Style style) |
RowContext |
RowContextNoImpl.date(com.google.common.base.Optional<Date> date,
Style style) |
RowContext |
RowContextImpl.date(com.google.common.base.Optional<Date> date,
Style style) |
RowContext |
RowContextNoImpl.multilineText(Collection<String> lines,
Style style) |
RowContext |
RowContextImpl.multilineText(Collection<String> lines,
Style style) |
RowContext |
RowContextNoImpl.number(Number number,
Style style) |
RowContext |
RowContextImpl.number(Number number,
Style style) |
RowContext |
RowContextNoImpl.number(com.google.common.base.Optional<? extends Number> number,
Style style) |
RowContext |
RowContextImpl.number(com.google.common.base.Optional<? extends Number> number,
Style style) |
RowContext |
RowContextNoImpl.text(com.google.common.base.Optional<String> text,
Style style) |
RowContext |
RowContextImpl.text(com.google.common.base.Optional<String> text,
Style style) |
RowContext |
RowContextNoImpl.text(String text,
Style style) |
RowContext |
RowContextImpl.text(String text,
Style style) |
RowContext |
RowContextNoImpl.total(Formula formula,
Style style) |
RowContext |
RowContextImpl.total(Formula formula,
Style style) |
RowContext |
RowContextNoImpl.totals(Formula formula,
int times,
Style style) |
RowContext |
RowContextImpl.totals(Formula formula,
int times,
Style style) |
| Modifier and Type | Class and Description |
|---|---|
class |
CompositeStyle
Don't instantiate this class by yourself,
use
Styles.combine(AdditiveStyle...) if needed |
| Modifier and Type | Method and Description |
|---|---|
static Style |
StylesInternal.combineOrOverride(Style style1,
Style style2) |
Style |
InheritableStyleConfiguration.getDateStyle() |
Style |
InheritableStyleConfiguration.getHeaderStyle() |
Style |
InheritableStyleConfiguration.getNumberStyle() |
Style |
InheritableStyleConfiguration.getPercentageStyle() |
Style |
InheritableStyleConfiguration.getTextStyle() |
Style |
InheritableStyleConfiguration.getTotalStyle() |
| Modifier and Type | Method and Description |
|---|---|
static Style |
StylesInternal.combineOrOverride(Style style1,
Style style2) |
T |
InheritableStyleConfiguration.setDateStyle(Style style) |
T |
InheritableStyleConfiguration.setHeaderStyle(Style style) |
T |
InheritableStyleConfiguration.setNumberStyle(Style style) |
T |
InheritableStyleConfiguration.setPercentageStyle(Style style) |
T |
InheritableStyleConfiguration.setTextStyle(Style style) |
T |
InheritableStyleConfiguration.setTotalStyle(Style style) |
| Modifier and Type | Class and Description |
|---|---|
class |
CellStyle |
class |
DataStyle |
class |
EmptyStyle
An empty style that does nothing.
|
class |
FontStyle |
| Modifier and Type | Field and Description |
|---|---|
static Style |
EmptyStyle.instance |
| Modifier and Type | Method and Description |
|---|---|
Style |
DefaultStyleConfiguration.getDateStyle() |
Style |
DefaultStyleConfiguration.getHeaderStyle() |
Style |
DefaultStyleConfiguration.getNumberStyle() |
Style |
DefaultStyleConfiguration.getPercentageStyle() |
Style |
DefaultStyleConfiguration.getTextStyle() |
Style |
DefaultStyleConfiguration.getTotalStyle() |
| Modifier and Type | Class and Description |
|---|---|
class |
SystemCellWrapTextStyle |
| Modifier and Type | Method and Description |
|---|---|
org.apache.poi.hssf.usermodel.HSSFCellStyle |
WorkbookContextImpl.registerStyle(Style style) |
Copyright © 2014. All rights reserved.