org.apache.poi.hssf.util
Class HSSFRegionUtil
- java.lang.Object
-
- org.apache.poi.hssf.util.HSSFRegionUtil
-
public final class HSSFRegionUtil extends java.lang.ObjectVarious utility functions that make working with a region of cells easier.
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method and Description static voidsetBorderBottom(int border, CellRangeAddress region, HSSFSheet sheet, HSSFWorkbook workbook)Sets the borderBottom attribute of the HSSFRegionUtil objectstatic voidsetBorderBottom(short border, Region region, HSSFSheet sheet, HSSFWorkbook workbook)Deprecated.(Aug 2008) useCellRangeAddressinstead ofRegionstatic voidsetBorderLeft(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 leftstatic voidsetBorderLeft(short border, Region region, HSSFSheet sheet, HSSFWorkbook workbook)Deprecated.(Aug 2008) useCellRangeAddressinstead ofRegionstatic voidsetBorderRight(int border, CellRangeAddress region, HSSFSheet sheet, HSSFWorkbook workbook)Sets the borderRight attribute of the HSSFRegionUtil objectstatic voidsetBorderRight(short border, Region region, HSSFSheet sheet, HSSFWorkbook workbook)Deprecated.(Aug 2008) useCellRangeAddressinstead ofRegionstatic voidsetBorderTop(int border, CellRangeAddress region, HSSFSheet sheet, HSSFWorkbook workbook)Sets the borderBottom attribute of the HSSFRegionUtil objectstatic voidsetBorderTop(short border, Region region, HSSFSheet sheet, HSSFWorkbook workbook)Deprecated.(Aug 2008) useCellRangeAddressinstead ofRegionstatic voidsetBottomBorderColor(int color, CellRangeAddress region, HSSFSheet sheet, HSSFWorkbook workbook)Sets the bottomBorderColor attribute of the HSSFRegionUtil objectstatic voidsetBottomBorderColor(short color, Region region, HSSFSheet sheet, HSSFWorkbook workbook)Deprecated.(Aug 2008) useCellRangeAddressinstead ofRegionstatic voidsetLeftBorderColor(int color, CellRangeAddress region, HSSFSheet sheet, HSSFWorkbook workbook)Sets the leftBorderColor attribute of the HSSFRegionUtil objectstatic voidsetLeftBorderColor(short color, Region region, HSSFSheet sheet, HSSFWorkbook workbook)Deprecated.(Aug 2008) useCellRangeAddressinstead ofRegionstatic voidsetRightBorderColor(int color, CellRangeAddress region, HSSFSheet sheet, HSSFWorkbook workbook)Sets the rightBorderColor attribute of the HSSFRegionUtil objectstatic voidsetRightBorderColor(short color, Region region, HSSFSheet sheet, HSSFWorkbook workbook)Deprecated.(Aug 2008) useCellRangeAddressinstead ofRegionstatic voidsetTopBorderColor(int color, CellRangeAddress region, HSSFSheet sheet, HSSFWorkbook workbook)Sets the topBorderColor attribute of the HSSFRegionUtil objectstatic voidsetTopBorderColor(short color, Region region, HSSFSheet sheet, HSSFWorkbook workbook)Deprecated.(Aug 2008) useCellRangeAddressinstead ofRegion
-
-
-
Method Detail
-
setBorderLeft
public static void setBorderLeft(short border, Region region, HSSFSheet sheet, HSSFWorkbook workbook)Deprecated. (Aug 2008) useCellRangeAddressinstead ofRegion
-
setBorderLeft
public 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- Parameters:
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.
-
setLeftBorderColor
public static void setLeftBorderColor(short color, Region region, HSSFSheet sheet, HSSFWorkbook workbook)Deprecated. (Aug 2008) useCellRangeAddressinstead ofRegion
-
setLeftBorderColor
public static void setLeftBorderColor(int color, CellRangeAddress region, HSSFSheet sheet, HSSFWorkbook workbook)Sets the leftBorderColor attribute of the HSSFRegionUtil object- Parameters:
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.
-
setBorderRight
public static void setBorderRight(short border, Region region, HSSFSheet sheet, HSSFWorkbook workbook)Deprecated. (Aug 2008) useCellRangeAddressinstead ofRegion
-
setBorderRight
public static void setBorderRight(int border, CellRangeAddress region, HSSFSheet sheet, HSSFWorkbook workbook)Sets the borderRight attribute of the HSSFRegionUtil object- Parameters:
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.
-
setRightBorderColor
public static void setRightBorderColor(short color, Region region, HSSFSheet sheet, HSSFWorkbook workbook)Deprecated. (Aug 2008) useCellRangeAddressinstead ofRegion
-
setRightBorderColor
public static void setRightBorderColor(int color, CellRangeAddress region, HSSFSheet sheet, HSSFWorkbook workbook)Sets the rightBorderColor attribute of the HSSFRegionUtil object- Parameters:
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.
-
setBorderBottom
public static void setBorderBottom(short border, Region region, HSSFSheet sheet, HSSFWorkbook workbook)Deprecated. (Aug 2008) useCellRangeAddressinstead ofRegion
-
setBorderBottom
public static void setBorderBottom(int border, CellRangeAddress region, HSSFSheet sheet, HSSFWorkbook workbook)Sets the borderBottom attribute of the HSSFRegionUtil object- Parameters:
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.
-
setBottomBorderColor
public static void setBottomBorderColor(short color, Region region, HSSFSheet sheet, HSSFWorkbook workbook)Deprecated. (Aug 2008) useCellRangeAddressinstead ofRegion
-
setBottomBorderColor
public static void setBottomBorderColor(int color, CellRangeAddress region, HSSFSheet sheet, HSSFWorkbook workbook)Sets the bottomBorderColor attribute of the HSSFRegionUtil object- Parameters:
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.
-
setBorderTop
public static void setBorderTop(short border, Region region, HSSFSheet sheet, HSSFWorkbook workbook)Deprecated. (Aug 2008) useCellRangeAddressinstead ofRegion
-
setBorderTop
public static void setBorderTop(int border, CellRangeAddress region, HSSFSheet sheet, HSSFWorkbook workbook)Sets the borderBottom attribute of the HSSFRegionUtil object- Parameters:
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.
-
setTopBorderColor
public static void setTopBorderColor(short color, Region region, HSSFSheet sheet, HSSFWorkbook workbook)Deprecated. (Aug 2008) useCellRangeAddressinstead ofRegion
-
setTopBorderColor
public static void setTopBorderColor(int color, CellRangeAddress region, HSSFSheet sheet, HSSFWorkbook workbook)Sets the topBorderColor attribute of the HSSFRegionUtil object- Parameters:
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.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG