poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 49765] addPictures() not displaying Image in XWPF
Date Tue, 05 Jul 2011 13:31:04 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=49765

--- Comment #19 from Alexander S. <hello@alpencolt.com> 2011-07-05 13:31:04 UTC ---
Method addPicture() in  XWPFRun in POI 3.8 beta doesn't work too. I call
    document.createParagraph().createRun().
        addPicture(new FileInputStream(imageFilePath),
                   Document.PICTURE_TYPE_JPEG, imageName, 328, 247);
but it damage *.docx file.

I create Docx file in POI:
XWPFDocument document = new XWPFDocument();
And save after adding image:
document.write(stream);

There is no exceptions or error messages on this operations.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


Mime
View raw message