Bug 65512 - org.apache.poi.ss.usermodel.Header and Footer should consider Excel limits of 255 Characters
Summary: org.apache.poi.ss.usermodel.Header and Footer should consider Excel limits of...
Status: NEW
Alias: None
Product: POI
Classification: Unclassified
Component: POI Overall (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-20 04:01 UTC by Axel Richter
Modified: 2021-10-09 16:19 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Axel Richter 2021-08-20 04:01:38 UTC
There is a limit in Excel for header and/or footer length. It is 255 characters. See https://support.microsoft.com/en-us/office/excel-specifications-and-limits-1672b34d-7043-467e-8e27-269d656771c3.

But apache poi does not considering that limit while using org.apache.poi.ss.usermodel.Header and Footer. So using apache poi it is possible crating corrupt Excel files when header and/or footer length is greater than 255 characters. That should be avoided.