Package org.apache.poi.xssf.usermodel
Class XSSFWorkbookHelper
- java.lang.Object
-
- org.apache.poi.xssf.usermodel.XSSFWorkbookHelper
-
public class XSSFWorkbookHelper extends Object
A helper to accessXSSFWorkbook's APIs.- Author:
- jumperchen
-
-
Constructor Summary
Constructors Constructor Description XSSFWorkbookHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidaddDefaultCellStyle(org.apache.poi.xssf.usermodel.XSSFWorkbook workbook, CellStyle cellStyle)static intaddDxfCellStyle(org.apache.poi.xssf.usermodel.XSSFWorkbook workbook, XSSFDxfCellStyle cellStyle)static voidaddNamedStyles(org.apache.poi.xssf.usermodel.XSSFWorkbook workbook, List<NamedStyle> cellStyles)static voidclearDefaultCellStyles(org.apache.poi.xssf.usermodel.XSSFWorkbook workbook)static voidclearDxfCellStyles(org.apache.poi.xssf.usermodel.XSSFWorkbook workbook)static voidclearNamedStyles(org.apache.poi.xssf.usermodel.XSSFWorkbook workbook)static voidclearTableStyles(org.apache.poi.xssf.usermodel.XSSFWorkbook workbook)static org.apache.poi.xssf.usermodel.XSSFCellStylecreateDefaultCellStyle(org.apache.poi.xssf.usermodel.XSSFWorkbook workbook, org.apache.poi.xssf.usermodel.extensions.XSSFCellBorder border, org.apache.poi.xssf.usermodel.extensions.XSSFCellFill fill, org.apache.poi.xssf.usermodel.XSSFFont font, int numFmtId)static XSSFDxfCellStylecreateDxfCellStyle(org.apache.poi.xssf.usermodel.XSSFWorkbook workbook)static XSSFDxfCellStylecreateDxfCellStyle(org.apache.poi.xssf.usermodel.XSSFWorkbook workbook, int j)static NamedStylecreateNamedStyle(org.apache.poi.xssf.usermodel.XSSFWorkbook workbook, String name, boolean custom, int builtinId, int index)static voidsetAlgName(org.apache.poi.xssf.usermodel.XSSFWorkbook workbook, String algName)static voidsetDefaultPivotStyle(org.apache.poi.xssf.usermodel.XSSFWorkbook workbook, String defaultPivotStyle)static voidsetDefaultTableStyle(org.apache.poi.xssf.usermodel.XSSFWorkbook workbook, String defaultTableStyle)static voidsetHashValue(org.apache.poi.xssf.usermodel.XSSFWorkbook workbook, String hashValue)static voidsetSaltValue(org.apache.poi.xssf.usermodel.XSSFWorkbook workbook, String saltValue)static voidsetSpinCount(org.apache.poi.xssf.usermodel.XSSFWorkbook workbook, String spinCount)
-
-
-
Method Detail
-
createDxfCellStyle
public static XSSFDxfCellStyle createDxfCellStyle(org.apache.poi.xssf.usermodel.XSSFWorkbook workbook, int j)
-
createDxfCellStyle
public static XSSFDxfCellStyle createDxfCellStyle(org.apache.poi.xssf.usermodel.XSSFWorkbook workbook)
-
addDxfCellStyle
public static int addDxfCellStyle(org.apache.poi.xssf.usermodel.XSSFWorkbook workbook, XSSFDxfCellStyle cellStyle)
-
createDefaultCellStyle
public static org.apache.poi.xssf.usermodel.XSSFCellStyle createDefaultCellStyle(org.apache.poi.xssf.usermodel.XSSFWorkbook workbook, org.apache.poi.xssf.usermodel.extensions.XSSFCellBorder border, org.apache.poi.xssf.usermodel.extensions.XSSFCellFill fill, org.apache.poi.xssf.usermodel.XSSFFont font, int numFmtId)
-
setAlgName
public static void setAlgName(org.apache.poi.xssf.usermodel.XSSFWorkbook workbook, String algName)
-
setHashValue
public static void setHashValue(org.apache.poi.xssf.usermodel.XSSFWorkbook workbook, String hashValue)
-
setSaltValue
public static void setSaltValue(org.apache.poi.xssf.usermodel.XSSFWorkbook workbook, String saltValue)
-
setSpinCount
public static void setSpinCount(org.apache.poi.xssf.usermodel.XSSFWorkbook workbook, String spinCount)
-
clearDefaultCellStyles
public static void clearDefaultCellStyles(org.apache.poi.xssf.usermodel.XSSFWorkbook workbook)
-
addDefaultCellStyle
public static void addDefaultCellStyle(org.apache.poi.xssf.usermodel.XSSFWorkbook workbook, CellStyle cellStyle)
-
clearNamedStyles
public static void clearNamedStyles(org.apache.poi.xssf.usermodel.XSSFWorkbook workbook)
-
addNamedStyles
public static void addNamedStyles(org.apache.poi.xssf.usermodel.XSSFWorkbook workbook, List<NamedStyle> cellStyles)
-
setDefaultTableStyle
public static void setDefaultTableStyle(org.apache.poi.xssf.usermodel.XSSFWorkbook workbook, String defaultTableStyle)
-
setDefaultPivotStyle
public static void setDefaultPivotStyle(org.apache.poi.xssf.usermodel.XSSFWorkbook workbook, String defaultPivotStyle)
-
clearDxfCellStyles
public static void clearDxfCellStyles(org.apache.poi.xssf.usermodel.XSSFWorkbook workbook)
-
clearTableStyles
public static void clearTableStyles(org.apache.poi.xssf.usermodel.XSSFWorkbook workbook)
-
createNamedStyle
public static NamedStyle createNamedStyle(org.apache.poi.xssf.usermodel.XSSFWorkbook workbook, String name, boolean custom, int builtinId, int index)
-
-