poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Burch <apa...@gagravarr.org>
Subject Re: org.apache.poi.POIXMLException: org.apache.poi.openxml4j.exceptions.InvalidFormatException: Package should contain a content type part [M1.13]
Date Fri, 02 Nov 2012 17:03:48 GMT
On Fri, 2 Nov 2012, ven12344 wrote:
> When I am trying to convert the word document to pdf it is giving me this
> exception.
>
> org.apache.poi.POIXMLException:
> org.apache.poi.openxml4j.exceptions.InvalidFormatException: Package should
> contain a content type part [M1.13]

This indicates it's not a well formed file. Can Word open it without 
error? If you open it and word and save-as, does that fix it?

Nick

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


Mime
View raw message