https://issues.apache.org/bugzilla/show_bug.cgi?id=49765

Matti Bickel <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

--- Comment #27 from Matti Bickel <[email protected]> ---
Can't see why this issue was closed NEEDINFO?

I tested with the last 3.9 release and the issue persists using
XWPFRun.addPicture()

The image data is written quite fine, BUT then the <pic:pic /> element is not
actually filled with content, corrupting the written file.

Using the code from comment 26 I was able to insert the picture just fine.
AFAIK all that's different is that the whole block is passed to
XmlFactory.parse instead of filling it programmatically? If that helps, the
CTPicture returned from getCTPictures().get(0) (XWPFRun.java, line 706) lacks a
non-null parent field (shouldn't it point to the <a:graphicData>?).

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to