Issue 77035 - RPT: A graphic beside a textcontrol is not creates correctly
Summary: RPT: A graphic beside a textcontrol is not creates correctly
Status: CLOSED FIXED
Alias: None
Product: Base
Classification: Application
Component: code (show other issues)
Version: OOo 1.0.0
Hardware: All All
: P3 Trivial (vote)
Target Milestone: OOo 2.3.1
Assignee: marc.neumann
QA Contact: issues@dba
URL:
Keywords: new_implementation
Depends on:
Blocks:
 
Reported: 2007-05-07 14:46 UTC by marc.neumann
Modified: 2008-03-28 19:58 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description marc.neumann 2007-05-07 14:46:07 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
Comment 1 marc.neumann 2007-05-07 14:46:40 UTC
add keyword new_implementation
Comment 2 Frank Schönheit 2007-05-15 09:32:55 UTC
The Report Designer iTeam decided that this issue is a show stopper for the
release of the report designer. Targeting to 2.3, thus.
Comment 3 ocke.janssen 2007-05-29 18:33:55 UTC
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.
Comment 4 tmorgner 2007-06-06 10:15:51 UTC
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.
Comment 5 Frank Schönheit 2007-06-13 08:55:52 UTC
fs-> msc: please verify in CWS oj14 build 0.4.0
Comment 6 marc.neumann 2007-06-14 08:37:59 UTC
reopen, because it's not fixed.

With the current version now graphics shown at all.
Comment 7 marc.neumann 2007-06-14 08:53:09 UTC
reopen
Comment 8 marc.neumann 2007-06-14 08:53:36 UTC
reassign to fs
Comment 9 Frank Schönheit 2007-06-14 12:28:06 UTC
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.
Comment 10 marc.neumann 2007-06-14 14:01:00 UTC
You are right.

I wrote a new issue 78454 for this.

I set this issue to VERIFIED.
Comment 11 marc.neumann 2007-06-14 14:03:10 UTC
reassign to msc
Comment 12 marc.neumann 2007-06-14 14:03:43 UTC
verified in CWS oj14 version 0.4.0
Comment 13 Mechtilde 2007-07-30 09:07:59 UTC
add as CC

may be finally fixed in rpt23fix01
Comment 14 Mechtilde 2007-09-08 22:49:00 UTC
it isn't fixed in OOG680_m4

-> reopen
Comment 15 pavel 2007-09-11 18:01:22 UTC
Move target to 2.3.1.
Comment 16 Frank Schönheit 2007-09-11 20:53:06 UTC
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.
Comment 17 Mechtilde 2008-01-23 21:11:24 UTC
can someone published the CWS containing the fix?
Comment 18 Mechtilde 2008-03-28 19:58:53 UTC
verified in 2.4.0 = > closed