| 程序包 | 说明 |
|---|---|
| org.anyline.office.docx.entity |
| 限定符和类型 | 方法和说明 |
|---|---|
Wtc |
Wtc.addText(String text) |
Wtc |
Wtc.bottom() |
Wtc |
Wtr.getTc(int index) |
Wtc |
Wtable.getTc(int rows,
int cols) |
Wtc |
Wtr.getTcWithColspan(int index,
boolean prev)
获取单元格,计算合并列
|
Wtc |
Wtc.left() |
Wtc |
Wtc.reload() |
Wtc |
Wtc.removeBackgroundColor()
清除背景色
|
Wtc |
Wtable.removeBackgroundColor(int rows,
int cols)
清除背景色
|
Wtc |
Wtc.removeBorder() |
Wtc |
Wtable.removeBorder(int rows,
int cols)
清除单元格所有边框
|
Wtc |
Wtc.removeBottomBorder() |
Wtc |
Wtable.removeBottomBorder(int rows,
int cols)
清除单元格下边框
|
Wtc |
Wtc.removeColor()
清除颜色
|
Wtc |
Wtable.removeColor(int rows,
int cols)
清除颜色
|
Wtc |
Wtc.removeLeftBorder() |
Wtc |
Wtable.removeLeftBorder(int rows,
int cols)
清除单元格左边框
|
Wtc |
Wtc.removeRightBorder() |
Wtc |
Wtable.removeRightBorder(int rows,
int cols)
清除单元格右边框
|
Wtc |
Wtc.removeStyle()
清除样式
|
Wtc |
Wtable.removeStyle(int rows,
int cols)
清除样式
|
Wtc |
Wtc.removeTl2brBorder() |
Wtc |
Wtable.removeTl2brBorder(int rows,
int cols)
清除单元格左上到右下边框
|
Wtc |
Wtc.removeTopBorder() |
Wtc |
Wtable.removeTopBorder(int rows,
int cols)
清除单元格上边框
|
Wtc |
Wtc.removeTr2blBorder() |
Wtc |
Wtable.removeTr2blBorder(int rows,
int cols)
清除单元格右上到左下边框
|
Wtc |
Wtable.replace(int rows,
int cols,
String src,
String tar) |
Wtc |
Wtc.replace(String src,
String tar) |
Wtc |
Wtc.right() |
Wtc |
Wtable.setAlign(int rows,
int cols,
String align) |
Wtc |
Wtc.setAlign(String align) |
Wtc |
Wtable.setBackgroundColor(int rows,
int cols,
String color)
背景色
|
Wtc |
Wtc.setBackgroundColor(String color)
背景色
|
Wtc |
Wtc.setBold() |
Wtc |
Wtc.setBold(boolean bold)
粗体
|
Wtc |
Wtable.setBold(int rows,
int cols) |
Wtc |
Wtable.setBold(int rows,
int cols,
boolean bold)
粗体
|
Wtc |
Wtc.setBorder() |
Wtc |
Wtable.setBorder(int rows,
int cols)
设置单元格默认边框
|
Wtc |
Wtable.setBorder(int rows,
int cols,
int size,
String color,
String style) |
Wtc |
Wtc.setBorder(int size,
String color,
String style) |
Wtc |
Wtc.setBorder(String side,
String style) |
Wtc |
Wtc.setBottomBorder() |
Wtc |
Wtable.setBottomBorder(int rows,
int cols) |
Wtc |
Wtable.setBottomBorder(int rows,
int cols,
int size,
String color,
String style) |
Wtc |
Wtc.setBottomBorder(int size,
String color,
String style) |
Wtc |
Wtc.setBottomPadding(double padding) |
Wtc |
Wtc.setBottomPadding(int padding) |
Wtc |
Wtable.setBottomPadding(int rows,
int cols,
double padding) |
Wtc |
Wtable.setBottomPadding(int rows,
int cols,
int padding) |
Wtc |
Wtable.setBottomPadding(int rows,
int cols,
String padding) |
Wtc |
Wtc.setBottomPadding(String padding) |
Wtc |
Wtable.setColor(int rows,
int cols,
String color) |
Wtc |
Wtc.setColor(String color) |
Wtc |
Wtable.setFont(int rows,
int cols,
String size,
String eastAsia,
String ascii,
String hint) |
Wtc |
Wtc.setFont(String size,
String eastAsia,
String ascii,
String hint) |
Wtc |
Wtable.setFontFamily(int rows,
int cols,
String font) |
Wtc |
Wtc.setFontFamily(String font) |
Wtc |
Wtable.setFontSize(int rows,
int cols,
String size) |
Wtc |
Wtc.setFontSize(String size) |
Wtc |
Wtc.setHtml(org.dom4j.Element html) |
Wtc |
Wtc.setHtml(String html) |
Wtc |
Wtc.setItalic() |
Wtc |
Wtc.setItalic(boolean italic)
斜体
|
Wtc |
Wtable.setItalic(int rows,
int cols) |
Wtc |
Wtable.setItalic(int rows,
int cols,
boolean italic)
斜体
|
Wtc |
Wtc.setLeftBorder() |
Wtc |
Wtable.setLeftBorder(int rows,
int cols) |
Wtc |
Wtable.setLeftBorder(int rows,
int cols,
int size,
String color,
String style) |
Wtc |
Wtc.setLeftBorder(int size,
String color,
String style) |
Wtc |
Wtc.setLeftPadding(double padding) |
Wtc |
Wtc.setLeftPadding(int padding) |
Wtc |
Wtable.setLeftPadding(int rows,
int cols,
double padding) |
Wtc |
Wtable.setLeftPadding(int rows,
int cols,
int padding) |
Wtc |
Wtable.setLeftPadding(int rows,
int cols,
String padding) |
Wtc |
Wtc.setLeftPadding(String padding) |
Wtc |
Wtable.setPadding(int rows,
int cols,
String side,
double padding) |
Wtc |
Wtable.setPadding(int rows,
int cols,
String side,
int padding) |
Wtc |
Wtable.setPadding(int rows,
int cols,
String side,
String padding) |
Wtc |
Wtc.setPadding(String side,
double padding) |
Wtc |
Wtc.setPadding(String side,
int padding) |
Wtc |
Wtc.setPadding(String side,
String padding) |
Wtc |
Wtc.setRightBorder() |
Wtc |
Wtable.setRightBorder(int rows,
int cols) |
Wtc |
Wtable.setRightBorder(int rows,
int cols,
int size,
String color,
String style) |
Wtc |
Wtc.setRightBorder(int size,
String color,
String style) |
Wtc |
Wtc.setRightPadding(double padding) |
Wtc |
Wtc.setRightPadding(int padding) |
Wtc |
Wtable.setRightPadding(int rows,
int cols,
double padding) |
Wtc |
Wtable.setRightPadding(int rows,
int cols,
int padding) |
Wtc |
Wtable.setRightPadding(int rows,
int cols,
String padding) |
Wtc |
Wtc.setRightPadding(String padding) |
Wtc |
Wtc.setStrike() |
Wtc |
Wtc.setStrike(boolean strike)
删除线
|
Wtc |
Wtable.setStrike(int rows,
int cols) |
Wtc |
Wtable.setStrike(int rows,
int cols,
boolean strike)
删除线
|
Wtc |
Wtc.setText(String text) |
Wtc |
Wtc.setText(String text,
Map<String,String> styles) |
Wtc |
Wtc.setTl2brBorder() |
Wtc |
Wtable.setTl2brBorder(int rows,
int cols) |
Wtc |
Wtable.setTl2brBorder(int rows,
int cols,
int size,
String color,
String style) |
Wtc |
Wtable.setTl2brBorder(int rows,
int cols,
String top,
String bottom) |
Wtc |
Wtc.setTl2brBorder(int size,
String color,
String style) |
Wtc |
Wtc.setTl2brBorder(String top,
String bottom) |
Wtc |
Wtc.setTopBorder() |
Wtc |
Wtable.setTopBorder(int rows,
int cols) |
Wtc |
Wtable.setTopBorder(int rows,
int cols,
int size,
String color,
String style) |
Wtc |
Wtc.setTopBorder(int size,
String color,
String style) |
Wtc |
Wtc.setTopPadding(double padding) |
Wtc |
Wtc.setTopPadding(int padding) |
Wtc |
Wtable.setTopPadding(int rows,
int cols,
double padding) |
Wtc |
Wtable.setTopPadding(int rows,
int cols,
int padding) |
Wtc |
Wtable.setTopPadding(int rows,
int cols,
String padding) |
Wtc |
Wtc.setTopPadding(String padding) |
Wtc |
Wtc.setTr2blBorder() |
Wtc |
Wtable.setTr2blBorder(int rows,
int cols) |
Wtc |
Wtable.setTr2blBorder(int rows,
int cols,
int size,
String color,
String style) |
Wtc |
Wtable.setTr2blBorder(int rows,
int cols,
String top,
String bottom) |
Wtc |
Wtc.setTr2blBorder(int size,
String color,
String style) |
Wtc |
Wtc.setTr2blBorder(String top,
String bottom) |
Wtc |
Wtc.setUnderline() |
Wtc |
Wtc.setUnderline(boolean underline)
下划线
|
Wtc |
Wtable.setUnderline(int rows,
int cols) |
Wtc |
Wtable.setUnderline(int rows,
int cols,
boolean underline)
下划线
|
Wtc |
Wtable.setVerticalAlign(int rows,
int cols,
String align) |
Wtc |
Wtc.setVerticalAlign(String align) |
Wtc |
Wtc.setWidth(double width) |
Wtc |
Wtc.setWidth(int width) |
Wtc |
Wtable.setWidth(int rows,
int cols,
double width) |
Wtc |
Wtable.setWidth(int rows,
int cols,
int width) |
Wtc |
Wtable.setWidth(int rows,
int cols,
String width) |
Wtc |
Wtc.setWidth(String width) |
Wtc |
Wtc.top() |
| 限定符和类型 | 方法和说明 |
|---|---|
List<Wtc> |
Wtr.getTcs() |
List<Wtc> |
Wtr.getWtcs() |
Copyright © 2022. All rights reserved.