Skip to content

Commit

Permalink
增加写回调可以自定义样式
Browse files Browse the repository at this point in the history
  • Loading branch information
dangdang01234 committed Nov 29, 2018
1 parent d2fd97d commit 3ac54c3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
15 changes: 7 additions & 8 deletions src/main/java/com/alibaba/excel/ExcelWriter.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* This object can perform the following two functions.
* <pre>
* 1. Create a new empty Excel workbook, write the data to the stream after the data is filled.
* 2. Edit existing Excel, write the original Excel file, or write it to other places.{@link ExcelWriter(InputStream , OutputStream , ExcelTypeEnum , boolean )}
* 2. Edit existing Excel, write the original Excel file, or write it to other places.}
* </pre>
* @author jipengfei
*/
Expand All @@ -40,7 +40,6 @@ public ExcelWriter(OutputStream outputStream, ExcelTypeEnum typeEnum) {

/**
* @param generateParam
* @since easyexcel 0.0.1 Use {@link new ExcelWrite(int, int, int)
*/
@Deprecated
public ExcelWriter(GenerateParam generateParam) {
Expand Down Expand Up @@ -83,7 +82,7 @@ public ExcelWriter(InputStream templateInputStream, OutputStream outputStream, E
}

/**
* Write data(List<? extends BaseRowModel>) to a sheet
* Write data to a sheet
* @param data Data to be written
* @param sheet Write to this sheet
* @return this current writer
Expand Down Expand Up @@ -111,7 +110,7 @@ public ExcelWriter write(List data) {

/**
*
* Write data(List<List<String>>) to a sheet
* Write data to a sheet
* @param data Data to be written
* @param sheet Write to this sheet
* @return this
Expand All @@ -122,7 +121,7 @@ public ExcelWriter write1(List<List<Object>> data, Sheet sheet) {
}

/**
* Write data(List<List<String>>) to a sheet
* Write data to a sheet
* @param data Data to be written
* @param sheet Write to this sheet
* @return this
Expand All @@ -133,7 +132,7 @@ public ExcelWriter write0(List<List<String>> data, Sheet sheet) {
}

/**
* Write data(List<? extends BaseRowModel>) to a sheet
* Write data to a sheet
* @param data Data to be written
* @param sheet Write to this sheet
* @param table Write to this table
Expand All @@ -145,7 +144,7 @@ public ExcelWriter write(List<? extends BaseRowModel> data, Sheet sheet, Table t
}

/**
* Write data(List<List<String>>) to a sheet
* Write data to a sheet
* @param data Data to be written
* @param sheet Write to this sheet
* @param table Write to this table
Expand All @@ -170,7 +169,7 @@ public ExcelWriter merge(int firstRow, int lastRow, int firstCol, int lastCol){
}

/**
* Write data(List<List<Object>>) to a sheet
* Write data to a sheet
* @param data Data to be written
* @param sheet Write to this sheet
* @param table Write to this table
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@

/**
* @author jipengfei
* @date 2017/05/27
*/
public class ExcelBuilderImpl implements ExcelBuilder {

Expand Down

0 comments on commit 3ac54c3

Please sign in to comment.