| Package | Description |
|---|---|
| org.ofdrw.layout.element.canvas |
| Modifier and Type | Method and Description |
|---|---|
Cell |
Cell.setBlob(Boolean blob)
Deprecated.
单词错误
getBold()
设置 是否加粗 |
Cell |
Cell.setBold(Boolean blob)
设置 是否加粗
|
Cell |
Cell.setColor(String color)
设置单元格颜色
|
Cell |
Cell.setDeleteLine(boolean deleteLine)
设置是否开启删除线
|
Cell |
Cell.setDrawer(Drawer drawer)
设置单元格内容绘制器
|
Cell |
Cell.setFont(String fontName,
Path fontPath)
设置单元格使用的外部字体
|
Cell |
Cell.setFontName(String fontName)
设置字体名称
|
Cell |
Cell.setFontSize(double fontSize)
设置字号
|
Cell |
Cell.setFontWeight(String fontWeight)
设置字体宽度
|
Cell |
Cell.setItalic(Boolean italic)
设置 是否斜体
|
Cell |
Cell.setLetterSpacing(Double letterSpacing)
设置 文字之间的间距
|
Cell |
Cell.setLineSpace(Double lineSpace)
设置 行间距
|
Cell |
Cell.setTextAlign(TextAlign textAlign)
设置 文字对齐方式
|
Cell |
Cell.setUnderline(boolean underline)
设置是否开启下划线
|
Cell |
Cell.setValue(Path imgPath)
设置图片
|
Cell |
Cell.setValue(Path imgPath,
double w,
double h)
设置图片
|
Cell |
Cell.setValue(String value)
设置单元格文字内容
|
Cell |
Cell.setVerticalAlign(VerticalAlign verticalAlign)
设置 文字垂直方向浮动方式
|
Copyright © 2026. All rights reserved.