Class DefaultTextRunProperties
java.lang.Object
com.independentsoft.office.drawing.DefaultTextRunProperties
The Class DefaultTextRunProperties.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the alternative language.intGets the baseline.Gets the bookmark link target.getCap()Gets the cap.Gets the complex script font.Gets the east asian font.Gets the effect dag.Gets the effect list.doubleGets the font size.Gets the gradient fill.Gets the group fill.Gets the highlight color.intGets the kerning.Gets the language.Gets the latin font.Gets the no fill.Gets the outline.Gets the pattern fill.Gets the picture fill.intGets the smart tag id.Gets the solid fill.intGets the spacing.Gets the strike.Gets the symbol font.Gets the underline.Gets the underline fill.Gets the underline stroke.booleanisBold()Checks if is bold.booleanisDirty()Checks if is dirty.booleanisItalic()Checks if is italic.booleanChecks if is kumimoji.booleanChecks if is no proofing.booleanChecks if is normalize heights.booleanChecks if is smart tag clean.booleanChecks if is spelling error.booleanChecks if is underline fill properties follow text.booleanChecks if is underline follows text.voidsetAlternativeLanguage(String alternativeLanguage)Sets the alternative language.voidsetBaseline(int baseline)Sets the baseline.voidsetBold(boolean bold)Sets the bold.voidsetBookmarkLinkTarget(String bookmarkLinkTarget)Sets the bookmark link target.voidsetCap(TextCapsType cap)Sets the cap.voidsetComplexScriptFont(ComplexScriptFont complexScriptFont)Sets the complex script font.voidsetDirty(boolean dirty)Sets the dirty.voidsetEastAsianFont(EastAsianFont eastAsianFont)Sets the east asian font.voidsetEffectDag(EffectDag effectDag)Sets the effect dag.voidsetEffectList(EffectList effectList)Sets the effect list.voidsetFontSize(double fontSize)Sets the font size.voidsetGradientFill(GradientFill gradientFill)Sets the gradient fill.voidsetGroupFill(GroupFill groupFill)Sets the group fill.voidsetHighlightColor(HighlightColor highlightColor)Sets the highlight color.voidsetItalic(boolean italic)Sets the italic.voidsetKerning(int kerning)Sets the kerning.voidsetKumimoji(boolean kumimoji)Sets the kumimoji.voidsetLanguage(String language)Sets the language.voidsetLatinFont(LatinFont latinFont)Sets the latin font.voidSets the no fill.voidsetNoProofing(boolean noProofing)Sets the no proofing.voidsetNormalizeHeights(boolean normalizeHeights)Sets the normalize heights.voidsetOutline(Outline outline)Sets the outline.voidsetPatternFill(PatternFill patternFill)Sets the pattern fill.voidsetPictureFill(PictureFill pictureFill)Sets the picture fill.voidsetSmartTagClean(boolean smartTagClean)Sets the smart tag clean.voidsetSmartTagID(int smartTagID)Sets the smart tag id.voidsetSolidFill(SolidFill solidFill)Sets the solid fill.voidsetSpacing(int spacing)Sets the spacing.voidsetSpellingError(boolean spellingError)Sets the spelling error.voidsetStrike(TextStrikeType strike)Sets the strike.voidsetSymbolFont(SymbolFont symbolFont)Sets the symbol font.voidsetUnderline(TextUnderlineType underline)Sets the underline.voidsetUnderlineFill(UnderlineFill underlineFill)Sets the underline fill.voidsetUnderlineFillPropertiesFollowText(boolean underlineFillPropertiesFollowText)Sets the underline fill properties follow text.voidsetUnderlineFollowsText(boolean underlineFollowsText)Sets the underline follows text.voidsetUnderlineStroke(UnderlineStroke underlineStroke)Sets the underline stroke.toString()
-
Constructor Details
-
DefaultTextRunProperties
public DefaultTextRunProperties()Instantiates a new default text run properties.
-
-
Method Details
-
clone
-
toString
-
getPictureFill
Gets the picture fill.- Returns:
- the picture fill
-
setPictureFill
Sets the picture fill.- Parameters:
pictureFill- the new picture fill
-
getComplexScriptFont
Gets the complex script font.- Returns:
- the complex script font
-
setComplexScriptFont
Sets the complex script font.- Parameters:
complexScriptFont- the new complex script font
-
getEastAsianFont
Gets the east asian font.- Returns:
- the east asian font
-
setEastAsianFont
Sets the east asian font.- Parameters:
eastAsianFont- the new east asian font
-
getEffectDag
Gets the effect dag.- Returns:
- the effect dag
-
setEffectDag
Sets the effect dag.- Parameters:
effectDag- the new effect dag
-
getEffectList
Gets the effect list.- Returns:
- the effect list
-
setEffectList
Sets the effect list.- Parameters:
effectList- the new effect list
-
getGradientFill
Gets the gradient fill.- Returns:
- the gradient fill
-
setGradientFill
Sets the gradient fill.- Parameters:
gradientFill- the new gradient fill
-
getGroupFill
Gets the group fill.- Returns:
- the group fill
-
setGroupFill
Sets the group fill.- Parameters:
groupFill- the new group fill
-
getHighlightColor
Gets the highlight color.- Returns:
- the highlight color
-
setHighlightColor
Sets the highlight color.- Parameters:
highlightColor- the new highlight color
-
getLatinFont
Gets the latin font.- Returns:
- the latin font
-
setLatinFont
Sets the latin font.- Parameters:
latinFont- the new latin font
-
getOutline
Gets the outline.- Returns:
- the outline
-
setOutline
Sets the outline.- Parameters:
outline- the new outline
-
getNoFill
Gets the no fill.- Returns:
- the no fill
-
setNoFill
Sets the no fill.- Parameters:
noFill- the new no fill
-
getPatternFill
Gets the pattern fill.- Returns:
- the pattern fill
-
setPatternFill
Sets the pattern fill.- Parameters:
patternFill- the new pattern fill
-
getSolidFill
Gets the solid fill.- Returns:
- the solid fill
-
setSolidFill
Sets the solid fill.- Parameters:
solidFill- the new solid fill
-
getSymbolFont
Gets the symbol font.- Returns:
- the symbol font
-
setSymbolFont
Sets the symbol font.- Parameters:
symbolFont- the new symbol font
-
getUnderlineFill
Gets the underline fill.- Returns:
- the underline fill
-
setUnderlineFill
Sets the underline fill.- Parameters:
underlineFill- the new underline fill
-
isUnderlineFillPropertiesFollowText
public boolean isUnderlineFillPropertiesFollowText()Checks if is underline fill properties follow text.- Returns:
- true, if is underline fill properties follow text
-
setUnderlineFillPropertiesFollowText
public void setUnderlineFillPropertiesFollowText(boolean underlineFillPropertiesFollowText)Sets the underline fill properties follow text.- Parameters:
underlineFillPropertiesFollowText- the new underline fill properties follow text
-
getUnderlineStroke
Gets the underline stroke.- Returns:
- the underline stroke
-
setUnderlineStroke
Sets the underline stroke.- Parameters:
underlineStroke- the new underline stroke
-
isUnderlineFollowsText
public boolean isUnderlineFollowsText()Checks if is underline follows text.- Returns:
- true, if is underline follows text
-
setUnderlineFollowsText
public void setUnderlineFollowsText(boolean underlineFollowsText)Sets the underline follows text.- Parameters:
underlineFollowsText- the new underline follows text
-
getAlternativeLanguage
Gets the alternative language.- Returns:
- the alternative language
-
setAlternativeLanguage
Sets the alternative language.- Parameters:
alternativeLanguage- the new alternative language
-
isBold
public boolean isBold()Checks if is bold.- Returns:
- true, if is bold
-
setBold
public void setBold(boolean bold)Sets the bold.- Parameters:
bold- the new bold
-
getBaseline
public int getBaseline()Gets the baseline.- Returns:
- the baseline
-
setBaseline
public void setBaseline(int baseline)Sets the baseline.- Parameters:
baseline- the new baseline
-
getBookmarkLinkTarget
Gets the bookmark link target.- Returns:
- the bookmark link target
-
setBookmarkLinkTarget
Sets the bookmark link target.- Parameters:
bookmarkLinkTarget- the new bookmark link target
-
getCap
Gets the cap.- Returns:
- the cap
-
setCap
Sets the cap.- Parameters:
cap- the new cap
-
isDirty
public boolean isDirty()Checks if is dirty.- Returns:
- true, if is dirty
-
setDirty
public void setDirty(boolean dirty)Sets the dirty.- Parameters:
dirty- the new dirty
-
isSpellingError
public boolean isSpellingError()Checks if is spelling error.- Returns:
- true, if is spelling error
-
setSpellingError
public void setSpellingError(boolean spellingError)Sets the spelling error.- Parameters:
spellingError- the new spelling error
-
isItalic
public boolean isItalic()Checks if is italic.- Returns:
- true, if is italic
-
setItalic
public void setItalic(boolean italic)Sets the italic.- Parameters:
italic- the new italic
-
getKerning
public int getKerning()Gets the kerning.- Returns:
- the kerning
-
setKerning
public void setKerning(int kerning)Sets the kerning.- Parameters:
kerning- the new kerning
-
isKumimoji
public boolean isKumimoji()Checks if is kumimoji.- Returns:
- true, if is kumimoji
-
setKumimoji
public void setKumimoji(boolean kumimoji)Sets the kumimoji.- Parameters:
kumimoji- the new kumimoji
-
getLanguage
Gets the language.- Returns:
- the language
-
setLanguage
Sets the language.- Parameters:
language- the new language
-
isNoProofing
public boolean isNoProofing()Checks if is no proofing.- Returns:
- true, if is no proofing
-
setNoProofing
public void setNoProofing(boolean noProofing)Sets the no proofing.- Parameters:
noProofing- the new no proofing
-
isNormalizeHeights
public boolean isNormalizeHeights()Checks if is normalize heights.- Returns:
- true, if is normalize heights
-
setNormalizeHeights
public void setNormalizeHeights(boolean normalizeHeights)Sets the normalize heights.- Parameters:
normalizeHeights- the new normalize heights
-
isSmartTagClean
public boolean isSmartTagClean()Checks if is smart tag clean.- Returns:
- true, if is smart tag clean
-
setSmartTagClean
public void setSmartTagClean(boolean smartTagClean)Sets the smart tag clean.- Parameters:
smartTagClean- the new smart tag clean
-
getSmartTagID
public int getSmartTagID()Gets the smart tag id.- Returns:
- the smart tag id
-
setSmartTagID
public void setSmartTagID(int smartTagID)Sets the smart tag id.- Parameters:
smartTagID- the new smart tag id
-
getSpacing
public int getSpacing()Gets the spacing.- Returns:
- the spacing
-
setSpacing
public void setSpacing(int spacing)Sets the spacing.- Parameters:
spacing- the new spacing
-
getStrike
Gets the strike.- Returns:
- the strike
-
setStrike
Sets the strike.- Parameters:
strike- the new strike
-
getFontSize
public double getFontSize()Gets the font size.- Returns:
- the font size
-
setFontSize
public void setFontSize(double fontSize)Sets the font size.- Parameters:
fontSize- the new font size
-
getUnderline
Gets the underline.- Returns:
- the underline
-
setUnderline
Sets the underline.- Parameters:
underline- the new underline
-