Apache OpenOffice (AOO) Bugzilla – Issue 77035
RPT: A graphic beside a textcontrol is not creates correctly
Last modified: 2008-03-28 19:58:53 UTC
1. open a new database 2. open a new report designer 3. insert a textcontrol and assign any table and field 4. insert a graphic and place the control next to the textcontrol 5. the graphic control should be greater then the text control 6. execute the report ==>> the graphic control is truncated
add keyword new_implementation
The Report Designer iTeam decided that this issue is a show stopper for the release of the report designer. Targeting to 2.3, thus.
The size of the image is not set correctly. <table:table-cell table:number-rows-spanned="2" table:style-name="ce2"><text:p><rpt:image form:image-data="file:///D:/staroffice8_oj14/share/gallery/apples.gif" rpt:formula="" rpt:preserve-IRI="true"><rpt:report-element><rpt:report-component draw:name="ImageControl"/></rpt:report-element></rpt:image></text:p></table:table-cell> is transformed to <text:p><draw:frame draw:name="Image0" text:anchor-type="paragraph" svg:z-index="0" svg:x="0cm" svg:y="0cm" svg:width="26.458333333333332mm" svg:height="5.0mm"> <draw:image xlink:href="Pictures/image.gif" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad"/> </draw:frame></text:p> But the height of the image should be 1,98cm.
This issue is now solved. The cause of this was two-fold: (1) The image computation ignored all row-spans and col-spans for the image-cell resulting in an invalid image size. (2) As we relied on Java, not all image-types OpenOffice supports were recognized by the JDK. Now we are using an UNO-Service to call back to OpenOffice to work with the image-data.
fs-> msc: please verify in CWS oj14 build 0.4.0
reopen, because it's not fixed. With the current version now graphics shown at all.
reopen
reassign to fs
fs->msc: you're right, if I create a report from scratch, the graphics is not shown. If you use an existing report, or save/close/reopen the newly created report, the the image is shown perfectly. Can we agree to outsource the problem? The original bug (which was a show stopper) is fixed, as I see it. The new problem is a different bug, IMO.
You are right. I wrote a new issue 78454 for this. I set this issue to VERIFIED.
reassign to msc
verified in CWS oj14 version 0.4.0
add as CC may be finally fixed in rpt23fix01
it isn't fixed in OOG680_m4 -> reopen
Move target to 2.3.1.
Seems we in fact have a problem with images here. However, since there meanwhile exists issue 81126, and this issue here *was* fixed at least in the CWS (and probably at least one subsequent milestone), I re-resolve it. To ensure the remaints get addressed in time, I targeted issue 81126 to 2.3.1.
can someone published the CWS containing the fix?
verified in 2.4.0 = > closed