Class Cell
java.lang.Object
com.independentsoft.office.drawing.tables.Cell
The Class Cell.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the anchor.Gets the bottom border line.Gets the bottom left to top right border line.intGets the bottom margin.Gets the gradient fill.intGets the grid span.Gets the group fill.Gets the horizontal overflow.Gets the left border line.intGets the left margin.Gets the no fill.Gets the pattern fill.Gets the picture fill.Gets the right border line.intGets the right margin.intGets the row span.Gets the shape text body.Gets the solid fill.Gets the top border line.Gets the top left to bottom right border line.intGets the top margin.Gets the vertical text.booleanChecks if is center anchor.booleanChecks if is horizontal merge.booleanChecks if is vertical merge.voidsetAnchor(TextAnchoringType anchor)Sets the anchor.voidsetBottomBorderLine(BottomBorderLine bottomBorderLine)Sets the bottom border line.voidsetBottomLeftToTopRightBorderLine(BottomLeftToTopRightBorderLine bottomLeftToTopRightBorderLine)Sets the bottom left to top right border line.voidsetBottomMargin(int bottomMargin)Sets the bottom margin.voidsetCenterAnchor(boolean centerAnchor)Sets the center anchor.voidsetGradientFill(GradientFill gradientFill)Sets the gradient fill.voidsetGridSpan(int gridSpan)Sets the grid span.voidsetGroupFill(GroupFill groupFill)Sets the group fill.voidsetHorizontalMerge(boolean horizontalMerge)Sets the horizontal merge.voidsetHorizontalOverflow(TextHorizontalOverflowType horizontalOverflow)Sets the horizontal overflow.voidsetLeftBorderLine(LeftBorderLine leftBorderLine)Sets the left border line.voidsetLeftMargin(int leftMargin)Sets the left margin.voidSets the no fill.voidsetPatternFill(PatternFill patternFill)Sets the pattern fill.voidsetPictureFill(PictureFill pictureFill)Sets the picture fill.voidsetRightBorderLine(RightBorderLine rightBorderLine)Sets the right border line.voidsetRightMargin(int rightMargin)Sets the right margin.voidsetRowSpan(int rowSpan)Sets the row span.voidsetShapeTextBody(ShapeTextBody shapeTextBody)Sets the shape text body.voidsetSolidFill(SolidFill solidFill)Sets the solid fill.voidsetTopBorderLine(TopBorderLine topBorderLine)Sets the top border line.voidsetTopLeftToBottomRightBorderLine(TopLeftToBottomRightBorderLine topLeftToBottomRightBorderLine)Sets the top left to bottom right border line.voidsetTopMargin(int topMargin)Sets the top margin.voidsetVerticalMerge(boolean verticalMerge)Sets the vertical merge.voidsetVerticalText(VerticalTextType verticalText)Sets the vertical text.toString()
-
Constructor Details
-
Cell
public Cell()Instantiates a new cell.
-
-
Method Details
-
clone
-
toString
-
getShapeTextBody
Gets the shape text body.- Returns:
- the shape text body
-
setShapeTextBody
Sets the shape text body.- Parameters:
shapeTextBody- the new shape text body
-
getPictureFill
Gets the picture fill.- Returns:
- the picture fill
-
setPictureFill
Sets the picture fill.- Parameters:
pictureFill- the new picture fill
-
getGradientFill
Gets the gradient fill.- Returns:
- the gradient fill
-
setGradientFill
Sets the gradient fill.- Parameters:
gradientFill- the new gradient fill
-
getGroupFill
Gets the group fill.- Returns:
- the group fill
-
setGroupFill
Sets the group fill.- Parameters:
groupFill- the new group fill
-
getNoFill
Gets the no fill.- Returns:
- the no fill
-
setNoFill
Sets the no fill.- Parameters:
noFill- the new no fill
-
getPatternFill
Gets the pattern fill.- Returns:
- the pattern fill
-
setPatternFill
Sets the pattern fill.- Parameters:
patternFill- the new pattern fill
-
getSolidFill
Gets the solid fill.- Returns:
- the solid fill
-
setSolidFill
Sets the solid fill.- Parameters:
solidFill- the new solid fill
-
getBottomBorderLine
Gets the bottom border line.- Returns:
- the bottom border line
-
setBottomBorderLine
Sets the bottom border line.- Parameters:
bottomBorderLine- the new bottom border line
-
getBottomLeftToTopRightBorderLine
Gets the bottom left to top right border line.- Returns:
- the bottom left to top right border line
-
setBottomLeftToTopRightBorderLine
public void setBottomLeftToTopRightBorderLine(BottomLeftToTopRightBorderLine bottomLeftToTopRightBorderLine)Sets the bottom left to top right border line.- Parameters:
bottomLeftToTopRightBorderLine- the new bottom left to top right border line
-
getLeftBorderLine
Gets the left border line.- Returns:
- the left border line
-
setLeftBorderLine
Sets the left border line.- Parameters:
leftBorderLine- the new left border line
-
getRightBorderLine
Gets the right border line.- Returns:
- the right border line
-
setRightBorderLine
Sets the right border line.- Parameters:
rightBorderLine- the new right border line
-
getTopBorderLine
Gets the top border line.- Returns:
- the top border line
-
setTopBorderLine
Sets the top border line.- Parameters:
topBorderLine- the new top border line
-
getTopLeftToBottomRightBorderLine
Gets the top left to bottom right border line.- Returns:
- the top left to bottom right border line
-
setTopLeftToBottomRightBorderLine
public void setTopLeftToBottomRightBorderLine(TopLeftToBottomRightBorderLine topLeftToBottomRightBorderLine)Sets the top left to bottom right border line.- Parameters:
topLeftToBottomRightBorderLine- the new top left to bottom right border line
-
getAnchor
Gets the anchor.- Returns:
- the anchor
-
setAnchor
Sets the anchor.- Parameters:
anchor- the new anchor
-
isCenterAnchor
public boolean isCenterAnchor()Checks if is center anchor.- Returns:
- true, if is center anchor
-
setCenterAnchor
public void setCenterAnchor(boolean centerAnchor)Sets the center anchor.- Parameters:
centerAnchor- the new center anchor
-
getHorizontalOverflow
Gets the horizontal overflow.- Returns:
- the horizontal overflow
-
setHorizontalOverflow
Sets the horizontal overflow.- Parameters:
horizontalOverflow- the new horizontal overflow
-
getBottomMargin
public int getBottomMargin()Gets the bottom margin.- Returns:
- the bottom margin
-
setBottomMargin
public void setBottomMargin(int bottomMargin)Sets the bottom margin.- Parameters:
bottomMargin- the new bottom margin
-
getLeftMargin
public int getLeftMargin()Gets the left margin.- Returns:
- the left margin
-
setLeftMargin
public void setLeftMargin(int leftMargin)Sets the left margin.- Parameters:
leftMargin- the new left margin
-
getRightMargin
public int getRightMargin()Gets the right margin.- Returns:
- the right margin
-
setRightMargin
public void setRightMargin(int rightMargin)Sets the right margin.- Parameters:
rightMargin- the new right margin
-
getTopMargin
public int getTopMargin()Gets the top margin.- Returns:
- the top margin
-
setTopMargin
public void setTopMargin(int topMargin)Sets the top margin.- Parameters:
topMargin- the new top margin
-
getVerticalText
Gets the vertical text.- Returns:
- the vertical text
-
setVerticalText
Sets the vertical text.- Parameters:
verticalText- the new vertical text
-
getGridSpan
public int getGridSpan()Gets the grid span.- Returns:
- the grid span
-
setGridSpan
public void setGridSpan(int gridSpan)Sets the grid span.- Parameters:
gridSpan- the new grid span
-
isHorizontalMerge
public boolean isHorizontalMerge()Checks if is horizontal merge.- Returns:
- true, if is horizontal merge
-
setHorizontalMerge
public void setHorizontalMerge(boolean horizontalMerge)Sets the horizontal merge.- Parameters:
horizontalMerge- the new horizontal merge
-
getRowSpan
public int getRowSpan()Gets the row span.- Returns:
- the row span
-
setRowSpan
public void setRowSpan(int rowSpan)Sets the row span.- Parameters:
rowSpan- the new row span
-
isVerticalMerge
public boolean isVerticalMerge()Checks if is vertical merge.- Returns:
- true, if is vertical merge
-
setVerticalMerge
public void setVerticalMerge(boolean verticalMerge)Sets the vertical merge.- Parameters:
verticalMerge- the new vertical merge
-