com.stimulsoft.base.drawing
Class StiHtmlTagsState

java.lang.Object
  extended by com.stimulsoft.base.drawing.StiHtmlTagsState
All Implemented Interfaces:
java.lang.Cloneable

public class StiHtmlTagsState
extends java.lang.Object
implements java.lang.Cloneable

Copyright Stimulsoft


Field Summary
 StiColor backColor
           
 boolean backcolorChanged
           
 boolean bold
           
 boolean colorChanged
           
 StiColor fontColor
           
 java.lang.String fontName
           
 float fontSize
           
 java.lang.String htmlStyle
           
 int indent
           
 boolean italic
           
 double letterSpacing
           
 double lineHeight
           
 boolean strikeout
           
 boolean subsript
           
 boolean superscript
           
 StiHtmlTag tag
           
 StiTextHorAlignment textAlign
           
 boolean underline
           
 double wordSpacing
           
 
Constructor Summary
StiHtmlTagsState()
           
StiHtmlTagsState(boolean bold, boolean italic, boolean underline, boolean strikeout, float fontSize, java.lang.String fontName, StiColor fontColor, StiColor backColor, boolean superscript, boolean subscript, double letterSpacing, double wordSpacing, double lineHeight, StiTextHorAlignment textAlign)
           
StiHtmlTagsState(StiHtmlTagsState state)
           
 
Method Summary
 StiHtmlTagsState clone()
           
 StiColor getBackColor()
           
 StiColor getFontColor()
           
 java.lang.String getFontName()
           
 float getFontSize()
           
 int getIndent()
           
 double getLetterSpacing()
           
 double getLineHeight()
           
 StiHtmlTag getTag()
           
 StiTextHorAlignment getTextAlign()
           
 double getWordSpacing()
           
 boolean isBackcolorChanged()
           
 boolean isBold()
           
 boolean isColorChanged()
           
 boolean isItalic()
           
 boolean isStrikeout()
           
 boolean isSubsript()
           
 boolean isSuperscript()
           
 boolean isUnderline()
           
 void setBackColor(StiColor backColor)
           
 void setBackcolorChanged(boolean backcolorChanged)
           
 void setBold(boolean bold)
           
 void setColorChanged(boolean colorChanged)
           
 void setFontColor(StiColor fontColor)
           
 void setFontName(java.lang.String fontName)
           
 void setFontSize(float fontSize)
           
 void setIndent(int indent)
           
 void setItalic(boolean italic)
           
 void setLetterSpacing(double letterSpacing)
           
 void setLineHeight(double lineHeight)
           
 void setStrikeout(boolean strikeout)
           
 void setSubsript(boolean subsript)
           
 void setSuperscript(boolean superscript)
           
 void setTag(StiHtmlTag tag)
           
 void setTextAlign(StiTextHorAlignment textAlign)
           
 void setUnderline(boolean underline)
           
 void setWordSpacing(double wordSpacing)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bold

public boolean bold

italic

public boolean italic

underline

public boolean underline

strikeout

public boolean strikeout

fontSize

public float fontSize

fontName

public java.lang.String fontName

fontColor

public StiColor fontColor

backColor

public StiColor backColor

subsript

public boolean subsript

superscript

public boolean superscript

letterSpacing

public double letterSpacing

wordSpacing

public double wordSpacing

lineHeight

public double lineHeight

textAlign

public StiTextHorAlignment textAlign

colorChanged

public boolean colorChanged

backcolorChanged

public boolean backcolorChanged

tag

public StiHtmlTag tag

indent

public int indent

htmlStyle

public java.lang.String htmlStyle
Constructor Detail

StiHtmlTagsState

public StiHtmlTagsState()

StiHtmlTagsState

public StiHtmlTagsState(boolean bold,
                        boolean italic,
                        boolean underline,
                        boolean strikeout,
                        float fontSize,
                        java.lang.String fontName,
                        StiColor fontColor,
                        StiColor backColor,
                        boolean superscript,
                        boolean subscript,
                        double letterSpacing,
                        double wordSpacing,
                        double lineHeight,
                        StiTextHorAlignment textAlign)

StiHtmlTagsState

public StiHtmlTagsState(StiHtmlTagsState state)
Method Detail

clone

public StiHtmlTagsState clone()
Overrides:
clone in class java.lang.Object

isBold

public boolean isBold()
Returns:
the bold

setBold

public void setBold(boolean bold)
Parameters:
bold - the bold to set

isItalic

public boolean isItalic()
Returns:
the italic

setItalic

public void setItalic(boolean italic)
Parameters:
italic - the italic to set

isUnderline

public boolean isUnderline()
Returns:
the underline

setUnderline

public void setUnderline(boolean underline)
Parameters:
underline - the underline to set

isStrikeout

public boolean isStrikeout()
Returns:
the strikeout

setStrikeout

public void setStrikeout(boolean strikeout)
Parameters:
strikeout - the strikeout to set

getFontSize

public float getFontSize()
Returns:
the fontSize

setFontSize

public void setFontSize(float fontSize)
Parameters:
fontSize - the fontSize to set

getFontName

public java.lang.String getFontName()
Returns:
the fontName

setFontName

public void setFontName(java.lang.String fontName)
Parameters:
fontName - the fontName to set

getFontColor

public StiColor getFontColor()
Returns:
the fontColor

setFontColor

public void setFontColor(StiColor fontColor)
Parameters:
fontColor - the fontColor to set

getBackColor

public StiColor getBackColor()
Returns:
the backColor

setBackColor

public void setBackColor(StiColor backColor)
Parameters:
backColor - the backColor to set

isSubsript

public boolean isSubsript()
Returns:
the subsript

setSubsript

public void setSubsript(boolean subsript)
Parameters:
subsript - the subsript to set

isSuperscript

public boolean isSuperscript()
Returns:
the superscript

setSuperscript

public void setSuperscript(boolean superscript)
Parameters:
superscript - the superscript to set

getLetterSpacing

public double getLetterSpacing()
Returns:
the letterSpacing

setLetterSpacing

public void setLetterSpacing(double letterSpacing)
Parameters:
letterSpacing - the letterSpacing to set

getWordSpacing

public double getWordSpacing()
Returns:
the wordSpacing

setWordSpacing

public void setWordSpacing(double wordSpacing)
Parameters:
wordSpacing - the wordSpacing to set

getLineHeight

public double getLineHeight()
Returns:
the lineHeight

setLineHeight

public void setLineHeight(double lineHeight)
Parameters:
lineHeight - the lineHeight to set

getTextAlign

public StiTextHorAlignment getTextAlign()
Returns:
the textAlign

setTextAlign

public void setTextAlign(StiTextHorAlignment textAlign)
Parameters:
textAlign - the textAlign to set

isColorChanged

public boolean isColorChanged()
Returns:
the colorChanged

setColorChanged

public void setColorChanged(boolean colorChanged)
Parameters:
colorChanged - the colorChanged to set

isBackcolorChanged

public boolean isBackcolorChanged()
Returns:
the backcolorChanged

setBackcolorChanged

public void setBackcolorChanged(boolean backcolorChanged)
Parameters:
backcolorChanged - the backcolorChanged to set

getTag

public StiHtmlTag getTag()
Returns:
the tag

setTag

public void setTag(StiHtmlTag tag)
Parameters:
tag - the tag to set

getIndent

public int getIndent()
Returns:
the indent

setIndent

public void setIndent(int indent)
Parameters:
indent - the indent to set


Copyright © 2018 Stimulsoft. All Rights Reserved.