| 程序包 | 说明 |
|---|---|
| org.anyline.office.docx.entity |
| 限定符和类型 | 方法和说明 |
|---|---|
Wtable |
Wtable.addColumns(int qty) |
Wtable |
Wtable.addRows(int qty) |
Wtable |
Wtable.addRows(int index,
int qty) |
Wtable |
Wtr.getParent() |
Wtable |
WDocument.getTable(String bookmark) |
Wtable |
Wtable.insert(int index,
int qty) |
Wtable |
Wtable.insert(int index,
Wtr template,
int qty) |
Wtable |
Wtable.merge(int rows,
int cols,
int rowspan,
int colspan) |
Wtable |
Wtable.removeBorder() |
Wtable |
Wtable.removeBottomBorder()
清除表格下边框
|
Wtable |
Wtable.removeInsideHBorder()
清除表格水平边框
|
Wtable |
Wtable.removeInsideVBorder()
清除表格垂直边框
|
Wtable |
Wtable.removeLeftBorder()
清除表格左边框
|
Wtable |
Wtable.removeLeftBorder(int cols)
删除整列的左边框
|
Wtable |
Wtable.removeRightBorder()
清除表格右边框
|
Wtable |
Wtable.removeRightBorder(int cols)
删除整列的右边框
|
Wtable |
Wtable.removeTcBackgroundColor()
清除所有单元格背景色
|
Wtable |
Wtable.removeTcBorder()
清除所有单元格边框
|
Wtable |
Wtable.removeTcColor()
清除所有单元格颜色
|
Wtable |
Wtable.removeTl2brBorder() |
Wtable |
Wtable.removeTopBorder()
清除表格上边框
|
Wtable |
Wtable.removeTr2blBorder() |
Wtable |
Wtable.setHtml(int rows,
int cols,
String html) |
Wtable |
Wtable.setText(int rows,
int cols,
String text) |
Wtable |
Wtable.setText(int rows,
int cols,
String text,
Map<String,String> styles) |
Wtable |
Wtable.setWidth(double width) |
Wtable |
Wtable.setWidth(int width) |
Wtable |
Wtable.setWidth(int cols,
double width) |
Wtable |
Wtable.setWidth(int cols,
int width) |
Wtable |
Wtable.setWidth(int cols,
String width) |
Wtable |
Wtable.setWidth(String width) |
| 构造器和说明 |
|---|
Wtr(WDocument doc,
Wtable parent,
org.dom4j.Element src) |
Copyright © 2022. All rights reserved.