[Enhancement] Writing to files should also support autoTrim
Open
discussion welcome
enhancement
- Dominant language
- Java
- Stars
- 6.2k
- Forks
- 532
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 42
Description
### Search before asking
- [x] I searched in the [issues](https://github.com/fast-excel/fastexcel/issues) and found nothing similar.
### Motivation
`autoTrim`, as a fundamental parameter, currently only supports processing sheet names and content during read operations.
**Should it also need to support write operations?**
### Test case
```java
FastExcel.write(TestFileUtil.createNewFile("issue/sheet-name.xlsx"), DemoData.class)
.excelType(ExcelTypeEnum.XLSX)
.autoTrim(Boolean.TRUE)
.sheet(" Sheet1 ")
.doWrite(demoData(5));
```
Not supported during writing
Contributor guide
Assessment
This issue has not been assessed yet.