|
|||||||||
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 | |
---|---|
boolean |
getallcaps()
gets allcaps property of text. |
boolean |
getallowcontextualalternates()
gets a value indicating whether to allow contextual alternates. |
boolean |
getbidi()
returns right-to-left property of text. |
boolean |
getbold()
returns bold style |
boolean |
getboldbidi()
returns bold property for right-to-left text. |
border |
getborder()
gets border. |
float |
getcharacterspacing()
returns space width between characters. |
boolean |
getdoublestrike()
returns double strikeout style. |
boolean |
getemboss()
gets emboss property of text. |
emphasis |
getemphasismark()
returns text emphasis mark |
boolean |
getengrave()
gets engrave property of text. |
java.lang.string |
getfontname()
returns font name |
java.lang.string |
getfontnameascii()
gets the font used for latin text (characters with character codes from 0 through 127). |
java.lang.string |
getfontnamebidi()
gets font name for right-to-left text. |
java.lang.string |
getfontnamefareast()
gets east asian font name. |
java.lang.string |
getfontnamenonfareast()
gets font used for characters with character codes from 128 through 255. |
float |
getfontsize()
returns font size |
float |
getfontsizebidi()
returns font size of the right-to-left text. |
fonttypehint |
getfonttypehint()
gets the font type hint. |
boolean |
gethidden()
gets hidden property of text. |
java.awt.color |
gethighlightcolor()
gets highlight color of text. |
boolean |
getitalic()
returns italic style |
boolean |
getitalicbidi()
returns italic property for right-to-left text. |
ligaturetype |
getligaturestype()
gets the ligatures type. |
short |
getlocaleidascii()
gets the ascii locale id . |
short |
getlocaleidfareast()
gets the far east locale id . |
numberformtype |
getnumberformtype()
gets the number form type. |
numberspacetype |
getnumberspacetype()
gets the number space type. |
float |
getposition()
returns text vertical position. |
stylisticsettype |
getstylisticsettype()
gets the stylistic set type. |
subsuperscript |
getsubsuperscript()
returns subscript/superscript mode |
java.awt.color |
gettextbackgroundcolor()
returns text background color |
java.awt.color |
gettextcolor()
returns text color |
short |
gettextscale()
gets 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 underline style |
boolean |
isoutline()
get outline character property. |
void |
isoutline(boolean value)
set outline character property. |
boolean |
isshadow()
gets shadow property of text. |
void |
isshadow(boolean value)
sets shadow property of text. |
boolean |
issmallcaps()
gets issmallcaps property of text. |
void |
issmallcaps(boolean value)
sets issmallcaps property of text. |
boolean |
isstrikeout()
returns strikeout style. |
void |
isstrikeout(boolean value)
sets strikeout style. |
void |
setallcaps(boolean value)
sets allcaps property of text. |
void |
setallowcontextualalternates(boolean value)
sets a value indicating whether to allow contextual alternates. |
void |
setbidi(boolean value)
sets right-to-left property of text. |
void |
setbold(boolean value)
sets bold style |
void |
setboldbidi(boolean value)
sets bold property for right-to-left text. |
void |
setcharacterspacing(float value)
sets space width between characters. |
void |
setdoublestrike(boolean value)
sets double strikeout style. |
void |
setemboss(boolean value)
sets emboss property of text. |
void |
setemphasismark(emphasis value)
sets text emphasis mark |
void |
setengrave(boolean value)
sets engrave property of text. |
void |
setfontname(java.lang.string value)
sets font name |
void |
setfontnameascii(java.lang.string value)
sets the font used for latin text (characters with character codes from 0 through 127). |
void |
setfontnamebidi(java.lang.string value)
sets font name for right-to-left text. |
void |
setfontnamefareast(java.lang.string value)
sets east asian font name. |
void |
setfontnamenonfareast(java.lang.string value)
sets font used for characters with character codes from 128 through 255. |
void |
setfontsize(float value)
sets font size |
void |
setfontsizebidi(float value)
sets font size of the right-to-left text. |
void |
setfonttypehint(fonttypehint value)
sets the font type hint. |
void |
sethidden(boolean value)
sets hidden property of text. |
void |
sethighlightcolor(java.awt.color value)
sets highlight color of text. |
void |
setitalic(boolean value)
sets italic style |
void |
setitalicbidi(boolean value)
sets italic property for right-to-left text. |
void |
setligaturestype(ligaturetype value)
sets the ligatures type. |
void |
setlocaleidascii(short value)
sets the ascii locale id . |
void |
setlocaleidfareast(short value)
sets the far east locale id . |
void |
setnumberformtype(numberformtype value)
sets the number form type. |
void |
setnumberspacetype(numberspacetype value)
sets the number space type. |
void |
setposition(float value)
sets text vertical position. |
void |
setstylisticsettype(stylisticsettype value)
sets the stylistic set type. |
void |
setsubsuperscript(subsuperscript value)
sets subscript/superscript mode |
void |
settextbackgroundcolor(java.awt.color value)
sets text background color |
void |
settextcolor(java.awt.color value)
sets text color |
void |
settextscale(short value)
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)
sets underline style |
methods inherited from class com.spire.doc.formatting.formatbase |
---|
clearformatting, haskey, isdefault |
methods inherited from class com.spire.doc.ownerholder |
---|
getdocument |
constructor detail |
---|
public characterformat(idocument doc)
doc
- idocumentmethod detail |
---|
public java.lang.string getfontname()
public void setfontname(java.lang.string value)
value
- font namepublic float getfontsize()
public void setfontsize(float value)
value
- font sizepublic boolean getbold()
public void setbold(boolean value)
value
- is bold or notpublic boolean getitalic()
public void setitalic(boolean value)
value
- is italic or notpublic boolean isstrikeout()
public void isstrikeout(boolean value)
value
- strikeout style.public boolean getdoublestrike()
public void setdoublestrike(boolean value)
value
- double strikeout style.public underlinestyle getunderlinestyle()
public void setunderlinestyle(underlinestyle value)
value
- underline stylepublic emphasis getemphasismark()
public void setemphasismark(emphasis value)
value
- emphasispublic java.awt.color gettextcolor()
public void settextcolor(java.awt.color value)
value
- text colorpublic short gettextscale()
public void settextscale(short value)
value
- textscale valuepublic java.awt.color gettextbackgroundcolor()
public void settextbackgroundcolor(java.awt.color value)
value
- background colorpublic subsuperscript getsubsuperscript()
public void setsubsuperscript(subsuperscript value)
value
- subsuperscriptpublic float getcharacterspacing()
public void setcharacterspacing(float value)
value
- characterspacingpublic float getposition()
public void setposition(float value)
value
- positionpublic boolean isshadow()
public void isshadow(boolean value)
value
- is shadow or notpublic boolean getemboss()
public void setemboss(boolean value)
value
- is emboss or notpublic boolean getengrave()
public void setengrave(boolean value)
value
- is engrave or notpublic boolean gethidden()
public void sethidden(boolean value)
value
- is hidden or notpublic boolean getallcaps()
public void setallcaps(boolean value)
value
- is allcaps or notpublic boolean issmallcaps()
public void issmallcaps(boolean value)
value
- is smallcaps or notpublic boolean getbidi()
public void setbidi(boolean value)
value
- is bidi or notpublic boolean getboldbidi()
public void setboldbidi(boolean value)
value
- is boldbidi or notpublic boolean getitalicbidi()
public void setitalicbidi(boolean value)
value
- is italicbidi or notpublic float getfontsizebidi()
public void setfontsizebidi(float value)
value
- font size bidipublic java.awt.color gethighlightcolor()
public void sethighlightcolor(java.awt.color value)
value
- higlight colorpublic border getborder()
public java.lang.string getfontnameascii()
public void setfontnameascii(java.lang.string value)
value
- font name asciipublic java.lang.string getfontnamebidi()
public void setfontnamebidi(java.lang.string value)
value
- font name bidipublic java.lang.string getfontnamefareast()
public void setfontnamefareast(java.lang.string value)
value
- font name fareastpublic java.lang.string getfontnamenonfareast()
public void setfontnamenonfareast(java.lang.string value)
value
- font name nonfareastpublic fonttypehint getfonttypehint()
public void setfonttypehint(fonttypehint value)
value
- fonttypehintpublic short getlocaleidascii()
public void setlocaleidascii(short value)
value
- localeidasciipublic short getlocaleidfareast()
public void setlocaleidfareast(short value)
value
- localeidfareastpublic boolean isoutline()
public void isoutline(boolean value)
value
- is outline or notpublic boolean getallowcontextualalternates()
public void setallowcontextualalternates(boolean value)
value
- allowcontextualalternatespublic ligaturetype getligaturestype()
public void setligaturestype(ligaturetype value)
value
- ligaturetypepublic numberformtype getnumberformtype()
public void setnumberformtype(numberformtype value)
value
- numberformtypepublic numberspacetype getnumberspacetype()
public void setnumberspacetype(numberspacetype value)
value
- numberspacetypepublic stylisticsettype getstylisticsettype()
public void setstylisticsettype(stylisticsettype value)
value
- stylisticsettype
|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |