|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.spire.doc.OwnerHolder
com.spire.doc.documents.xml.DocumentSerializable
com.spire.doc.formatting.FormatBase
com.spire.doc.formatting.AttrCollection
com.spire.doc.formatting.WordAttrCollection
com.spire.doc.formatting.CharacterFormat
public class CharacterFormat
Constructor Summary | |
---|---|
CharacterFormat(IDocument doc)
Default constructor |
Method Summary | |
---|---|
void |
clearBackground()
Clear the text background. |
void |
clearFormatting()
Clear the text background. |
boolean |
getAllCaps()
Gets or sets AllCaps property of text. |
boolean |
getAllowContextualAlternates()
Gets or sets a value indicating whether to allow contextual alternates. |
boolean |
getBidi()
Returns or sets right-to-left property of text. |
boolean |
getBold()
Returns or sets bold style |
boolean |
getBoldBidi()
Returns or sets bold property for right-to-left text. |
Border |
getBorder()
Gets border. |
float |
getCharacterSpacing()
Returns or sets space width between characters. |
boolean |
getDoubleStrike()
Returns or sets double strikeout style. |
boolean |
getEmboss()
Gets or sets emboss property of text. |
Emphasis |
getEmphasisMark()
Returns or sets text emphasis mark |
boolean |
getEngrave()
Gets or sets Engrave property of text. |
com.spire.ms.System.Drawing.Font |
getFont()
Gets or sets font. |
java.lang.String |
getFontName()
Returns or sets font name |
java.lang.String |
getFontNameAscii()
Gets or setsthe font used for Latin text (characters with character codes from 0 through 127). |
java.lang.String |
getFontNameBidi()
Gets or sets font name for right-to-left text. |
java.lang.String |
getFontNameFarEast()
Gets or sets East Asian font name. |
java.lang.String |
getFontNameNonFarEast()
Gets or sets font used for characters with character codes from 128 through 255. |
float |
getFontSize()
Returns or sets font size |
float |
getFontSizeBidi()
Returns or sets font size of the right-to-left text. |
FontTypeHint |
getFontTypeHint()
Gets or sets the font type hint. |
boolean |
getHidden()
Gets or sets Hidden property of text. |
java.awt.Color |
getHighlightColor()
Gets or sets highlight color of text. |
boolean |
getItalic()
Returns or sets italic style |
boolean |
getItalicBidi()
Returns or sets italic property for right-to-left text. |
LigatureType |
getLigaturesType()
Gets or sets the ligatures type. |
short |
getLocaleIdASCII()
Gets or sets the ASCII locale id . |
short |
getLocaleIdFarEast()
Gets or sets the far east locale id . |
NumberFormType |
getNumberFormType()
Gets or sets the number form type. |
NumberSpaceType |
getNumberSpaceType()
Gets or sets the number space type. |
float |
getPosition()
Returns or sets text vertical position. |
StylisticSetType |
getStylisticSetType()
Gets or sets the stylistic set type. |
SubSuperScript |
getSubSuperScript()
Returns or setssubscript/superscript mode |
java.awt.Color |
getTextBackgroundColor()
Gets or sets text background color |
java.awt.Color |
getTextColor()
Returns or sets text color |
TextEffectFormat |
getTextEffectFormat()
Returns text effect format |
short |
getTextScale()
Gets or sets a value specifies that the percentage by which the contents of a run shall be expanded or compressed with respect to its normal(100%) character width,with a minimun width of 1% and maximum width of 600%. |
UnderlineStyle |
getUnderlineStyle()
Returns or sets underline style |
boolean |
isOutLine()
Get/set outline character property. |
void |
isOutLine(boolean value)
Get/set outline character property. |
boolean |
isShadow()
Gets or sets shadow property of text. |
void |
isShadow(boolean value)
Gets or sets shadow property of text. |
boolean |
isSmallCaps()
Gets or sets IsSmallCaps property of text. |
void |
isSmallCaps(boolean value)
Gets or sets IsSmallCaps property of text. |
boolean |
isStrikeout()
Returns or sets strikeout style. |
void |
isStrikeout(boolean value)
Returns or sets strikeout style. |
void |
setAllCaps(boolean value)
Gets or sets AllCaps property of text. |
void |
setAllowContextualAlternates(boolean value)
Gets or sets a value indicating whether to allow contextual alternates. |
void |
setBidi(boolean value)
Returns or sets right-to-left property of text. |
void |
setBold(boolean value)
Returns or sets bold style |
void |
setBoldBidi(boolean value)
Returns or sets bold property for right-to-left text. |
void |
setCharacterSpacing(float value)
Returns or sets space width between characters. |
void |
setDoubleStrike(boolean value)
Returns or sets double strikeout style. |
void |
setEmboss(boolean value)
Gets or sets emboss property of text. |
void |
setEmphasisMark(Emphasis value)
Returns or sets text emphasis mark |
void |
setEngrave(boolean value)
Gets or sets Engrave property of text. |
void |
setFont(com.spire.ms.System.Drawing.Font value)
Gets or sets font. |
void |
setFontName(java.lang.String value)
Returns or sets font name |
void |
setFontNameAscii(java.lang.String value)
Gets or setsthe font used for Latin text (characters with character codes from 0 through 127). |
void |
setFontNameBidi(java.lang.String value)
Gets or sets font name for right-to-left text. |
void |
setFontNameFarEast(java.lang.String value)
Gets or sets East Asian font name. |
void |
setFontNameNonFarEast(java.lang.String value)
Gets or sets font used for characters with character codes from 128 through 255. |
void |
setFontSize(float value)
Returns or sets font size |
void |
setFontSizeBidi(float value)
Returns or sets font size of the right-to-left text. |
void |
setFontTypeHint(FontTypeHint value)
Gets or sets the font type hint. |
void |
setHidden(boolean value)
Gets or sets Hidden property of text. |
void |
setHighlightColor(java.awt.Color value)
Gets or sets highlight color of text. |
void |
setItalic(boolean value)
Returns or sets italic style |
void |
setItalicBidi(boolean value)
Returns or sets italic property for right-to-left text. |
void |
setLigaturesType(LigatureType value)
Gets or sets the ligatures type. |
void |
setLocaleIdASCII(short value)
Gets or sets the ASCII locale id . |
void |
setLocaleIdFarEast(short value)
Gets or sets the far east locale id . |
void |
setNumberFormType(NumberFormType value)
Gets or sets the number form type. |
void |
setNumberSpaceType(NumberSpaceType value)
Gets or sets the number space type. |
void |
setPosition(float value)
Returns or sets text vertical position. |
void |
setStylisticSetType(StylisticSetType value)
Gets or sets the stylistic set type. |
void |
setSubSuperScript(SubSuperScript value)
Returns or setssubscript/superscript mode |
void |
setTextBackgroundColor(java.awt.Color value)
Gets or sets text background color |
void |
setTextColor(java.awt.Color value)
Returns or sets text color |
void |
setTextScale(short value)
Gets or sets a value specifies that the percentage by which the contents of a run shall be expanded or compressed with respect to its normal(100%) character width,with a minimun width of 1% and maximum width of 600%. |
void |
setUnderlineStyle(UnderlineStyle value)
Returns or sets underline style |
Methods inherited from class com.spire.doc.formatting.FormatBase |
---|
hasKey, isDefault |
Methods inherited from class com.spire.doc.OwnerHolder |
---|
getDocument |
Constructor Detail |
---|
public CharacterFormat(IDocument doc)
Method Detail |
---|
public com.spire.ms.System.Drawing.Font getFont()
public void setFont(com.spire.ms.System.Drawing.Font value)
public java.lang.String getFontName()
public void setFontName(java.lang.String value)
public float getFontSize()
public void setFontSize(float value)
public boolean getBold()
public void setBold(boolean value)
public boolean getItalic()
public void setItalic(boolean value)
public boolean isStrikeout()
public void isStrikeout(boolean value)
public boolean getDoubleStrike()
public void setDoubleStrike(boolean value)
public UnderlineStyle getUnderlineStyle()
public void setUnderlineStyle(UnderlineStyle value)
public Emphasis getEmphasisMark()
public void setEmphasisMark(Emphasis value)
public java.awt.Color getTextColor()
public void setTextColor(java.awt.Color value)
public short getTextScale()
public void setTextScale(short value)
public java.awt.Color getTextBackgroundColor()
public void setTextBackgroundColor(java.awt.Color value)
public SubSuperScript getSubSuperScript()
public void setSubSuperScript(SubSuperScript value)
public float getCharacterSpacing()
public void setCharacterSpacing(float value)
public float getPosition()
public void setPosition(float value)
public boolean isShadow()
public void isShadow(boolean value)
public boolean getEmboss()
public void setEmboss(boolean value)
public boolean getEngrave()
public void setEngrave(boolean value)
public boolean getHidden()
public void setHidden(boolean value)
public boolean getAllCaps()
public void setAllCaps(boolean value)
public boolean isSmallCaps()
public void isSmallCaps(boolean value)
public boolean getBidi()
public void setBidi(boolean value)
public boolean getBoldBidi()
public void setBoldBidi(boolean value)
public boolean getItalicBidi()
public void setItalicBidi(boolean value)
public float getFontSizeBidi()
public void setFontSizeBidi(float value)
public java.awt.Color getHighlightColor()
public void setHighlightColor(java.awt.Color value)
public Border getBorder()
public java.lang.String getFontNameAscii()
public void setFontNameAscii(java.lang.String value)
public java.lang.String getFontNameBidi()
public void setFontNameBidi(java.lang.String value)
public java.lang.String getFontNameFarEast()
public void setFontNameFarEast(java.lang.String value)
public java.lang.String getFontNameNonFarEast()
public void setFontNameNonFarEast(java.lang.String value)
public FontTypeHint getFontTypeHint()
public void setFontTypeHint(FontTypeHint value)
public short getLocaleIdASCII()
public void setLocaleIdASCII(short value)
public short getLocaleIdFarEast()
public void setLocaleIdFarEast(short value)
public boolean isOutLine()
public void isOutLine(boolean value)
public TextEffectFormat getTextEffectFormat()
public boolean getAllowContextualAlternates()
public void setAllowContextualAlternates(boolean value)
public LigatureType getLigaturesType()
public void setLigaturesType(LigatureType value)
public NumberFormType getNumberFormType()
public void setNumberFormType(NumberFormType value)
public NumberSpaceType getNumberSpaceType()
public void setNumberSpaceType(NumberSpaceType value)
public StylisticSetType getStylisticSetType()
public void setStylisticSetType(StylisticSetType value)
public void clearBackground()
clearBackground
in class FormatBase
public void clearFormatting()
clearFormatting
in class FormatBase
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |