You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2013/10/25 17:27:35 UTC

[Bug 55705] Inserting picture into sheet with chart corrupts workbook

https://issues.apache.org/bugzilla/show_bug.cgi?id=55705

Nick Burch <ap...@gagravarr.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX
                 OS|                            |All

--- Comment #1 from Nick Burch <ap...@gagravarr.org> ---
From
http://poi.apache.org/apidocs/org/apache/poi/ss/usermodel/Sheet.html#createDrawingPatriarch%28%29

> Note that this will normally have the effect of removing any existing drawings on this sheet.

So, as documented, if you call createDrawingPatriarch on a sheet with existing
drawings/charts, things will break

You'll either need to ensure you only add drawings to sheets without any, or
volunteer to help enhance HSSF to support fetching the existing Drawing to
modify. The latter would be great for everyone, but sadly in many years no-one
has thus far volunteered to help write it / pay someone else to write it :/

-- 
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