public class MyLongestMatchColumnWidthStyleStrategy
extends com.alibaba.excel.write.style.column.AbstractColumnWidthStyleStrategy
This is not very useful at the moment, for example if you have Numbers it will cause a newline.And the length is not exactly the same as the actual length.
| 构造器和说明 |
|---|
MyLongestMatchColumnWidthStyleStrategy() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
setColumnWidth(com.alibaba.excel.write.metadata.holder.WriteSheetHolder writeSheetHolder,
List<com.alibaba.excel.metadata.data.WriteCellData<?>> cellDataList,
org.apache.poi.ss.usermodel.Cell cell,
com.alibaba.excel.metadata.Head head,
Integer relativeRowIndex,
Boolean isHead) |
afterCellDispose, setColumnWidthclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprotected void setColumnWidth(com.alibaba.excel.write.metadata.holder.WriteSheetHolder writeSheetHolder,
List<com.alibaba.excel.metadata.data.WriteCellData<?>> cellDataList,
org.apache.poi.ss.usermodel.Cell cell,
com.alibaba.excel.metadata.Head head,
Integer relativeRowIndex,
Boolean isHead)
setColumnWidth 在类中 com.alibaba.excel.write.style.column.AbstractColumnWidthStyleStrategyCopyright © 2024. All rights reserved.