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()
WorkbookStylegetMainTitleStyle in interface WorkbookStylepublic float getMainTitleRowHeight()
WorkbookStylegetMainTitleRowHeight in interface WorkbookStylepublic org.apache.poi.ss.usermodel.CellStyle getStandardStyle()
WorkbookStylegetStandardStyle in interface WorkbookStylepublic org.apache.poi.ss.usermodel.CellStyle getStandardStyle(int hierarchicalDepth)
WorkbookStylegetStandardStyle in interface WorkbookStylehierarchicalDepth - the hierarchical depthpublic float getStandardHeight()
WorkbookStylegetStandardHeight in interface WorkbookStylepublic org.apache.poi.ss.usermodel.CellStyle getHeaderStyle()
WorkbookStylegetHeaderStyle in interface WorkbookStylepublic org.apache.poi.ss.usermodel.CellStyle getHeaderStyle(int hierarchicalDepth)
WorkbookStylegetHeaderStyle in interface WorkbookStylehierarchicalDepth - the hierarchical depthpublic float getHeaderHeight()
WorkbookStylegetHeaderHeight in interface WorkbookStyleCopyright © 2016. All rights reserved.