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 void
addDefaultCellStyle(org.apache.poi.xssf.usermodel.XSSFWorkbook workbook, CellStyle cellStyle)
static int
addDxfCellStyle(org.apache.poi.xssf.usermodel.XSSFWorkbook workbook, XSSFDxfCellStyle cellStyle)
static void
addNamedStyles(org.apache.poi.xssf.usermodel.XSSFWorkbook workbook, List<NamedStyle> cellStyles)
static void
clearDefaultCellStyles(org.apache.poi.xssf.usermodel.XSSFWorkbook workbook)
static void
clearDxfCellStyles(org.apache.poi.xssf.usermodel.XSSFWorkbook workbook)
static void
clearNamedStyles(org.apache.poi.xssf.usermodel.XSSFWorkbook workbook)
static void
clearTableStyles(org.apache.poi.xssf.usermodel.XSSFWorkbook workbook)
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)
static XSSFDxfCellStyle
createDxfCellStyle(org.apache.poi.xssf.usermodel.XSSFWorkbook workbook)
static XSSFDxfCellStyle
createDxfCellStyle(org.apache.poi.xssf.usermodel.XSSFWorkbook workbook, int j)
static NamedStyle
createNamedStyle(org.apache.poi.xssf.usermodel.XSSFWorkbook workbook, String name, boolean custom, int builtinId, int index)
static void
setAlgName(org.apache.poi.xssf.usermodel.XSSFWorkbook workbook, String algName)
static void
setDefaultPivotStyle(org.apache.poi.xssf.usermodel.XSSFWorkbook workbook, String defaultPivotStyle)
static void
setDefaultTableStyle(org.apache.poi.xssf.usermodel.XSSFWorkbook workbook, String defaultTableStyle)
static void
setHashValue(org.apache.poi.xssf.usermodel.XSSFWorkbook workbook, String hashValue)
static void
setSaltValue(org.apache.poi.xssf.usermodel.XSSFWorkbook workbook, String saltValue)
static void
setSpinCount(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)
-
-