Home  Products  Purchase  Downloads  Demos  Forums  Blogs  Ticket  Wiki  API  Corporate


com.aspose.cells
Class StyleFlag

java.lang.Object
  extended by com.aspose.cells.StyleFlag

public class StyleFlag
extends java.lang.Object

Represents flags which indicates applied formatting properties.


Constructor Summary
StyleFlag()
          Constructs an object.
 
Method Summary
 boolean isAll()
          Indicates whether all properties will be applied.
 boolean isBorders()
          Indicates whether all borders settings will be applied.
 boolean isBottomBorder()
          Indicates whether bottom border settings will be applied.
 boolean isCellShading()
          Indicates whether cell shading setting will be applied.
 boolean isDiagonalDownBorder()
          Indicates whether diagonal down border settings will be applied.
 boolean isDiagonalUpBorder()
          Indicates whether diagonal up border settings will be applied.
 boolean isFont()
          Indicates whether font settings will be applied.
 boolean isFontBold()
          Indicates whether font bold setting will be applied.
 boolean isFontColor()
          Inicates whether font color setting will be applied.
 boolean isFontItalic()
          Indicates whether font bold setting will be applied.
 boolean isFontName()
          Indicates whether font name setting will be applied.
 boolean isFontScript()
          Indicates whether font script setting will be applied.
 boolean isFontSize()
          Indicates whether font size setting will be applied.
 boolean isFontStrike()
          Indicates whether font stikeout setting will be applied.
 boolean isFontUnderline()
          Indicates whether font underline setting will be applied.
 boolean isHorizontalAlignment()
          Indicates whether horizontal alignment setting will be applied.
 boolean isIndent()
          Indicates whehter Indent level setting will be applied.
 boolean isLeftBorder()
          Indicates whether left border settings will be applied.
 boolean isLocked()
          Indicates whether locked setting will be applied.
 boolean isNumberFormat()
          Indicates whether number format setting will be applied.
 boolean isRightBorder()
          Indicates whether right border settings will be applied.
 boolean isRotation()
          Indicates whether rotation setting will be applied.
 boolean isShrinkToFit()
          Indicates whether shrink to fit setting will be applied.
 boolean isTextDirection()
          Indicates whether text direction setting will be applied.
 boolean isTopBorder()
          Indicates whether top border settings will be applied.
 boolean isVerticalAlignment()
          Indicates whether vertical alignment setting will be applied.
 boolean isWrapText()
          Indicates whether wrap text setting will be applied.
 void setAll(boolean all)
          All properties will be applied.
 void setBorders(boolean borders)
          All borders settings will be applied.
 void setBottomBorder(boolean bottomBorder)
          Bottom border settings will be applied.
 void setCellShading(boolean cellShading)
          Cell shading setting will be applied.
 void setDiagonalDownBorder(boolean diagonalDownBorder)
          Diagonal down border settings will be applied.
 void setDiagonalUpBorder(boolean diagonalUpBorder)
          Diagonal up border settings will be applied.
 void setFont(boolean font)
          Font settings will be applied.
 void setFontBold(boolean fontBold)
          Font bold setting will be applied.
 void setFontColor(boolean fontColor)
          Font color setting will be applied.
 void setFontItalic(boolean fontItalic)
          Font bold setting will be applied.
 void setFontName(boolean fontName)
          Font name setting will be applied.
 void setFontScript(boolean fontScript)
          Font script setting will be applied.
 void setFontSize(boolean fontSize)
          Font size setting will be applied.
 void setFontStrike(boolean fontStrike)
          Font stikeout setting will be applied.
 void setFontUnderline(boolean fontUnderline)
          Font underline setting will be applied.
 void setHorizontalAlignment(boolean horizontalAlignment)
          Horizontal alignment setting will be applied.
 void setIndent(boolean indent)
          Indent level setting will be applied.
 void setLeftBorder(boolean leftBorder)
          Left border settings will be applied.
 void setLocked(boolean locked)
          Locked setting will be applied.
 void setNumberFormat(boolean numberFormat)
          Number format setting will be applied.
 void setRightBorder(boolean rightBorder)
          Right border settings will be applied.
 void setRotation(boolean rotation)
          Rotation setting will be applied.
 void setShrinkToFit(boolean shrinkToFit)
          Shrink to fit setting will be applied.
 void setTextDirection(boolean textDirection)
          Text direction setting will be applied.
 void setTopBorder(boolean topBorder)
          Top border settings will be applied.
 void setVerticalAlignment(boolean verticalAlignment)
          Vertical alignment setting will be applied.
 void setWrapText(boolean wrapText)
          Wrap text setting will be applied.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StyleFlag

public StyleFlag()
Constructs an object. All flags are default false.

Method Detail

setAll

public void setAll(boolean all)
All properties will be applied.

Parameters:
all - True:all properties will be applied.

isAll

public boolean isAll()
Indicates whether all properties will be applied.

Returns:
Whether all properties will be applied.

isBorders

public boolean isBorders()
Indicates whether all borders settings will be applied.

Returns:
Whether all borders settings will be applied.

setBorders

public void setBorders(boolean borders)
All borders settings will be applied.

Parameters:
borders - True : all borders settings will be applied.

isLeftBorder

public boolean isLeftBorder()
Indicates whether left border settings will be applied.

Returns:
Returns whether left border settings will be applied.

setLeftBorder

public void setLeftBorder(boolean leftBorder)
Left border settings will be applied.

Parameters:
leftBorder - True : left border settings will be applied.

isRightBorder

public boolean isRightBorder()
Indicates whether right border settings will be applied.

Returns:
Returns whether right border settings will be applied.

setRightBorder

public void setRightBorder(boolean rightBorder)
Right border settings will be applied.

Parameters:
rightBorder - True: right border settings will be applied.

isBottomBorder

public boolean isBottomBorder()
Indicates whether bottom border settings will be applied.

Returns:
whether bottom border settings will be applied.

setBottomBorder

public void setBottomBorder(boolean bottomBorder)
Bottom border settings will be applied.

Parameters:
bottomBorder - True : bottom border settings will be applied.

isTopBorder

public boolean isTopBorder()
Indicates whether top border settings will be applied.

Returns:
Returns whether top border settings will be applied.

setTopBorder

public void setTopBorder(boolean topBorder)
Top border settings will be applied.

Parameters:
topBorder - True : top border settings will be applied.

isDiagonalDownBorder

public boolean isDiagonalDownBorder()
Indicates whether diagonal down border settings will be applied.

Returns:
Returns whether diagonal down border settings will be applied.

setDiagonalDownBorder

public void setDiagonalDownBorder(boolean diagonalDownBorder)
Diagonal down border settings will be applied.

Parameters:
diagonalDownBorder - True : diagonal down border settings will be applied.

isDiagonalUpBorder

public boolean isDiagonalUpBorder()
Indicates whether diagonal up border settings will be applied.

Returns:
Returns whether diagonal up border settings will be applied.

setDiagonalUpBorder

public void setDiagonalUpBorder(boolean diagonalUpBorder)
Diagonal up border settings will be applied.

Parameters:
diagonalUpBorder - True : diagonal up border settings will be applied.

isFont

public boolean isFont()
Indicates whether font settings will be applied.

Returns:
Returns Whether Font settings will be applied.

setFont

public void setFont(boolean font)
Font settings will be applied.

Parameters:
font - True : font settings will be applied.

isFontBold

public boolean isFontBold()
Indicates whether font bold setting will be applied.

Returns:
Returns whether font bold setting will be applied.

setFontBold

public void setFontBold(boolean fontBold)
Font bold setting will be applied.

Parameters:
fontBold - True:whether font bold setting will be applied.

isFontColor

public boolean isFontColor()
Inicates whether font color setting will be applied.

Returns:
Returns whether font color setting will be applied.

setFontColor

public void setFontColor(boolean fontColor)
Font color setting will be applied.

Parameters:
fontColor - True : font color setting will be applied.

isFontItalic

public boolean isFontItalic()
Indicates whether font bold setting will be applied.

Returns:
Returns whether font bold setting will be applied.

setFontItalic

public void setFontItalic(boolean fontItalic)
Font bold setting will be applied.

Parameters:
fontItalic - True : font bold setting will be applied.

isFontName

public boolean isFontName()
Indicates whether font name setting will be applied.

Returns:
Returns whether font name setting will be applied.

setFontName

public void setFontName(boolean fontName)
Font name setting will be applied.

Parameters:
fontName - True: font name setting will be applied.

isFontScript

public boolean isFontScript()
Indicates whether font script setting will be applied.

Returns:
Returns whether font script setting will be applied.

setFontScript

public void setFontScript(boolean fontScript)
Font script setting will be applied.

Parameters:
fontScript - True : whether font script setting will be applied.

isFontSize

public boolean isFontSize()
Indicates whether font size setting will be applied.

Returns:
Returns whether font size setting will be applied.

setFontSize

public void setFontSize(boolean fontSize)
Font size setting will be applied.

Parameters:
fontSize - True : font size setting will be applied.

isFontStrike

public boolean isFontStrike()
Indicates whether font stikeout setting will be applied.

Returns:
Returns whether font stikeout setting will be applied.

setFontStrike

public void setFontStrike(boolean fontStrike)
Font stikeout setting will be applied.

Parameters:
fontStrike - True : font stikeout setting will be applied.

isFontUnderline

public boolean isFontUnderline()
Indicates whether font underline setting will be applied.

Returns:
Returns whether font underline setting will be applied.

setFontUnderline

public void setFontUnderline(boolean fontUnderline)
Font underline setting will be applied.

Parameters:
fontUnderline - font underline setting will be applied.

isHorizontalAlignment

public boolean isHorizontalAlignment()
Indicates whether horizontal alignment setting will be applied.

Returns:
Returns whether horizontal alignment setting will be applied.

setHorizontalAlignment

public void setHorizontalAlignment(boolean horizontalAlignment)
Horizontal alignment setting will be applied.

Parameters:
horizontalAlignment - True : horizontal alignment setting will be applied.

isIndent

public boolean isIndent()
Indicates whehter Indent level setting will be applied.

Returns:
Returns whehter Indent level setting will be applied.

setIndent

public void setIndent(boolean indent)
Indent level setting will be applied.

Parameters:
indent - True: Indent level setting will be applied.

isLocked

public boolean isLocked()
Indicates whether locked setting will be applied.

Returns:
Returns whether locked setting will be applied.

setLocked

public void setLocked(boolean locked)
Locked setting will be applied.

Parameters:
locked - True : locked setting will be applied.

isNumberFormat

public boolean isNumberFormat()
Indicates whether number format setting will be applied.

Returns:
Returns whether number format setting will be applied.

setNumberFormat

public void setNumberFormat(boolean numberFormat)
Number format setting will be applied.

Parameters:
numberFormat - True number format setting will be applied.

isRotation

public boolean isRotation()
Indicates whether rotation setting will be applied.

Returns:
Returns whether rotation setting will be applied.

setRotation

public void setRotation(boolean rotation)
Rotation setting will be applied.

Parameters:
rotation - True: rotation setting will be applied.

isShrinkToFit

public boolean isShrinkToFit()
Indicates whether shrink to fit setting will be applied.

Returns:
Returns whether shrink to fit setting will be applied.

setShrinkToFit

public void setShrinkToFit(boolean shrinkToFit)
Shrink to fit setting will be applied.

Parameters:
shrinkToFit - True : shrink to fit setting will be applied.

isTextDirection

public boolean isTextDirection()
Indicates whether text direction setting will be applied.

Returns:
Returns whether text direction setting will be applied.

setTextDirection

public void setTextDirection(boolean textDirection)
Text direction setting will be applied.

Parameters:
textDirection - True : text direction setting will be applied.

isVerticalAlignment

public boolean isVerticalAlignment()
Indicates whether vertical alignment setting will be applied.

Returns:
Returns whether vertical alignment setting will be applied.

setVerticalAlignment

public void setVerticalAlignment(boolean verticalAlignment)
Vertical alignment setting will be applied.

Parameters:
verticalAlignment - True: vertical alignment setting will be applied.

isWrapText

public boolean isWrapText()
Indicates whether wrap text setting will be applied.

Returns:
Returns whether wrap text setting will be applied.

setWrapText

public void setWrapText(boolean wrapText)
Wrap text setting will be applied.

Parameters:
wrapText - True: wrap text setting will be applied.

isCellShading

public boolean isCellShading()
Indicates whether cell shading setting will be applied.

Returns:
Returns whether cell shading setting will be applied.

setCellShading

public void setCellShading(boolean cellShading)
Cell shading setting will be applied.

Parameters:
cellShading - True : cell shading setting will be applied.