You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
1.1 KiB

package com.alibaba.excel.write;
import com.alibaba.excel.metadata.Sheet;
import com.alibaba.excel.metadata.Table;
import java.util.List;
/**
* @author jipengfei
*/
public interface ExcelBuilder {
/**
* workBook increase value
*
* @param data java basic type or java model extend BaseModel
* @param startRow Start row number
*/
void addContent(List data, int startRow);
/**
* WorkBook increase value
*
* @param data java basic type or java model extend BaseModel
* @param sheetParam Write the sheet
*/
void addContent(List data, Sheet sheetParam);
/**
* WorkBook increase value
*
* @param data java basic type or java model extend BaseModel
* @param sheetParam Write the sheet
* @param table Write the table
*/
void addContent(List data, Sheet sheetParam, Table table);
/**
* Creates new cell range. Indexes are zero-based.
*
* @param strategies the merge strategy
*/
void merge(List<MergeStrategy> strategies);
/**
* Close io
*/
void finish();
}