https://bz.apache.org/bugzilla/show_bug.cgi?id=65572

--- Comment #3 from PJ Fanning <[email protected]> ---
the existing behaviour is clearly documented in the Javadocs.

```
     * Note that Excel allows sheet names up to 31 chars in length but other
applications
     * (such as OpenOffice) allow more. Some versions of Excel crash with names
longer than 31 chars,
     * others - truncate such names to 31 character.
     * <p>
     * POI's SpreadsheetAPI silently truncates the input argument to 31
characters.
     * Example:
     *
     * <pre>{@code
     * Sheet sheet = workbook.createSheet("My very long sheet name which is
longer than 31 chars"); // will be truncated
     * assert 31 == sheet.getSheetName().length();
     * assert "My very long sheet name which i" == sheet.getSheetName();
     * }</pre>
```

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to