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 Apr 2011 03:25:12 GMT

--- Comment #14 from Huib <logisch@gmail.com> 2011-04-04 23:25:07 EDT ---
>From what I can tell, the following is not being generated in the

    <wp:inline distT="0" distB="0" distL="0" distR="0">
        <wp:extent cx="2466975" cy="552450"/>
        <wp:docPr id="1" name="Picture 0" descr="generated.jpg"/>
                        <pic:cNvPr id="0" name="generated.jpg"/>
                        <a:blip r:embed="rId16"/>
                            <a:off x="0" y="0"/>
                            <a:ext cx="2466975" cy="552450"/>
                        <a:prstGeom prst="rect">

In the example above
Width: 2466975
Height: 552450
(with an EMU of 9525 per pixel; example above was 259 x 58 px)

rId16: is defined in \word\_rels\document.xml.rels
  <Relationship Id="rId16"

But at least the image itself is correctly added to \word\media\image1.jpeg
(and also the relationship is correctly added)

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

View raw message