Class Row
java.lang.Object
com.independentsoft.office.spreadsheet.Row
The Class Row.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()get(int index)Gets the.getCells()Gets the cells.doubleGets the vertical distance, in pixels, from the bottom of the cell content area to the baseline of the text (thex14ac:dyDescentattribute), or -1 if not set.doubleGets the height.longgetIndex()Gets the index.intGets the outline level.getSpans()Gets the spans.longGets the style index.booleanChecks for custom format.booleanChecks for custom height.booleanChecks for thick bottom border.booleanChecks for thick top border.booleanisHidden()Checks if is hidden.booleanChecks if is show phonetic.voidSets the.voidsetCustomFormat(boolean hasCustomFormat)Sets the custom format.voidsetCustomHeight(boolean hasCustomHeight)Sets the custom height.voidsetDescent(double descent)Sets the vertical distance, in pixels, from the bottom of the cell content area to the baseline of the text (thex14ac:dyDescentattribute).voidsetHeight(double height)Sets the height.voidsetHidden(boolean isHidden)Sets the hidden.voidsetIndex(long index)Sets the index.voidsetOutlineLevel(int outlineLevel)Sets the outline level.voidsetShowPhonetic(boolean showPhonetic)Sets the show phonetic.voidSets the spans.voidsetStyleIndex(long styleIndex)Sets the style index.voidsetThickBottomBorder(boolean hasThickBottomBorder)Sets the thick bottom border.voidsetThickTopBorder(boolean hasThickTopBorder)Sets the thick top border.toString()
-
Constructor Details
-
Row
public Row()Instantiates a new row.
-
-
Method Details
-
clone
-
toString
-
get
Gets the.- Parameters:
index- the index- Returns:
- the cell
-
set
Sets the.- Parameters:
index- the indexcell- the cell
-
getCells
Gets the cells.- Returns:
- the cells
-
hasCustomFormat
public boolean hasCustomFormat()Checks for custom format.- Returns:
- true, if successful
-
setCustomFormat
public void setCustomFormat(boolean hasCustomFormat)Sets the custom format.- Parameters:
hasCustomFormat- the new custom format
-
hasCustomHeight
public boolean hasCustomHeight()Checks for custom height.- Returns:
- true, if successful
-
setCustomHeight
public void setCustomHeight(boolean hasCustomHeight)Sets the custom height.- Parameters:
hasCustomHeight- the new custom height
-
isHidden
public boolean isHidden()Checks if is hidden.- Returns:
- true, if is hidden
-
setHidden
public void setHidden(boolean isHidden)Sets the hidden.- Parameters:
isHidden- the new hidden
-
getHeight
public double getHeight()Gets the height.- Returns:
- the height
-
setHeight
public void setHeight(double height)Sets the height.- Parameters:
height- the new height
-
getDescent
public double getDescent()Gets the vertical distance, in pixels, from the bottom of the cell content area to the baseline of the text (thex14ac:dyDescentattribute), or -1 if not set.- Returns:
- the descent
-
setDescent
public void setDescent(double descent)Sets the vertical distance, in pixels, from the bottom of the cell content area to the baseline of the text (thex14ac:dyDescentattribute).- Parameters:
descent- the new descent
-
getOutlineLevel
public int getOutlineLevel()Gets the outline level.- Returns:
- the outline level
-
setOutlineLevel
public void setOutlineLevel(int outlineLevel)Sets the outline level.- Parameters:
outlineLevel- the new outline level
-
isShowPhonetic
public boolean isShowPhonetic()Checks if is show phonetic.- Returns:
- true, if is show phonetic
-
setShowPhonetic
public void setShowPhonetic(boolean showPhonetic)Sets the show phonetic.- Parameters:
showPhonetic- the new show phonetic
-
getIndex
public long getIndex()Gets the index.- Returns:
- the index
-
setIndex
public void setIndex(long index)Sets the index.- Parameters:
index- the new index
-
getStyleIndex
public long getStyleIndex()Gets the style index.- Returns:
- the style index
-
setStyleIndex
public void setStyleIndex(long styleIndex)Sets the style index.- Parameters:
styleIndex- the new style index
-
getSpans
Gets the spans.- Returns:
- the spans
-
setSpans
Sets the spans.- Parameters:
spans- the new spans
-
hasThickBottomBorder
public boolean hasThickBottomBorder()Checks for thick bottom border.- Returns:
- true, if successful
-
setThickBottomBorder
public void setThickBottomBorder(boolean hasThickBottomBorder)Sets the thick bottom border.- Parameters:
hasThickBottomBorder- the new thick bottom border
-
hasThickTopBorder
public boolean hasThickTopBorder()Checks for thick top border.- Returns:
- true, if successful
-
setThickTopBorder
public void setThickTopBorder(boolean hasThickTopBorder)Sets the thick top border.- Parameters:
hasThickTopBorder- the new thick top border
-