public final class HSSFRegionUtil extends Object
Modifier and Type | Method and Description |
---|---|
static void |
setBorderBottom(int border,
CellRangeAddress region,
HSSFSheet sheet,
HSSFWorkbook workbook)
Sets the borderBottom attribute of the HSSFRegionUtil object
|
static void |
setBorderBottom(short border,
Region region,
HSSFSheet sheet,
HSSFWorkbook workbook)
Deprecated.
(Aug 2008) use
CellRangeAddress instead of Region |
static void |
setBorderLeft(int border,
CellRangeAddress region,
HSSFSheet sheet,
HSSFWorkbook workbook)
Sets the left border for a region of cells by manipulating the cell style
of the individual cells on the left
|
static void |
setBorderLeft(short border,
Region region,
HSSFSheet sheet,
HSSFWorkbook workbook)
Deprecated.
(Aug 2008) use
CellRangeAddress instead of Region |
static void |
setBorderRight(int border,
CellRangeAddress region,
HSSFSheet sheet,
HSSFWorkbook workbook)
Sets the borderRight attribute of the HSSFRegionUtil object
|
static void |
setBorderRight(short border,
Region region,
HSSFSheet sheet,
HSSFWorkbook workbook)
Deprecated.
(Aug 2008) use
CellRangeAddress instead of Region |
static void |
setBorderTop(int border,
CellRangeAddress region,
HSSFSheet sheet,
HSSFWorkbook workbook)
Sets the borderBottom attribute of the HSSFRegionUtil object
|
static void |
setBorderTop(short border,
Region region,
HSSFSheet sheet,
HSSFWorkbook workbook)
Deprecated.
(Aug 2008) use
CellRangeAddress instead of Region |
static void |
setBottomBorderColor(int color,
CellRangeAddress region,
HSSFSheet sheet,
HSSFWorkbook workbook)
Sets the bottomBorderColor attribute of the HSSFRegionUtil object
|
static void |
setBottomBorderColor(short color,
Region region,
HSSFSheet sheet,
HSSFWorkbook workbook)
Deprecated.
(Aug 2008) use
CellRangeAddress instead of Region |
static void |
setLeftBorderColor(int color,
CellRangeAddress region,
HSSFSheet sheet,
HSSFWorkbook workbook)
Sets the leftBorderColor attribute of the HSSFRegionUtil object
|
static void |
setLeftBorderColor(short color,
Region region,
HSSFSheet sheet,
HSSFWorkbook workbook)
Deprecated.
(Aug 2008) use
CellRangeAddress instead of Region |
static void |
setRightBorderColor(int color,
CellRangeAddress region,
HSSFSheet sheet,
HSSFWorkbook workbook)
Sets the rightBorderColor attribute of the HSSFRegionUtil object
|
static void |
setRightBorderColor(short color,
Region region,
HSSFSheet sheet,
HSSFWorkbook workbook)
Deprecated.
(Aug 2008) use
CellRangeAddress instead of Region |
static void |
setTopBorderColor(int color,
CellRangeAddress region,
HSSFSheet sheet,
HSSFWorkbook workbook)
Sets the topBorderColor attribute of the HSSFRegionUtil object
|
static void |
setTopBorderColor(short color,
Region region,
HSSFSheet sheet,
HSSFWorkbook workbook)
Deprecated.
(Aug 2008) use
CellRangeAddress instead of Region |
public static void setBorderLeft(short border, Region region, HSSFSheet sheet, HSSFWorkbook workbook)
CellRangeAddress
instead of Region
public static void setBorderLeft(int border, CellRangeAddress region, HSSFSheet sheet, HSSFWorkbook workbook)
border
- The new borderregion
- The region that should have the borderworkbook
- The workbook that the region is on.sheet
- The sheet that the region is on.public static void setLeftBorderColor(short color, Region region, HSSFSheet sheet, HSSFWorkbook workbook)
CellRangeAddress
instead of Region
public static void setLeftBorderColor(int color, CellRangeAddress region, HSSFSheet sheet, HSSFWorkbook workbook)
color
- The color of the borderregion
- The region that should have the borderworkbook
- The workbook that the region is on.sheet
- The sheet that the region is on.public static void setBorderRight(short border, Region region, HSSFSheet sheet, HSSFWorkbook workbook)
CellRangeAddress
instead of Region
public static void setBorderRight(int border, CellRangeAddress region, HSSFSheet sheet, HSSFWorkbook workbook)
border
- The new borderregion
- The region that should have the borderworkbook
- The workbook that the region is on.sheet
- The sheet that the region is on.public static void setRightBorderColor(short color, Region region, HSSFSheet sheet, HSSFWorkbook workbook)
CellRangeAddress
instead of Region
public static void setRightBorderColor(int color, CellRangeAddress region, HSSFSheet sheet, HSSFWorkbook workbook)
color
- The color of the borderregion
- The region that should have the borderworkbook
- The workbook that the region is on.sheet
- The sheet that the region is on.public static void setBorderBottom(short border, Region region, HSSFSheet sheet, HSSFWorkbook workbook)
CellRangeAddress
instead of Region
public static void setBorderBottom(int border, CellRangeAddress region, HSSFSheet sheet, HSSFWorkbook workbook)
border
- The new borderregion
- The region that should have the borderworkbook
- The workbook that the region is on.sheet
- The sheet that the region is on.public static void setBottomBorderColor(short color, Region region, HSSFSheet sheet, HSSFWorkbook workbook)
CellRangeAddress
instead of Region
public static void setBottomBorderColor(int color, CellRangeAddress region, HSSFSheet sheet, HSSFWorkbook workbook)
color
- The color of the borderregion
- The region that should have the borderworkbook
- The workbook that the region is on.sheet
- The sheet that the region is on.public static void setBorderTop(short border, Region region, HSSFSheet sheet, HSSFWorkbook workbook)
CellRangeAddress
instead of Region
public static void setBorderTop(int border, CellRangeAddress region, HSSFSheet sheet, HSSFWorkbook workbook)
border
- The new borderregion
- The region that should have the borderworkbook
- The workbook that the region is on.sheet
- The sheet that the region is on.public static void setTopBorderColor(short color, Region region, HSSFSheet sheet, HSSFWorkbook workbook)
CellRangeAddress
instead of Region
public static void setTopBorderColor(int color, CellRangeAddress region, HSSFSheet sheet, HSSFWorkbook workbook)
color
- The color of the borderregion
- The region that should have the borderworkbook
- The workbook that the region is on.sheet
- The sheet that the region is on.Copyright © 2020. All rights reserved.