Browse Source

增加写回调可以自定义样式

pull/178/head v1.1
jipengfei.jpf 6 years ago
parent
commit
3ac54c3f14
  1. 15
      src/main/java/com/alibaba/excel/ExcelWriter.java
  2. 1
      src/main/java/com/alibaba/excel/write/ExcelBuilderImpl.java

15
src/main/java/com/alibaba/excel/ExcelWriter.java

@ -18,7 +18,7 @@ import java.util.List;
* 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
*/
@ -40,7 +40,6 @@ public class ExcelWriter {
/**
* @param generateParam
* @since easyexcel 0.0.1 Use {@link new ExcelWrite(int, int, int)
*/
@Deprecated
public ExcelWriter(GenerateParam generateParam) {
@ -83,7 +82,7 @@ public class ExcelWriter {
}
/**
* 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
@ -111,7 +110,7 @@ public class ExcelWriter {
/**
*
* 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
@ -122,7 +121,7 @@ public class ExcelWriter {
}
/**
* 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
@ -133,7 +132,7 @@ public class ExcelWriter {
}
/**
* 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
@ -145,7 +144,7 @@ public class ExcelWriter {
}
/**
* 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
@ -170,7 +169,7 @@ public class ExcelWriter {
}
/**
* 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

1
src/main/java/com/alibaba/excel/write/ExcelBuilderImpl.java

@ -25,7 +25,6 @@ import java.util.List;
/**
* @author jipengfei
* @date 2017/05/27
*/
public class ExcelBuilderImpl implements ExcelBuilder {

Loading…
Cancel
Save