public interface DxfCellStyle extends CellStyle
ALIGN_CENTER, ALIGN_CENTER_SELECTION, ALIGN_FILL, ALIGN_GENERAL, ALIGN_JUSTIFY, ALIGN_LEFT, ALIGN_RIGHT, ALT_BARS, BIG_SPOTS, BORDER_DASH_DOT, BORDER_DASH_DOT_DOT, BORDER_DASHED, BORDER_DOTTED, BORDER_DOUBLE, BORDER_HAIR, BORDER_MEDIUM, BORDER_MEDIUM_DASH_DOT, BORDER_MEDIUM_DASH_DOT_DOT, BORDER_MEDIUM_DASHED, BORDER_NONE, BORDER_SLANTED_DASH_DOT, BORDER_THICK, BORDER_THIN, BRICKS, DIAMONDS, FINE_DOTS, LEAST_DOTS, LESS_DOTS, NO_FILL, SOLID_FOREGROUND, SPARSE_DOTS, SQUARES, THICK_BACKWARD_DIAG, THICK_FORWARD_DIAG, THICK_HORZ_BANDS, THICK_VERT_BANDS, THIN_BACKWARD_DIAG, THIN_FORWARD_DIAG, THIN_HORZ_BANDS, THIN_VERT_BANDS, VERTICAL_BOTTOM, VERTICAL_CENTER, VERTICAL_JUSTIFY, VERTICAL_TOP
Modifier and Type | Method and Description |
---|---|
short |
getBorderHorizontal()
get the type of border to use for the horizontal border of the cell
|
short |
getBorderVertical()
get the type of border to use for the vertical border of the cell
|
Font |
getFont()
Returns the embedded font in this DxfCellStyle; could be null.
|
short |
getHorizontalBorderColor()
get the color to use for the horizontal border
|
Color |
getHorizontalBorderColorColor() |
short |
getRawBorderBottom()
Returns the embedded border line style in this DxfCellStyle; could be -1.
|
Color |
getRawBorderBottomColor()
Returns the embedded border line color in this DxfCellStyle; could be null.
|
short |
getRawBorderDiagonal()
Returns the embedded border line style in this DxfCellStyle; could be -1.
|
Color |
getRawBorderDiagonalColor()
Returns the embedded border line color in this DxfCellStyle; could be null.
|
short |
getRawBorderHorizontal()
Returns the embedded border line style in this DxfCellStyle; could be -1.
|
Color |
getRawBorderHorizontalColor()
Returns the embedded border line color in this DxfCellStyle; could be null.
|
short |
getRawBorderLeft()
Returns the embedded border line style in this DxfCellStyle; could be -1.
|
Color |
getRawBorderLeftColor()
Returns the embedded border line color in this DxfCellStyle; could be null.
|
short |
getRawBorderRight()
Returns the embedded border line style in this DxfCellStyle; could be -1.
|
Color |
getRawBorderRightColor()
Returns the embedded border line color in this DxfCellStyle; could be null.
|
short |
getRawBorderTop()
Returns the embedded border line style in this DxfCellStyle; could be -1.
|
Color |
getRawBorderTopColor()
Returns the embedded border line color in this DxfCellStyle; could be null.
|
short |
getRawBorderVertical()
Returns the embedded border line style in this DxfCellStyle; could be -1.
|
Color |
getRawBorderVerticalColor()
Returns the embedded border line color in this DxfCellStyle; could be null.
|
Color |
getRawFillBackgroundColor()
Returns the embedded fill background color in this DxfCellStyle; could be null.
|
Color |
getRawFillForegroundColor()
Returns the embedded fill forground color in this DxfCellStyle; could be null.
|
short |
getRawFillPattern()
Returns the embedded fill pattern in this DxfCellStyle; could be -1.
|
short |
getVerticalBorderColor()
get the color to use for the vertical border
|
Color |
getVerticalBorderColorColor() |
boolean |
isOverrideBorder()
Whether the border embeed in this DxfCellStyle.
|
void |
setBorderHorizontal(short border)
set the type of border to use for the horizontal border of the cell
|
void |
setBorderVertical(short border)
set the type of border to use for the horizontal border of the cell
|
void |
setHorizontalBorderColor(short color)
set the color to use for the horizontal border
|
void |
setVerticalBorderColor(short color)
set the color to use for the vertical border
|
cloneStyleFrom, getAlignment, getBorderBottom, getBorderDiagonal, getBorderLeft, getBorderRight, getBorderTop, getBottomBorderColor, getBottomBorderColorColor, getDataFormat, getDataFormatString, getDiagonalBorderColor, getDiagonalBorderColorColor, getFillBackgroundColor, getFillBackgroundColorColor, getFillForegroundColor, getFillForegroundColorColor, getFillPattern, getFontIndex, getHidden, getIndention, getIndex, getLeftBorderColor, getLeftBorderColorColor, getLocked, getRawDataFormatString, getRightBorderColor, getRightBorderColorColor, getRotation, getTopBorderColor, getTopBorderColorColor, getVerticalAlignment, getWrapText, isBuiltinDataFormat, isShowDiagonalDownBorder, isShowDiagonalUpBorder, setAlignment, setBorder, setBorder, setBorderBottom, setBorderDiagonal, setBorderLeft, setBorderRight, setBorderTop, setBottomBorderColor, setCellAlignment, setCellAlignment, setDataFormat, setDiagonalBorderColor, setFill, setFillBackgroundColor, setFillForegroundColor, setFillPattern, setFont, setFontColorColor, setHidden, setIndention, setLeftBorderColor, setLocked, setProtection, setRightBorderColor, setRotation, setShowDiagonalDownBorder, setShowDiagonalUpBorder, setTopBorderColor, setVerticalAlignment, setWrapText
void setBorderHorizontal(short border)
border
- typeCellStyle.BORDER_NONE
,
CellStyle.BORDER_THIN
,
CellStyle.BORDER_MEDIUM
,
CellStyle.BORDER_DASHED
,
CellStyle.BORDER_DOTTED
,
CellStyle.BORDER_THICK
,
CellStyle.BORDER_DOUBLE
,
CellStyle.BORDER_HAIR
,
CellStyle.BORDER_MEDIUM_DASHED
,
CellStyle.BORDER_DASH_DOT
,
CellStyle.BORDER_MEDIUM_DASH_DOT
,
CellStyle.BORDER_DASH_DOT_DOT
,
CellStyle.BORDER_MEDIUM_DASH_DOT_DOT
,
CellStyle.BORDER_SLANTED_DASH_DOT
short getBorderHorizontal()
CellStyle.BORDER_NONE
,
CellStyle.BORDER_THIN
,
CellStyle.BORDER_MEDIUM
,
CellStyle.BORDER_DASHED
,
CellStyle.BORDER_DOTTED
,
CellStyle.BORDER_THICK
,
CellStyle.BORDER_DOUBLE
,
CellStyle.BORDER_HAIR
,
CellStyle.BORDER_MEDIUM_DASHED
,
CellStyle.BORDER_DASH_DOT
,
CellStyle.BORDER_MEDIUM_DASH_DOT
,
CellStyle.BORDER_DASH_DOT_DOT
,
CellStyle.BORDER_MEDIUM_DASH_DOT_DOT
,
CellStyle.BORDER_SLANTED_DASH_DOT
Color getHorizontalBorderColorColor()
void setHorizontalBorderColor(short color)
color
- The index of the color definitionshort getHorizontalBorderColor()
void setBorderVertical(short border)
border
- typeCellStyle.BORDER_NONE
,
CellStyle.BORDER_THIN
,
CellStyle.BORDER_MEDIUM
,
CellStyle.BORDER_DASHED
,
CellStyle.BORDER_DOTTED
,
CellStyle.BORDER_THICK
,
CellStyle.BORDER_DOUBLE
,
CellStyle.BORDER_HAIR
,
CellStyle.BORDER_MEDIUM_DASHED
,
CellStyle.BORDER_DASH_DOT
,
CellStyle.BORDER_MEDIUM_DASH_DOT
,
CellStyle.BORDER_DASH_DOT_DOT
,
CellStyle.BORDER_MEDIUM_DASH_DOT_DOT
,
CellStyle.BORDER_SLANTED_DASH_DOT
short getBorderVertical()
CellStyle.BORDER_NONE
,
CellStyle.BORDER_THIN
,
CellStyle.BORDER_MEDIUM
,
CellStyle.BORDER_DASHED
,
CellStyle.BORDER_DOTTED
,
CellStyle.BORDER_THICK
,
CellStyle.BORDER_DOUBLE
,
CellStyle.BORDER_HAIR
,
CellStyle.BORDER_MEDIUM_DASHED
,
CellStyle.BORDER_DASH_DOT
,
CellStyle.BORDER_MEDIUM_DASH_DOT
,
CellStyle.BORDER_DASH_DOT_DOT
,
CellStyle.BORDER_MEDIUM_DASH_DOT_DOT
,
CellStyle.BORDER_SLANTED_DASH_DOT
Color getVerticalBorderColorColor()
void setVerticalBorderColor(short color)
color
- The index of the color definitionshort getVerticalBorderColor()
Font getFont()
Color getRawFillForegroundColor()
Color getRawFillBackgroundColor()
short getRawFillPattern()
short getRawBorderLeft()
short getRawBorderTop()
short getRawBorderRight()
short getRawBorderBottom()
short getRawBorderDiagonal()
short getRawBorderHorizontal()
short getRawBorderVertical()
Color getRawBorderLeftColor()
Color getRawBorderTopColor()
Color getRawBorderRightColor()
Color getRawBorderBottomColor()
Color getRawBorderDiagonalColor()
Color getRawBorderVerticalColor()
Color getRawBorderHorizontalColor()
boolean isOverrideBorder()
Copyright © 2020. All rights reserved.