类 Wr
java.lang.Object
org.anyline.office.docx.entity.Wr
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明getDoc()org.dom4j.ElementgetSrc()getText()getTexts()getWts()清除背景色清除颜色清除样式setBackgroundColor(String color) 背景色setBold(boolean bold) 粗体字体颜色void字体字号setFontFamily(String font) 字体setFontSize(String size) 字号setItalic(boolean italic) voidsetSrc(org.dom4j.Element src) setStrike(boolean strike) 删除线setUnderline(boolean underline) 下划线setVerticalAlign(String align) 垂直对齐方式
-
构造器详细资料
-
Wr
-
-
方法详细资料
-
getDoc
-
setDoc
-
getSrc
public org.dom4j.Element getSrc() -
setSrc
public void setSrc(org.dom4j.Element src) -
getWts
-
getTexts
-
getText
-
setColor
字体颜色- 参数:
color- color- 返回:
- Wr
-
setFont
字体字号- 参数:
size- 字号eastAsia- 中文字体ascii- 英文字体hint- 默认字体- 返回:
- Wr
-
setFontSize
字号- 参数:
size- size- 返回:
- Wr
-
setFontFamily
字体- 参数:
font- font- 返回:
- Wr
-
setBackgroundColor
背景色- 参数:
color- color- 返回:
- Wr
-
setBold
粗体- 参数:
bold- 是否- 返回:
- Wr
-
setUnderline
下划线- 参数:
underline- 是否- 返回:
- Wr
-
setStrike
删除线- 参数:
strike- 是否- 返回:
- Wr
-
setVerticalAlign
垂直对齐方式- 参数:
align- 上标:superscript 下标:subscript- 返回:
- Wr
-
setItalic
-
removeStyle
清除样式- 返回:
- wr
-
removeBackgroundColor
清除背景色- 返回:
- wr
-
removeColor
清除颜色- 返回:
- wr
-
replace
-