public final class TableTools extends Object
| 构造器和说明 |
|---|
TableTools() |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
borderTable(org.apache.poi.xwpf.usermodel.XWPFTable table,
int size) |
static void |
initBasicTable(org.apache.poi.xwpf.usermodel.XWPFTable table,
int col,
float width,
TableStyle style) |
static boolean |
isInsideTable(org.apache.poi.xwpf.usermodel.XWPFRun run) |
static void |
mergeCellsHorizonal(org.apache.poi.xwpf.usermodel.XWPFTable table,
int row,
int fromCol,
int toCol) |
static void |
mergeCellsVertically(org.apache.poi.xwpf.usermodel.XWPFTable table,
int col,
int fromRow,
int toRow) |
static void |
styleTable(org.apache.poi.xwpf.usermodel.XWPFTable table,
TableStyle style) |
static void |
widthTable(org.apache.poi.xwpf.usermodel.XWPFTable table,
float[] colWidths) |
static void |
widthTable(org.apache.poi.xwpf.usermodel.XWPFTable table,
float widthCM,
int cols) |
public static void mergeCellsHorizonal(org.apache.poi.xwpf.usermodel.XWPFTable table,
int row,
int fromCol,
int toCol)
public static void mergeCellsVertically(org.apache.poi.xwpf.usermodel.XWPFTable table,
int col,
int fromRow,
int toRow)
public static void widthTable(org.apache.poi.xwpf.usermodel.XWPFTable table,
float[] colWidths)
public static void widthTable(org.apache.poi.xwpf.usermodel.XWPFTable table,
float widthCM,
int cols)
public static void borderTable(org.apache.poi.xwpf.usermodel.XWPFTable table,
int size)
public static void initBasicTable(org.apache.poi.xwpf.usermodel.XWPFTable table,
int col,
float width,
TableStyle style)
public static boolean isInsideTable(org.apache.poi.xwpf.usermodel.XWPFRun run)
public static void styleTable(org.apache.poi.xwpf.usermodel.XWPFTable table,
TableStyle style)
Copyright © 2020. All rights reserved.