Uses of Enum Class
org.apache.poi.ss.usermodel.BorderStyle
Packages that use BorderStyle
Package
Description
usermodel package maps HSSF low level strutures to familiar workbook/sheet model
-
Uses of BorderStyle in org.apache.poi.hssf.converter
Methods in org.apache.poi.hssf.converter with parameters of type BorderStyleModifier and TypeMethodDescriptionstatic String
AbstractExcelUtils.getBorderStyle
(BorderStyle xlsBorder) static String
AbstractExcelUtils.getBorderWidth
(BorderStyle xlsBorder) protected void
ExcelToFoConverter.processCellStyleBorder
(HSSFWorkbook workbook, Element cellTarget, String type, BorderStyle xlsBorder, short borderColor) -
Uses of BorderStyle in org.apache.poi.hssf.usermodel
Methods in org.apache.poi.hssf.usermodel that return BorderStyleModifier and TypeMethodDescriptionHSSFBorderFormatting.getBorderBottom()
HSSFCellStyle.getBorderBottom()
HSSFBorderFormatting.getBorderBottomEnum()
HSSFCellStyle.getBorderBottomEnum()
HSSFBorderFormatting.getBorderDiagonal()
HSSFBorderFormatting.getBorderDiagonalEnum()
HSSFBorderFormatting.getBorderHorizontal()
HSSF doesn't support table borders, so alwaysNONE
HSSFBorderFormatting.getBorderHorizontalEnum()
Deprecated.HSSFBorderFormatting.getBorderLeft()
HSSFCellStyle.getBorderLeft()
HSSFBorderFormatting.getBorderLeftEnum()
HSSFCellStyle.getBorderLeftEnum()
HSSFBorderFormatting.getBorderRight()
HSSFCellStyle.getBorderRight()
HSSFBorderFormatting.getBorderRightEnum()
HSSFCellStyle.getBorderRightEnum()
HSSFBorderFormatting.getBorderTop()
HSSFCellStyle.getBorderTop()
HSSFBorderFormatting.getBorderTopEnum()
HSSFCellStyle.getBorderTopEnum()
HSSFBorderFormatting.getBorderVertical()
HSSF doesn't support table borders, so alwaysNONE
HSSFBorderFormatting.getBorderVerticalEnum()
Deprecated.Methods in org.apache.poi.hssf.usermodel with parameters of type BorderStyleModifier and TypeMethodDescriptionvoid
HSSFBorderFormatting.setBorderBottom
(BorderStyle border) void
HSSFCellStyle.setBorderBottom
(BorderStyle border) set the type of border to use for the bottom border of the cellvoid
HSSFBorderFormatting.setBorderDiagonal
(BorderStyle border) void
HSSFBorderFormatting.setBorderHorizontal
(BorderStyle border) Not available for HSSF.void
HSSFBorderFormatting.setBorderLeft
(BorderStyle border) void
HSSFCellStyle.setBorderLeft
(BorderStyle border) set the type of border to use for the left border of the cellvoid
HSSFBorderFormatting.setBorderRight
(BorderStyle border) void
HSSFCellStyle.setBorderRight
(BorderStyle border) set the type of border to use for the right border of the cellvoid
HSSFBorderFormatting.setBorderTop
(BorderStyle border) void
HSSFCellStyle.setBorderTop
(BorderStyle border) set the type of border to use for the top border of the cellvoid
HSSFBorderFormatting.setBorderVertical
(BorderStyle border) Not available for HSSF. -
Uses of BorderStyle in org.apache.poi.ss.usermodel
Methods in org.apache.poi.ss.usermodel that return BorderStyleModifier and TypeMethodDescriptionBorderFormatting.getBorderBottom()
CellStyle.getBorderBottom()
get the type of border to use for the bottom border of the cellBorderFormatting.getBorderBottomEnum()
Deprecated.CellStyle.getBorderBottomEnum()
Deprecated.usegetBorderBottom()
insteadBorderFormatting.getBorderDiagonal()
BorderFormatting.getBorderDiagonalEnum()
Deprecated.usegetBorderDiagonal
insteadBorderFormatting.getBorderHorizontal()
Only valid for range borders, such as table stylesBorderFormatting.getBorderHorizontalEnum()
Deprecated.usegetBorderHorizontal
insteadBorderFormatting.getBorderLeft()
CellStyle.getBorderLeft()
get the type of border to use for the left border of the cellBorderFormatting.getBorderLeftEnum()
Deprecated.usegetBorderLeft
insteadCellStyle.getBorderLeftEnum()
Deprecated.usegetBorderLeft()
insteadBorderFormatting.getBorderRight()
CellStyle.getBorderRight()
get the type of border to use for the right border of the cellBorderFormatting.getBorderRightEnum()
Deprecated.usegetBorderRight
insteadCellStyle.getBorderRightEnum()
Deprecated.usegetBorderRight()
insteadBorderFormatting.getBorderTop()
CellStyle.getBorderTop()
get the type of border to use for the top border of the cellBorderFormatting.getBorderTopEnum()
Deprecated.usegetBorderTop
insteadCellStyle.getBorderTopEnum()
Deprecated.usegetBorderTop()
insteadBorderFormatting.getBorderVertical()
Only valid for range borders, such as table stylesBorderFormatting.getBorderVerticalEnum()
Deprecated.usegetBorderVertical
insteadstatic BorderStyle
BorderStyle.valueOf
(short code) Returns the enum constant of this class with the specified name.static BorderStyle
Returns the enum constant of this class with the specified name.static BorderStyle[]
BorderStyle.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.apache.poi.ss.usermodel with parameters of type BorderStyleModifier and TypeMethodDescriptionvoid
BorderFormatting.setBorderBottom
(BorderStyle border) Set bottom border.void
CellStyle.setBorderBottom
(BorderStyle border) set the type of border to use for the bottom border of the cellvoid
BorderFormatting.setBorderDiagonal
(BorderStyle border) Set diagonal border.void
BorderFormatting.setBorderHorizontal
(BorderStyle border) Set range internal horizontal borders.void
BorderFormatting.setBorderLeft
(BorderStyle border) Set left border.void
CellStyle.setBorderLeft
(BorderStyle border) set the type of border to use for the left border of the cellvoid
BorderFormatting.setBorderRight
(BorderStyle border) Set right border.void
CellStyle.setBorderRight
(BorderStyle border) set the type of border to use for the right border of the cellvoid
BorderFormatting.setBorderTop
(BorderStyle border) Set top border.void
CellStyle.setBorderTop
(BorderStyle border) set the type of border to use for the top border of the cellvoid
BorderFormatting.setBorderVertical
(BorderStyle border) Set range internal vertical borders. -
Uses of BorderStyle in org.apache.poi.ss.util
Methods in org.apache.poi.ss.util that return BorderStyleModifier and TypeMethodDescriptionPropertyTemplate.getBorderStyle
(int row, int col, String property) Retrieves the border style for a given cellPropertyTemplate.getBorderStyle
(CellAddress cell, String property) Retrieves the border style for a given cellMethods in org.apache.poi.ss.util with parameters of type BorderStyleModifier and TypeMethodDescriptionvoid
PropertyTemplate.drawBorders
(CellRangeAddress range, BorderStyle borderType, short color, BorderExtent extent) Draws a group of cell borders for a cell range.void
PropertyTemplate.drawBorders
(CellRangeAddress range, BorderStyle borderType, BorderExtent extent) Draws a group of cell borders for a cell range.static void
RegionUtil.setBorderBottom
(BorderStyle border, CellRangeAddress region, Sheet sheet) Sets the bottom border style for a region of cells by manipulating the cell style of the individual cells on the bottomstatic void
RegionUtil.setBorderLeft
(BorderStyle border, CellRangeAddress region, Sheet sheet) Sets the left border style for a region of cells by manipulating the cell style of the individual cells on the leftstatic void
RegionUtil.setBorderRight
(BorderStyle border, CellRangeAddress region, Sheet sheet) Sets the right border style for a region of cells by manipulating the cell style of the individual cells on the rightstatic void
RegionUtil.setBorderTop
(BorderStyle border, CellRangeAddress region, Sheet sheet) Sets the top border style for a region of cells by manipulating the cell style of the individual cells on the top -
Uses of BorderStyle in org.apache.poi.xssf.usermodel
Methods in org.apache.poi.xssf.usermodel that return BorderStyleModifier and TypeMethodDescriptionXSSFBorderFormatting.getBorderBottom()
XSSFCellStyle.getBorderBottom()
XSSFBorderFormatting.getBorderBottomEnum()
XSSFCellStyle.getBorderBottomEnum()
XSSFBorderFormatting.getBorderDiagonal()
XSSFBorderFormatting.getBorderDiagonalEnum()
XSSFBorderFormatting.getBorderHorizontal()
XSSFBorderFormatting.getBorderHorizontalEnum()
XSSFBorderFormatting.getBorderLeft()
XSSFCellStyle.getBorderLeft()
XSSFBorderFormatting.getBorderLeftEnum()
XSSFCellStyle.getBorderLeftEnum()
XSSFBorderFormatting.getBorderRight()
XSSFCellStyle.getBorderRight()
XSSFBorderFormatting.getBorderRightEnum()
XSSFCellStyle.getBorderRightEnum()
XSSFBorderFormatting.getBorderTop()
XSSFCellStyle.getBorderTop()
XSSFBorderFormatting.getBorderTopEnum()
XSSFCellStyle.getBorderTopEnum()
XSSFBorderFormatting.getBorderVertical()
XSSFBorderFormatting.getBorderVerticalEnum()
Methods in org.apache.poi.xssf.usermodel with parameters of type BorderStyleModifier and TypeMethodDescriptionvoid
XSSFBorderFormatting.setBorderBottom
(BorderStyle border) void
XSSFCellStyle.setBorderBottom
(BorderStyle border) Set the type of border to use for the bottom border of the cellvoid
XSSFBorderFormatting.setBorderDiagonal
(BorderStyle border) void
XSSFBorderFormatting.setBorderHorizontal
(BorderStyle border) void
XSSFBorderFormatting.setBorderLeft
(BorderStyle border) void
XSSFCellStyle.setBorderLeft
(BorderStyle border) Set the type of border to use for the left border of the cellvoid
XSSFBorderFormatting.setBorderRight
(BorderStyle border) void
XSSFCellStyle.setBorderRight
(BorderStyle border) Set the type of border to use for the right border of the cellvoid
XSSFBorderFormatting.setBorderTop
(BorderStyle border) void
XSSFCellStyle.setBorderTop
(BorderStyle border) Set the type of border to use for the top border of the cellvoid
XSSFBorderFormatting.setBorderVertical
(BorderStyle border) -
Uses of BorderStyle in org.apache.poi.xssf.usermodel.extensions
Methods in org.apache.poi.xssf.usermodel.extensions that return BorderStyleModifier and TypeMethodDescriptionXSSFCellBorder.getBorderStyle
(XSSFCellBorder.BorderSide side) Get the type of border to use for the selected borderMethods in org.apache.poi.xssf.usermodel.extensions with parameters of type BorderStyleModifier and TypeMethodDescriptionvoid
XSSFCellBorder.setBorderStyle
(XSSFCellBorder.BorderSide side, BorderStyle style) Set the type of border to use for the selected border
getBorderBottom
instead