StyleFlag

StyleFlag class

Represents flags which indicates applied formatting properties.

class StyleFlag;

Constructors

NameDescription
constructor()Constructs an object with all flags as false.

Methods

MethodDescription
getAll()All properties will be applied.
setAll(boolean)All properties will be applied.
getBorders()All borders settings will be applied.
setBorders(boolean)All borders settings will be applied.
getLeftBorder()Left border settings will be applied.
setLeftBorder(boolean)Left border settings will be applied.
getRightBorder()Right border settings will be applied.
setRightBorder(boolean)Right border settings will be applied.
getTopBorder()Top border settings will be applied.
setTopBorder(boolean)Top border settings will be applied.
getBottomBorder()Bottom border settings will be applied.
setBottomBorder(boolean)Bottom border settings will be applied.
getDiagonalDownBorder()Diagonal down border settings will be applied.
setDiagonalDownBorder(boolean)Diagonal down border settings will be applied.
getDiagonalUpBorder()Diagonal up border settings will be applied.
setDiagonalUpBorder(boolean)Diagonal up border settings will be applied.
getFont()Font settings will be applied.
setFont(boolean)Font settings will be applied.
getFontSize()Font size setting will be applied.
setFontSize(boolean)Font size setting will be applied.
getFontName()Font name setting will be applied.
setFontName(boolean)Font name setting will be applied.
getFontColor()Font color setting will be applied.
setFontColor(boolean)Font color setting will be applied.
getFontBold()Font bold setting will be applied.
setFontBold(boolean)Font bold setting will be applied.
getFontItalic()Font italic setting will be applied.
setFontItalic(boolean)Font italic setting will be applied.
getFontUnderline()Font underline setting will be applied.
setFontUnderline(boolean)Font underline setting will be applied.
getFontStrike()Font strikeout setting will be applied.
setFontStrike(boolean)Font strikeout setting will be applied.
getFontScript()Font script setting will be applied.
setFontScript(boolean)Font script setting will be applied.
get_NumberFormat()Number format setting will be applied.
setNumberFormat(boolean)Number format setting will be applied.
getAlignments()Alignment setting will be applied.
setAlignments(boolean)Alignment setting will be applied.
getHorizontalAlignment()Horizontal alignment setting will be applied.
setHorizontalAlignment(boolean)Horizontal alignment setting will be applied.
getVerticalAlignment()Vertical alignment setting will be applied.
setVerticalAlignment(boolean)Vertical alignment setting will be applied.
getIndent()Indent level setting will be applied.
setIndent(boolean)Indent level setting will be applied.
getRotation()Rotation setting will be applied.
setRotation(boolean)Rotation setting will be applied.
getWrapText()Wrap text setting will be applied.
setWrapText(boolean)Wrap text setting will be applied.
getShrinkToFit()Shrink to fit setting will be applied.
setShrinkToFit(boolean)Shrink to fit setting will be applied.
getTextDirection()Text direction setting will be applied.
setTextDirection(boolean)Text direction setting will be applied.
getCellShading()Cell shading setting will be applied.
setCellShading(boolean)Cell shading setting will be applied.
getLocked()Locked setting will be applied.
setLocked(boolean)Locked setting will be applied.
getHideFormula()Hide formula setting will be applied.
setHideFormula(boolean)Hide formula setting will be applied.
getQuotePrefix()Hide formula setting will be applied.
setQuotePrefix(boolean)Hide formula setting will be applied.
isNull()Checks whether the implementation object is null.

constructor()

Constructs an object with all flags as false.

constructor();

getAll()

All properties will be applied.

getAll() : boolean;

setAll(boolean)

All properties will be applied.

setAll(value: boolean) : void;

Parameters:

ParameterTypeDescription
valuebooleanThe value to set.

getBorders()

All borders settings will be applied.

getBorders() : boolean;

setBorders(boolean)

All borders settings will be applied.

setBorders(value: boolean) : void;

Parameters:

ParameterTypeDescription
valuebooleanThe value to set.

getLeftBorder()

Left border settings will be applied.

getLeftBorder() : boolean;

setLeftBorder(boolean)

Left border settings will be applied.

setLeftBorder(value: boolean) : void;

Parameters:

ParameterTypeDescription
valuebooleanThe value to set.

getRightBorder()

Right border settings will be applied.

getRightBorder() : boolean;

setRightBorder(boolean)

Right border settings will be applied.

setRightBorder(value: boolean) : void;

Parameters:

ParameterTypeDescription
valuebooleanThe value to set.

getTopBorder()

Top border settings will be applied.

getTopBorder() : boolean;

setTopBorder(boolean)

Top border settings will be applied.

setTopBorder(value: boolean) : void;

Parameters:

ParameterTypeDescription
valuebooleanThe value to set.

getBottomBorder()

Bottom border settings will be applied.

getBottomBorder() : boolean;

setBottomBorder(boolean)

Bottom border settings will be applied.

setBottomBorder(value: boolean) : void;

Parameters:

ParameterTypeDescription
valuebooleanThe value to set.

getDiagonalDownBorder()

Diagonal down border settings will be applied.

getDiagonalDownBorder() : boolean;

setDiagonalDownBorder(boolean)

Diagonal down border settings will be applied.

setDiagonalDownBorder(value: boolean) : void;

Parameters:

ParameterTypeDescription
valuebooleanThe value to set.

getDiagonalUpBorder()

Diagonal up border settings will be applied.

getDiagonalUpBorder() : boolean;

setDiagonalUpBorder(boolean)

Diagonal up border settings will be applied.

setDiagonalUpBorder(value: boolean) : void;

Parameters:

ParameterTypeDescription
valuebooleanThe value to set.

getFont()

Font settings will be applied.

getFont() : boolean;

setFont(boolean)

Font settings will be applied.

setFont(value: boolean) : void;

Parameters:

ParameterTypeDescription
valuebooleanThe value to set.

getFontSize()

Font size setting will be applied.

getFontSize() : boolean;

setFontSize(boolean)

Font size setting will be applied.

setFontSize(value: boolean) : void;

Parameters:

ParameterTypeDescription
valuebooleanThe value to set.

getFontName()

Font name setting will be applied.

getFontName() : boolean;

setFontName(boolean)

Font name setting will be applied.

setFontName(value: boolean) : void;

Parameters:

ParameterTypeDescription
valuebooleanThe value to set.

getFontColor()

Font color setting will be applied.

getFontColor() : boolean;

setFontColor(boolean)

Font color setting will be applied.

setFontColor(value: boolean) : void;

Parameters:

ParameterTypeDescription
valuebooleanThe value to set.

getFontBold()

Font bold setting will be applied.

getFontBold() : boolean;

setFontBold(boolean)

Font bold setting will be applied.

setFontBold(value: boolean) : void;

Parameters:

ParameterTypeDescription
valuebooleanThe value to set.

getFontItalic()

Font italic setting will be applied.

getFontItalic() : boolean;

setFontItalic(boolean)

Font italic setting will be applied.

setFontItalic(value: boolean) : void;

Parameters:

ParameterTypeDescription
valuebooleanThe value to set.

getFontUnderline()

Font underline setting will be applied.

getFontUnderline() : boolean;

setFontUnderline(boolean)

Font underline setting will be applied.

setFontUnderline(value: boolean) : void;

Parameters:

ParameterTypeDescription
valuebooleanThe value to set.

getFontStrike()

Font strikeout setting will be applied.

getFontStrike() : boolean;

setFontStrike(boolean)

Font strikeout setting will be applied.

setFontStrike(value: boolean) : void;

Parameters:

ParameterTypeDescription
valuebooleanThe value to set.

getFontScript()

Font script setting will be applied.

getFontScript() : boolean;

setFontScript(boolean)

Font script setting will be applied.

setFontScript(value: boolean) : void;

Parameters:

ParameterTypeDescription
valuebooleanThe value to set.

get_NumberFormat()

Number format setting will be applied.

get_NumberFormat() : boolean;

setNumberFormat(boolean)

Number format setting will be applied.

setNumberFormat(value: boolean) : void;

Parameters:

ParameterTypeDescription
valuebooleanThe value to set.

getAlignments()

Alignment setting will be applied.

getAlignments() : boolean;

setAlignments(boolean)

Alignment setting will be applied.

setAlignments(value: boolean) : void;

Parameters:

ParameterTypeDescription
valuebooleanThe value to set.

getHorizontalAlignment()

Horizontal alignment setting will be applied.

getHorizontalAlignment() : boolean;

setHorizontalAlignment(boolean)

Horizontal alignment setting will be applied.

setHorizontalAlignment(value: boolean) : void;

Parameters:

ParameterTypeDescription
valuebooleanThe value to set.

getVerticalAlignment()

Vertical alignment setting will be applied.

getVerticalAlignment() : boolean;

setVerticalAlignment(boolean)

Vertical alignment setting will be applied.

setVerticalAlignment(value: boolean) : void;

Parameters:

ParameterTypeDescription
valuebooleanThe value to set.

getIndent()

Indent level setting will be applied.

getIndent() : boolean;

setIndent(boolean)

Indent level setting will be applied.

setIndent(value: boolean) : void;

Parameters:

ParameterTypeDescription
valuebooleanThe value to set.

getRotation()

Rotation setting will be applied.

getRotation() : boolean;

setRotation(boolean)

Rotation setting will be applied.

setRotation(value: boolean) : void;

Parameters:

ParameterTypeDescription
valuebooleanThe value to set.

getWrapText()

Wrap text setting will be applied.

getWrapText() : boolean;

setWrapText(boolean)

Wrap text setting will be applied.

setWrapText(value: boolean) : void;

Parameters:

ParameterTypeDescription
valuebooleanThe value to set.

getShrinkToFit()

Shrink to fit setting will be applied.

getShrinkToFit() : boolean;

setShrinkToFit(boolean)

Shrink to fit setting will be applied.

setShrinkToFit(value: boolean) : void;

Parameters:

ParameterTypeDescription
valuebooleanThe value to set.

getTextDirection()

Text direction setting will be applied.

getTextDirection() : boolean;

setTextDirection(boolean)

Text direction setting will be applied.

setTextDirection(value: boolean) : void;

Parameters:

ParameterTypeDescription
valuebooleanThe value to set.

getCellShading()

Cell shading setting will be applied.

getCellShading() : boolean;

setCellShading(boolean)

Cell shading setting will be applied.

setCellShading(value: boolean) : void;

Parameters:

ParameterTypeDescription
valuebooleanThe value to set.

getLocked()

Locked setting will be applied.

getLocked() : boolean;

setLocked(boolean)

Locked setting will be applied.

setLocked(value: boolean) : void;

Parameters:

ParameterTypeDescription
valuebooleanThe value to set.

getHideFormula()

Hide formula setting will be applied.

getHideFormula() : boolean;

setHideFormula(boolean)

Hide formula setting will be applied.

setHideFormula(value: boolean) : void;

Parameters:

ParameterTypeDescription
valuebooleanThe value to set.

getQuotePrefix()

Hide formula setting will be applied.

getQuotePrefix() : boolean;

setQuotePrefix(boolean)

Hide formula setting will be applied.

setQuotePrefix(value: boolean) : void;

Parameters:

ParameterTypeDescription
valuebooleanThe value to set.

isNull()

Checks whether the implementation object is null.

isNull() : boolean;