Class SheetFormatProperties
java.lang.Object
com.independentsoft.office.spreadsheet.SheetFormatProperties
The Class SheetFormatProperties.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()intGets the base column width.intGets the custom height.doubleGets the default column width.doubleGets the default row height.doubleGets the default vertical distance, in pixels, from the bottom of the cell content area to the baseline of the text (x14ac:dyDescent), or -1 if not set.intGets the outline level column.intGets the outline level row.booleanChecks for thick bottom border.booleanChecks for thick top border.booleanChecks if is hidden by default.voidsetBaseColumnWidth(int baseColumnWidth)Sets the base column width.voidsetCustomHeight(int customHeight)Sets the custom height.voidsetDefaultColumnWidth(double defaultColumnWidth)Sets the default column width.voidsetDefaultRowHeight(double defaultRowHeight)Sets the default row height.voidsetDescent(double descent)Sets the default vertical distance, in pixels, from the bottom of the cell content area to the baseline of the text (x14ac:dyDescent).voidsetHiddenByDefault(boolean hiddenByDefault)Sets the hidden by default.voidsetOutlineLevelColumn(int outlineLevelColumn)Sets the outline level column.voidsetOutlineLevelRow(int outlineLevelRow)Sets the outline level row.voidsetThickBottomBorder(boolean hasThickBottomBorder)Sets the thick bottom border.voidsetThickTopBorder(boolean hasThickTopBorder)Sets the thick top border.toString()
-
Constructor Details
-
SheetFormatProperties
public SheetFormatProperties()Instantiates a new sheet format properties.
-
-
Method Details
-
clone
-
toString
-
getBaseColumnWidth
public int getBaseColumnWidth()Gets the base column width.- Returns:
- the base column width
-
setBaseColumnWidth
public void setBaseColumnWidth(int baseColumnWidth)Sets the base column width.- Parameters:
baseColumnWidth- the new base column width
-
getCustomHeight
public int getCustomHeight()Gets the custom height.- Returns:
- the custom height
-
setCustomHeight
public void setCustomHeight(int customHeight)Sets the custom height.- Parameters:
customHeight- the new custom height
-
getDefaultColumnWidth
public double getDefaultColumnWidth()Gets the default column width.- Returns:
- the default column width
-
setDefaultColumnWidth
public void setDefaultColumnWidth(double defaultColumnWidth)Sets the default column width.- Parameters:
defaultColumnWidth- the new default column width
-
getDefaultRowHeight
public double getDefaultRowHeight()Gets the default row height.- Returns:
- the default row height
-
setDefaultRowHeight
public void setDefaultRowHeight(double defaultRowHeight)Sets the default row height.- Parameters:
defaultRowHeight- the new default row height
-
getDescent
public double getDescent()Gets the default vertical distance, in pixels, from the bottom of the cell content area to the baseline of the text (x14ac:dyDescent), or -1 if not set.- Returns:
- the descent
-
setDescent
public void setDescent(double descent)Sets the default vertical distance, in pixels, from the bottom of the cell content area to the baseline of the text (x14ac:dyDescent).- Parameters:
descent- the new descent
-
getOutlineLevelColumn
public int getOutlineLevelColumn()Gets the outline level column.- Returns:
- the outline level column
-
setOutlineLevelColumn
public void setOutlineLevelColumn(int outlineLevelColumn)Sets the outline level column.- Parameters:
outlineLevelColumn- the new outline level column
-
getOutlineLevelRow
public int getOutlineLevelRow()Gets the outline level row.- Returns:
- the outline level row
-
setOutlineLevelRow
public void setOutlineLevelRow(int outlineLevelRow)Sets the outline level row.- Parameters:
outlineLevelRow- the new outline level row
-
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
-
isHiddenByDefault
public boolean isHiddenByDefault()Checks if is hidden by default.- Returns:
- true, if is hidden by default
-
setHiddenByDefault
public void setHiddenByDefault(boolean hiddenByDefault)Sets the hidden by default.- Parameters:
hiddenByDefault- the new hidden by default
-