Package org.apache.poi.xssf.model
Class StylesTableHelper
- java.lang.Object
-
- org.apache.poi.xssf.model.StylesTableHelper
-
public class StylesTableHelper extends Object
A helper to accessStylesTable
's APIs.- Author:
- jumperchen
-
-
Constructor Summary
Constructors Constructor Description StylesTableHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
addTableStyle(org.apache.poi.xssf.model.StylesTable stylesSource, org.apache.poi.xssf.usermodel.XSSFTableStyle tbStyle)
static TableStyle
createTableStyle(org.apache.poi.xssf.model.StylesTable stylesSource, String name)
static List<org.apache.poi.xssf.usermodel.extensions.XSSFCellBorder>
getBorders(org.apache.poi.xssf.model.StylesTable stylesSource)
static List<org.openxmlformats.schemas.spreadsheetml.x2006.main.CTXf>
getCellStyleDxfs(org.apache.poi.xssf.model.StylesTable stylesSource)
static List<org.openxmlformats.schemas.spreadsheetml.x2006.main.CTXf>
getCellStyleXfs(org.apache.poi.xssf.model.StylesTable stylesSource)
static List<org.openxmlformats.schemas.spreadsheetml.x2006.main.CTXf>
getCellXfs(org.apache.poi.xssf.model.StylesTable stylesSource)
static List<org.apache.poi.xssf.usermodel.extensions.XSSFCellFill>
getFills(org.apache.poi.xssf.model.StylesTable stylesSource)
static List<org.apache.poi.xssf.usermodel.XSSFFont>
getFonts(org.apache.poi.xssf.model.StylesTable stylesSource)
static Map<Short,String>
getNumberFormats(org.apache.poi.xssf.model.StylesTable stylesSource)
static Map<String,TableStyle>
getTableStyles(org.apache.poi.xssf.model.StylesTable stylesSource)
static void
setDefaultPivotStyle(org.apache.poi.xssf.model.StylesTable stylesSource, String defaultPivotStyle)
static void
setDefaultTableStyle(String defaultTableStyle)
-
-
-
Method Detail
-
addTableStyle
public static void addTableStyle(org.apache.poi.xssf.model.StylesTable stylesSource, org.apache.poi.xssf.usermodel.XSSFTableStyle tbStyle)
-
createTableStyle
public static TableStyle createTableStyle(org.apache.poi.xssf.model.StylesTable stylesSource, String name)
-
getFonts
public static List<org.apache.poi.xssf.usermodel.XSSFFont> getFonts(org.apache.poi.xssf.model.StylesTable stylesSource)
-
getNumberFormats
public static Map<Short,String> getNumberFormats(org.apache.poi.xssf.model.StylesTable stylesSource)
-
getBorders
public static List<org.apache.poi.xssf.usermodel.extensions.XSSFCellBorder> getBorders(org.apache.poi.xssf.model.StylesTable stylesSource)
-
getFills
public static List<org.apache.poi.xssf.usermodel.extensions.XSSFCellFill> getFills(org.apache.poi.xssf.model.StylesTable stylesSource)
-
getCellStyleXfs
public static List<org.openxmlformats.schemas.spreadsheetml.x2006.main.CTXf> getCellStyleXfs(org.apache.poi.xssf.model.StylesTable stylesSource)
-
getCellStyleDxfs
public static List<org.openxmlformats.schemas.spreadsheetml.x2006.main.CTXf> getCellStyleDxfs(org.apache.poi.xssf.model.StylesTable stylesSource)
-
getCellXfs
public static List<org.openxmlformats.schemas.spreadsheetml.x2006.main.CTXf> getCellXfs(org.apache.poi.xssf.model.StylesTable stylesSource)
-
getTableStyles
public static Map<String,TableStyle> getTableStyles(org.apache.poi.xssf.model.StylesTable stylesSource)
-
setDefaultPivotStyle
public static void setDefaultPivotStyle(org.apache.poi.xssf.model.StylesTable stylesSource, String defaultPivotStyle)
-
setDefaultTableStyle
public static void setDefaultTableStyle(String defaultTableStyle)
-
-