Quantcast
Channel: NPOI
Viewing all articles
Browse latest Browse all 1621

Commented Issue: Image In Header crashes Excel 2013 [12831]

$
0
0
NPOI 2.0.6, XSSF namespace

- create a blank sheet in Excel (or enter a number)
- go to page setup, edit the header
- insert an image to the right side of the header
- save as xlsx
- open and save in npoi (do not change anything)
- open with Excel 2013 - it will crash on startup (it will not crash Office 2011 mac, however, the image will not be visible

The cause is an incorrectly written xl/drawings/vmldrawing.vml - replacing it with the original will bring the document back to life. I have not yet tracked down the root cause.
Comments: ** Comment from web user: PETER_DA **

Hey Tonyqus,
thanks for looking into it. Since my application should not be used to modify any drawings, my workaround is to not parse the XSSF VML document at all but just keep the stream in memory and save it back later.

I hope we will find a good solution for the future, though!

Thanks

Peter


Viewing all articles
Browse latest Browse all 1621

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>