apache / apache/fesod

[Enhancement] Writing to files should also support autoTrim

Open
#569 2 comments 0 reactions 0 assignees View on GitHub
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
Image

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.