hi to all,
i am developing a software which is generating some word documents..
i am able read text, images, math formulas from the word documents successfully in eclipse environment. (i have installed imagemagick and renamed imconvert)but when i created jar file an ran that jar file i got exception like given below
org.docx4j.openpackaging.exceptions.Docx4JException: Error checking image format
at org.docx4j.openpackaging.parts.WordprocessingML.BinaryPartAbstractIma
ge.ensureFormatIsSupported(BinaryPartAbstractImage.java:598)
at org.docx4j.openpackaging.parts.WordprocessingML.BinaryPartAbstractIma
ge.ensureFormatIsSupported(BinaryPartAbstractImage.java:500)
at org.docx4j.openpackaging.parts.WordprocessingML.BinaryPartAbstractIma
ge.createImagePart(BinaryPartAbstractImage.java:264)
at org.docx4j.openpackaging.parts.WordprocessingML.BinaryPartAbstractIma
ge.createImagePart(BinaryPartAbstractImage.java:172)
at cnp.TestForLineBr.retrieveParticularCell(TestForLineBr.java:148)
at cnp.TestForLineBr.main(TestForLineBr.java:191)
Caused by: java.io.FileNotFoundException: Image not found: file://C:/Users/USHAR
A~1.COD/AppData/Local/Temp/img1187846489083172396.img
at org.apache.xmlgraphics.image.loader.impl.AbstractImageSessionContext.
needSource(AbstractImageSessionContext.java:282)
at org.apache.xmlgraphics.image.loader.cache.ImageCache.needImageInfo(Im
ageCache.java:123)
at org.apache.xmlgraphics.image.loader.ImageManager.getImageInfo(ImageMa
nager.java:122)
at org.docx4j.openpackaging.parts.WordprocessingML.BinaryPartAbstractIma
ge.getImageInfo(BinaryPartAbstractImage.java:865)
at org.docx4j.openpackaging.parts.WordprocessingML.BinaryPartAbstractIma
ge.ensureFormatIsSupported(BinaryPartAbstractImage.java:590)
what is the problem ????
pls help me out of this problem, thanks in advance !
sorry about my English!!