Skip to content

Commit 6dee2d1

Browse files
authored
docs: Add sheet name length limitation notes (#679)
1 parent 19ff542 commit 6dee2d1

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

website/docs/read/sheet.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ public void readAllSheet() {
3434

3535
You can read a specific Sheet from an Excel file, supporting specification by Sheet index or name.
3636

37+
> **Note:** Sheet names are limited to 31 characters in Excel. When reading sheets by name, use the actual sheet name that appears in the Excel file.
38+
3739
### Code Example
3840

3941
```java

website/docs/write/sheet.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ title: 'Sheet'
77

88
This chapter introduces how to configure Sheets to write data.
99

10+
> **Note:** Excel limits sheet names to 31 characters. Longer names are automatically trimmed with a warning logged.
11+
1012
## Writing to the Same Sheet
1113

1214
### Overview

website/i18n/zh-cn/docusaurus-plugin-content-docs/current/read/sheet.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ public void readAllSheet() {
3434

3535
可以读取 Excel 文件具体的某个 Sheet,支持指定 Sheet 的索引或名称
3636

37+
> **注意:** Excel 中 Sheet 名称最多为 31 个字符。按名称读取时,请使用文件中实际显示的 Sheet 名称。
38+
3739
### 代码示例
3840

3941
```java

website/i18n/zh-cn/docusaurus-plugin-content-docs/current/write/sheet.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ title: 'Sheet 页'
77

88
本章节将介绍设置 Sheet 来写入数据的使用。
99

10+
> **注意:** Excel 中 Sheet 名称最多为 31 个字符。超过此长度的名称将被自动截断,并记录警告日志。
11+
1012
## 写入同一个 Sheet
1113

1214
### 概述

0 commit comments

Comments
 (0)