Class CellProperties
java.lang.Object
com.independentsoft.office.word.tables.CellProperties
The Class CellProperties.
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new cell properties.CellProperties(InternalXMLStreamReader reader)Instantiates a new cell properties. -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the bottom border.Gets the bottom margin exception.Gets the conditional formatting.Gets the fit text.intGets the grid span.Gets the hide mark.Gets the horizontal inside border.Gets the horizontally merged cell.Gets the left border.Gets the left margin exception.getMerge()Gets the merge.Gets the no wrap.Gets the right border.Gets the right margin exception.Gets the shading.Gets the text direction.Gets the top border.Gets the top left bottom right diagonal border.Gets the top margin exception.Gets the top right bottom left diagonal border.Gets the vertical alignment.Gets the vertical inside border.Gets the vertically merged cell.getWidth()Gets the width.static booleanChecks if is empty.voidsetBottomBorder(BottomBorder bottomBorder)Sets the bottom border.voidsetBottomMarginException(Width bottomMarginException)Sets the bottom margin exception.voidsetConditionalFormatting(ConditionalFormatting conditionalFormatting)Sets the conditional formatting.voidsetFitText(ExtendedBoolean fitText)Sets the fit text.voidsetGridSpan(int gridSpan)Sets the grid span.voidsetHideMark(ExtendedBoolean hideMark)Sets the hide mark.voidsetHorizontalInsideBorder(HorizontalInsideBorder horizontalInsideBorder)Sets the horizontal inside border.voidsetHorizontallyMergedCell(HorizontallyMergedCell horizontallyMergedCell)Sets the horizontally merged cell.voidsetLeftBorder(LeftBorder leftBorder)Sets the left border.voidsetLeftMarginException(Width leftMarginException)Sets the left margin exception.voidSets the merge.voidsetNoWrap(ExtendedBoolean noWrap)Sets the no wrap.voidsetRightBorder(RightBorder rightBorder)Sets the right border.voidsetRightMarginException(Width rightMarginException)Sets the right margin exception.voidsetShading(Shading shading)Sets the shading.voidsetTextDirection(TextDirection textDirection)Sets the text direction.voidsetTopBorder(TopBorder topBorder)Sets the top border.voidsetTopLeftBottomRightDiagonalBorder(TopLeftBottomRightDiagonalBorder topLeftBottomRightDiagonalBorder)Sets the top left bottom right diagonal border.voidsetTopMarginException(Width topMarginException)Sets the top margin exception.voidsetTopRightBottomLeftDiagonalBorder(TopRightBottomLeftDiagonalBorder topRightBottomLeftDiagonalBorder)Sets the top right bottom left diagonal border.voidsetVerticalAlignment(VerticalAlignmentType verticalAlignment)Sets the vertical alignment.voidsetVerticalInsideBorder(VerticalInsideBorder verticalInsideBorder)Sets the vertical inside border.voidsetVerticallyMergedCell(VerticallyMergedCell verticallyMergedCell)Sets the vertically merged cell.voidSets the width.toString()
-
Constructor Details
-
CellProperties
public CellProperties()Instantiates a new cell properties. -
CellProperties
Instantiates a new cell properties.- Parameters:
reader- the reader- Throws:
XMLStreamException- the xML stream exception
-
-
Method Details
-
clone
-
toString
-
isEmpty
Checks if is empty.- Parameters:
value- the value- Returns:
- true, if is empty
-
getTopBorder
Gets the top border.- Returns:
- the top border
-
setTopBorder
Sets the top border.- Parameters:
topBorder- the new top border
-
getBottomBorder
Gets the bottom border.- Returns:
- the bottom border
-
setBottomBorder
Sets the bottom border.- Parameters:
bottomBorder- the new bottom border
-
getRightBorder
Gets the right border.- Returns:
- the right border
-
setRightBorder
Sets the right border.- Parameters:
rightBorder- the new right border
-
getLeftBorder
Gets the left border.- Returns:
- the left border
-
setLeftBorder
Sets the left border.- Parameters:
leftBorder- the new left border
-
getHorizontalInsideBorder
Gets the horizontal inside border.- Returns:
- the horizontal inside border
-
setHorizontalInsideBorder
Sets the horizontal inside border.- Parameters:
horizontalInsideBorder- the new horizontal inside border
-
getVerticalInsideBorder
Gets the vertical inside border.- Returns:
- the vertical inside border
-
setVerticalInsideBorder
Sets the vertical inside border.- Parameters:
verticalInsideBorder- the new vertical inside border
-
getTopRightBottomLeftDiagonalBorder
Gets the top right bottom left diagonal border.- Returns:
- the top right bottom left diagonal border
-
setTopRightBottomLeftDiagonalBorder
public void setTopRightBottomLeftDiagonalBorder(TopRightBottomLeftDiagonalBorder topRightBottomLeftDiagonalBorder)Sets the top right bottom left diagonal border.- Parameters:
topRightBottomLeftDiagonalBorder- the new top right bottom left diagonal border
-
getTopLeftBottomRightDiagonalBorder
Gets the top left bottom right diagonal border.- Returns:
- the top left bottom right diagonal border
-
setTopLeftBottomRightDiagonalBorder
public void setTopLeftBottomRightDiagonalBorder(TopLeftBottomRightDiagonalBorder topLeftBottomRightDiagonalBorder)Sets the top left bottom right diagonal border.- Parameters:
topLeftBottomRightDiagonalBorder- the new top left bottom right diagonal border
-
getTopMarginException
Gets the top margin exception.- Returns:
- the top margin exception
-
setTopMarginException
Sets the top margin exception.- Parameters:
topMarginException- the new top margin exception
-
getBottomMarginException
Gets the bottom margin exception.- Returns:
- the bottom margin exception
-
setBottomMarginException
Sets the bottom margin exception.- Parameters:
bottomMarginException- the new bottom margin exception
-
getRightMarginException
Gets the right margin exception.- Returns:
- the right margin exception
-
setRightMarginException
Sets the right margin exception.- Parameters:
rightMarginException- the new right margin exception
-
getLeftMarginException
Gets the left margin exception.- Returns:
- the left margin exception
-
setLeftMarginException
Sets the left margin exception.- Parameters:
leftMarginException- the new left margin exception
-
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
-
getHorizontallyMergedCell
Gets the horizontally merged cell.- Returns:
- the horizontally merged cell
-
setHorizontallyMergedCell
Sets the horizontally merged cell.- Parameters:
horizontallyMergedCell- the new horizontally merged cell
-
getVerticallyMergedCell
Gets the vertically merged cell.- Returns:
- the vertically merged cell
-
setVerticallyMergedCell
Sets the vertically merged cell.- Parameters:
verticallyMergedCell- the new vertically merged cell
-
getNoWrap
Gets the no wrap.- Returns:
- the no wrap
-
setNoWrap
Sets the no wrap.- Parameters:
noWrap- the new no wrap
-
getFitText
Gets the fit text.- Returns:
- the fit text
-
setFitText
Sets the fit text.- Parameters:
fitText- the new fit text
-
getHideMark
Gets the hide mark.- Returns:
- the hide mark
-
setHideMark
Sets the hide mark.- Parameters:
hideMark- the new hide mark
-
getVerticalAlignment
Gets the vertical alignment.- Returns:
- the vertical alignment
-
setVerticalAlignment
Sets the vertical alignment.- Parameters:
verticalAlignment- the new vertical alignment
-
getShading
Gets the shading.- Returns:
- the shading
-
setShading
Sets the shading.- Parameters:
shading- the new shading
-
getTextDirection
Gets the text direction.- Returns:
- the text direction
-
setTextDirection
Sets the text direction.- Parameters:
textDirection- the new text direction
-
getWidth
Gets the width.- Returns:
- the width
-
setWidth
Sets the width.- Parameters:
width- the new width
-
getConditionalFormatting
Gets the conditional formatting.- Returns:
- the conditional formatting
-
setConditionalFormatting
Sets the conditional formatting.- Parameters:
conditionalFormatting- the new conditional formatting
-
getMerge
Gets the merge.- Returns:
- the merge
-
setMerge
Sets the merge.- Parameters:
merge- the new merge
-