Bug #29

All images are positioned wrong by exactly one inch too high and 1.191556 inch to the left.

Added by Michiel Leenaars over 1 year ago.

Status:New Start date:09/20/2011
Priority:High Due date:
Assignee:Jos van den Oever % Done:

0%

Category:core
Target version:-

Description

Images in files are drawn exactly one inch too high.

If you view the invitation for the Gouda plugfest with WebODF, the images are positioned wrong by exactly one inch too high and 1.191556 inch to the left.

http://leenaa.rs:9778/test.html

The document contains three images. All of them are off by the same absolute vector.

WebODF inspect element:

<draw:frame style-name="fr1" name="graphics1" anchor-type="paragraph" x="0.1374in" y="-0.911in" width="1.6665in" height="2.0516in" z-index="3" styleid="frame0"><draw:image href="Pictures/10000201000000A0000000C6D5DADFD6.png" type="simple" show="embed" actuate="onLoad" styleid="image0"></draw:image></draw:frame>

<draw:frame style-name="fr1" name="2" anchor-type="paragraph" x="2.0311in" y="-0.5354in" width="2.4264in" height="0.5516in" z-index="4" styleid="frame2"><draw:image href="Pictures/100000000000015E000000518AED48C3.png" type="simple" show="embed" actuate="onLoad" styleid="image1"></draw:image></draw:frame>

<draw:frame style-name="fr1" name="1" anchor-type="paragraph" x="4.4583in" y="-0.7437in" width="2.4264in" height="1.0827in" z-index="5" styleid="frame4"><draw:image href="Pictures/10000000000002880000010A26F6B92B.jpg" type="simple" show="embed" actuate="onLoad" styleid="image2"></draw:image></draw:frame>

Original file:

&lt;text:p&gt;
&lt;draw:frame text:anchor-type="page" text:anchor-page-number="1" svg:x="1.137500in" svg:y="0.280556in" draw:z-index="0" draw:style-name="graphic1" svg:width="1.666667in" svg:height="2.051389in"&gt;
&lt;draw:image xlink:href="Pictures/2e3b165c-dee5-11e0-8190-bb8f258b1bef" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad" /&gt;
&lt;/draw:frame&gt;
&lt;/text:p&gt;
&lt;text:p&gt;
&lt;draw:frame text:anchor-type="page" text:anchor-page-number="1" svg:x="5.458333in" svg:y="0.447917in" draw:z-index="0" draw:style-name="graphic1" svg:width="2.426389in" svg:height="1.082639in"&gt;
&lt;draw:image xlink:href="Pictures/8944d1ce-dee4-11e0-8190-bb8f258b1bef" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad" /&gt;
&lt;svg:title&gt;Logo NoiV&lt;/svg:title&gt;
&lt;svg:desc&gt;Logo NoiV&lt;/svg:desc&gt;
&lt;/draw:frame&gt;
&lt;/text:p&gt;
&lt;text:p&gt;
&lt;draw:frame text:anchor-type="page" text:anchor-page-number="1" svg:x="3.031250in" svg:y="0.656250in" draw:z-index="0" draw:style-name="graphic1" svg:width="2.426389in" svg:height="0.551389in"&gt;
&lt;draw:image xlink:href="Pictures/d2347a56-dee4-11e0-8190-bb8f258b1bef" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad" /&gt;
&lt;/draw:frame&gt;
&lt;/text:p&gt;

invitationGoudaPlugfest2.odt (272.3 kB) Michiel Leenaars, 09/20/2011 11:40 am

Also available in: Atom PDF