]> source.dussan.org Git - poi.git/commit
Adjust trimming sheetnames > 31 chars
authorDominik Stadler <centic@apache.org>
Sun, 7 Nov 2021 16:22:33 +0000 (16:22 +0000)
committerDominik Stadler <centic@apache.org>
Sun, 7 Nov 2021 16:22:33 +0000 (16:22 +0000)
commit9e867ad53910c9f45a5e64620259e24b3419e276
tree9ea8dd357cd151545f1864095ce0e630ff9981e2
parent62b628f6f3c83a1a7f4750771cbf22511ce588e5
Adjust trimming sheetnames > 31 chars

Define Constant MAX_SENSITIVE_SHEET_NAME_LEN = 31
Warn about trimmed sheet names
Implement sheetname trimming for HSSFWorkbook
Add use case tests

Closes #273

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894817 13f79535-47bb-0310-9956-ffa450edef68
poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFWorkbook.java
poi/src/main/java/org/apache/poi/hssf/usermodel/HSSFWorkbook.java
poi/src/main/java/org/apache/poi/ss/usermodel/Workbook.java
poi/src/test/java/org/apache/poi/ss/usermodel/BaseTestWorkbook.java