public class DefaultStyle extends Object implements WorkbookStyle
Modifier and Type | Method and Description |
---|---|
float |
getHeaderHeight()
Returns the height of a header row.
|
org.apache.poi.ss.usermodel.CellStyle |
getHeaderStyle()
Returns the standard cell style of a header.
|
org.apache.poi.ss.usermodel.CellStyle |
getHeaderStyle(int hierarchicalDepth)
Returns the standard cell style of a header at the given hierarchical
depth.
|
float |
getMainTitleRowHeight()
Returns the row height for the main title.
|
org.apache.poi.ss.usermodel.CellStyle |
getMainTitleStyle()
Returns the cell style for the main title.
|
float |
getStandardHeight()
Returns the height of a standard line.
|
org.apache.poi.ss.usermodel.CellStyle |
getStandardStyle()
Returns the standard cell style.
|
org.apache.poi.ss.usermodel.CellStyle |
getStandardStyle(int hierarchicalDepth)
Returns the standard cell style for the given hierarchical depth.
|
static DefaultStyle |
getStyle(ExcelWriter excelWriter)
Returns the style attached to that writer or create a new one if none
found.
|
public static DefaultStyle getStyle(ExcelWriter excelWriter)
excelWriter
- the writer of interestpublic org.apache.poi.ss.usermodel.CellStyle getMainTitleStyle()
WorkbookStyle
getMainTitleStyle
in interface WorkbookStyle
public float getMainTitleRowHeight()
WorkbookStyle
getMainTitleRowHeight
in interface WorkbookStyle
public org.apache.poi.ss.usermodel.CellStyle getStandardStyle()
WorkbookStyle
getStandardStyle
in interface WorkbookStyle
public org.apache.poi.ss.usermodel.CellStyle getStandardStyle(int hierarchicalDepth)
WorkbookStyle
getStandardStyle
in interface WorkbookStyle
hierarchicalDepth
- the hierarchical depthpublic float getStandardHeight()
WorkbookStyle
getStandardHeight
in interface WorkbookStyle
public org.apache.poi.ss.usermodel.CellStyle getHeaderStyle()
WorkbookStyle
getHeaderStyle
in interface WorkbookStyle
public org.apache.poi.ss.usermodel.CellStyle getHeaderStyle(int hierarchicalDepth)
WorkbookStyle
getHeaderStyle
in interface WorkbookStyle
hierarchicalDepth
- the hierarchical depthpublic float getHeaderHeight()
WorkbookStyle
getHeaderHeight
in interface WorkbookStyle
Copyright © 2016. All rights reserved.