Re: Adding linked image to XLSX corrupts previous drawings

2012-01-06 Thread Jacob Danner
Bump? Hey I saw you filed a bug (XMLBEANS-475) regarding this issue but didn't post further information to the list. I've got to be honest, from the text, I'm not really sure how this is an xmlbeans issue. Can you explain further? Is xmlbeans corrupting something? It sounds like POI is placing an e

Re: Adding linked image to XLSX corrupts previous drawings

2012-01-03 Thread Jacob Danner
Hey Michael, I don't have the knowledge of POI to really understand whats going on here but I'll give it a shot. >         patriarch.createLinkedPicture(anchor, uri.toString()); What is uri.toString here? is uri and xmlbeans type? if so, what is it a type of? What were you expecting the value to b

Adding linked image to XLSX corrupts previous drawings

2012-01-03 Thread Michael Benoit
When adding a linked image to an XLSX using POI that already has at least one drawing, the resulting file is corrupted but can be recovered. However the original drawings are gone. Here is a code fragment: Workbook workbook = getWorkbook(doc); Sheet sheet = workbook.getSheetAt(0);