Class MasterCellFormat
java.lang.Object
com.independentsoft.office.spreadsheet.styles.MasterCellFormat
The Class MasterCellFormat.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the alignment.Gets the border.getFill()Gets the fill.getFont()Gets the font.Gets the number format.intGets the number format id.Gets the protection.booleanChecks for pivot button.booleanChecks for quote prefix.booleanChecks if is apply alignment.booleanChecks if is apply border.booleanChecks if is apply fill.booleanChecks if is apply font.booleanChecks if is apply number format.booleanChecks if is apply protection.voidsetAlignment(CellAlignment alignment)Sets the alignment.voidsetApplyAlignment(boolean applyAlignment)Sets the apply alignment.voidsetApplyBorder(boolean applyBorder)Sets the apply border.voidsetApplyFill(boolean applyFill)Sets the apply fill.voidsetApplyFont(boolean applyFont)Sets the apply font.voidsetApplyNumberFormat(boolean applyNumberFormat)Sets the apply number format.voidsetApplyProtection(boolean applyProtection)Sets the apply protection.voidsetBorder(CellBorder border)Sets the border.voidSets the fill.voidSets the font.voidsetNumberFormat(NumberFormat numberFormat)Sets the number format.voidsetNumberFormatID(int numberFormatID)Sets the number format id.voidsetPivotButton(boolean hasPivotButton)Sets the pivot button.voidsetProtection(Protection protection)Sets the protection.voidsetQuotePrefix(boolean hasQuotePrefix)Sets the quote prefix.toString()
-
Constructor Details
-
MasterCellFormat
public MasterCellFormat()Instantiates a new master cell format.
-
-
Method Details
-
clone
-
toString
-
getAlignment
Gets the alignment.- Returns:
- the alignment
-
setAlignment
Sets the alignment.- Parameters:
alignment- the new alignment
-
getProtection
Gets the protection.- Returns:
- the protection
-
setProtection
Sets the protection.- Parameters:
protection- the new protection
-
isApplyAlignment
public boolean isApplyAlignment()Checks if is apply alignment.- Returns:
- true, if is apply alignment
-
setApplyAlignment
public void setApplyAlignment(boolean applyAlignment)Sets the apply alignment.- Parameters:
applyAlignment- the new apply alignment
-
isApplyBorder
public boolean isApplyBorder()Checks if is apply border.- Returns:
- true, if is apply border
-
setApplyBorder
public void setApplyBorder(boolean applyBorder)Sets the apply border.- Parameters:
applyBorder- the new apply border
-
isApplyFill
public boolean isApplyFill()Checks if is apply fill.- Returns:
- true, if is apply fill
-
setApplyFill
public void setApplyFill(boolean applyFill)Sets the apply fill.- Parameters:
applyFill- the new apply fill
-
isApplyFont
public boolean isApplyFont()Checks if is apply font.- Returns:
- true, if is apply font
-
setApplyFont
public void setApplyFont(boolean applyFont)Sets the apply font.- Parameters:
applyFont- the new apply font
-
isApplyNumberFormat
public boolean isApplyNumberFormat()Checks if is apply number format.- Returns:
- true, if is apply number format
-
setApplyNumberFormat
public void setApplyNumberFormat(boolean applyNumberFormat)Sets the apply number format.- Parameters:
applyNumberFormat- the new apply number format
-
isApplyProtection
public boolean isApplyProtection()Checks if is apply protection.- Returns:
- true, if is apply protection
-
setApplyProtection
public void setApplyProtection(boolean applyProtection)Sets the apply protection.- Parameters:
applyProtection- the new apply protection
-
hasPivotButton
public boolean hasPivotButton()Checks for pivot button.- Returns:
- true, if successful
-
setPivotButton
public void setPivotButton(boolean hasPivotButton)Sets the pivot button.- Parameters:
hasPivotButton- the new pivot button
-
hasQuotePrefix
public boolean hasQuotePrefix()Checks for quote prefix.- Returns:
- true, if successful
-
setQuotePrefix
public void setQuotePrefix(boolean hasQuotePrefix)Sets the quote prefix.- Parameters:
hasQuotePrefix- the new quote prefix
-
getNumberFormatID
public int getNumberFormatID()Gets the number format id.- Returns:
- the number format id
-
setNumberFormatID
public void setNumberFormatID(int numberFormatID)Sets the number format id.- Parameters:
numberFormatID- the new number format id
-
getBorder
Gets the border.- Returns:
- the border
-
setBorder
Sets the border.- Parameters:
border- the new border
-
getFill
Gets the fill.- Returns:
- the fill
-
setFill
Sets the fill.- Parameters:
fill- the new fill
-
getFont
Gets the font.- Returns:
- the font
-
setFont
Sets the font.- Parameters:
font- the new font
-
getNumberFormat
Gets the number format.- Returns:
- the number format
-
setNumberFormat
Sets the number format.- Parameters:
numberFormat- the new number format
-