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 data * * @param data List> or List * @param startRow Start row number */ void addContent(List data, int startRow); /** * WorkBook increase data * * @param data List> or List * @param sheetParam Write the sheet */ void addContent(List data, Sheet sheetParam); /** * WorkBook increase data * * @param data List> or List * @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 firstRow Index of first row * @param lastRow Index of last row (inclusive), must be equal to or larger than {@code firstRow} * @param firstCol Index of first column * @param lastCol Index of last column (inclusive), must be equal to or larger than {@code firstCol} */ void merge(int firstRow, int lastRow, int firstCol, int lastCol); /** * Close io */ void finish(); }