public class ExcelMerge extends BaseExcelWriteable
workbook
Constructor and Description |
---|
ExcelMerge() |
ExcelMerge(org.apache.poi.ss.usermodel.Workbook sourceWorkbook,
org.apache.poi.ss.usermodel.Sheet sourceSheet) |
Modifier and Type | Method and Description |
---|---|
org.apache.poi.ss.usermodel.Sheet |
getSourceSheet() |
org.apache.poi.ss.usermodel.Workbook |
getSourceWorkbook() |
ExcelMerge |
height(int height)
行高
|
ExcelMerge |
merge(org.apache.poi.ss.usermodel.Sheet sheet)
执行合并
|
ExcelMerge |
protect(String password)
保护表格
|
ExcelMerge |
skip()
跳过行
|
ExcelMerge |
skip(int skip)
跳过多行
|
ExcelMerge |
skipRows()
跳过一行合并sheet
|
ExcelMerge |
skipRows(int skip)
跳过多行合并sheet
|
ExcelMerge |
width(int width)
设置默认行宽
|
ExcelMerge |
width(int column,
int width)
设置行宽
|
close, getWorkbook, write, write, write, write, write, write, write
public ExcelMerge()
public ExcelMerge(org.apache.poi.ss.usermodel.Workbook sourceWorkbook, org.apache.poi.ss.usermodel.Sheet sourceSheet)
public ExcelMerge skip()
public ExcelMerge skip(int skip)
skip
- skippublic ExcelMerge skipRows()
public ExcelMerge skipRows(int skip)
skip
- skippublic ExcelMerge width(int column, int width)
column
- 列索引width
- 行宽public ExcelMerge width(int width)
width
- 行宽public ExcelMerge height(int height)
height
- 行高public ExcelMerge merge(org.apache.poi.ss.usermodel.Sheet sheet)
sheet
- 合并sheetpublic ExcelMerge protect(String password)
password
- passwordpublic org.apache.poi.ss.usermodel.Workbook getSourceWorkbook()
public org.apache.poi.ss.usermodel.Sheet getSourceSheet()
Copyright © 2024. All rights reserved.