Closed GoogleCodeExporter closed 8 years ago
The google.png file is not present insite the java2word.jar file.
Are you sure this path is correct:
C:\workspace\DownloadManager\src\test\resources\google.png
For a simple test, download any image, save it to your desktop or somewhere,
put the full url to the local file from the root of your system.
I just downloaded the attached google.png to my desktop folder, in my unit
test, I added:
myDoc.addEle(Paragraph
.with("This document inside the paragraph, coming from '/src/test/resources/dtpick.gif': "
+ Image.from_FULL_LOCAL_PATHL(
"/home/leonardo/Desktop/google.png")
.getContent()));
and worked.
Leonardo
Original comment by leonardo...@gmail.com
on 25 Sep 2011 at 9:07
Original comment by leonardo...@gmail.com
on 2 Feb 2012 at 12:25
Original issue reported on code.google.com by
jianzhan...@gmail.com
on 23 Sep 2011 at 12:51Attachments: