poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 51332] HSSFPatriarch has problem when there are more than 1023 drawing objects
Date Wed, 22 Jun 2011 13:50:25 GMT

Yegor Kozlov <yegor@dinom.ru> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #6 from Yegor Kozlov <yegor@dinom.ru> 2011-06-22 13:50:25 UTC ---
Fixed in r1138465. 

I was able to reproduce the problem in Excel 2003, but not in Excel 2010 - the
latest version of Excel seems to be more forgiving to flaws in input files.

It is an old bug, I think we have since POI-3.0 or so. The problem was in how
POI generated internal IDs for the generated shapes. The bug can be reproduced
with any types of shapes, i.e. if you replace Picture with Textbox you will
have the same issue.

Each shape in Excel must have a unique low-level id. The problem is that Excel
uses several different sequences of IDs to handle drawing objects - some start
with 1024, others with 1, etc.  POI did not make any differences and used the
same id for all. It worked well for most cases except when the number of shapes
exceeded a certain limit.


Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org

View raw message