Issue 77105 - RPT: wmf graphics are not shown in report
Summary: RPT: wmf graphics are not shown in report
Status: CLOSED FIXED
Alias: None
Product: Base
Classification: Application
Component: code (show other issues)
Version: recent-trunk
Hardware: All All
: P3 Trivial (vote)
Target Milestone: OOo 2.3
Assignee: marc.neumann
QA Contact: issues@dba
URL:
Keywords: needmoreinfo, new_implementation
: 77660 77830 (view as issue list)
Depends on:
Blocks:
 
Reported: 2007-05-08 14:52 UTC by christoph.lukasiak
Modified: 2007-09-27 02:04 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 christoph.lukasiak 2007-05-08 14:52:32 UTC
0. open a new database
1. create a table with an image control
2. open the report designer and bind it to the table
3. open the add field container and d&d the image control into the working area
4. insert a '.wmf' graphic (f.e. from gallary) & execute the report

-> graphic is not shown
Comment 1 christoph.lukasiak 2007-05-08 14:53:10 UTC
set keyword 'new_implementation'
Comment 2 Frank Schönheit 2007-05-15 09:33:42 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-25 12:35:55 UTC
->tmorgner: Now it's time to insert the graphics implementation with different
storages we already talked about.
Comment 4 marc.neumann 2007-05-29 08:48:41 UTC
*** Issue 77830 has been marked as a duplicate of this issue. ***
Comment 5 marc.neumann 2007-05-29 08:49:39 UTC
msc -> msc: check also issue 77830
Comment 6 ocke.janssen 2007-06-01 07:57:32 UTC
*** Issue 77660 has been marked as a duplicate of this issue. ***
Comment 7 ocke.janssen 2007-06-01 07:58:23 UTC
oj->msc: See also issue 77105
Comment 8 tmorgner 2007-06-06 10:19:57 UTC
With the fix for Bug 77035, we changed the way images are recognized. The new
UNO-Service now also recognizes WMF-files as images and therefore all
imageformats that are supported by OpenOffice are considered valid by the
reporting engine.
Comment 9 ocke.janssen 2007-06-08 12:15:55 UTC
Hi Thomas,

it doesn't work as aspect ed :-( Could you please have a look at it. Thanks.

- oj
Comment 10 tmorgner 2007-06-11 20:03:50 UTC
With the latest patch, the engine now recognizes all images.

For WMF images, the UNO-call to GraphicProvider.queryGraphicsDescriptor(..)
returns a width and height of zero. Therefore it is not yet possible to scale
these images or to show them in the correct size.
Comment 11 Frank Schönheit 2007-06-12 13:15:26 UTC
fixed. Last piece of the puzzle was that the GraphicDescriptor requires to load
the graphics before providing proper size information.
Comment 12 Frank Schönheit 2007-06-12 13:16:36 UTC
please verify in CWS build 0.4.0
Comment 13 marc.neumann 2007-06-13 14:34:55 UTC
reassign to clu
Comment 14 christoph.lukasiak 2007-06-13 15:53:52 UTC
does not work in 0.4.0
Comment 15 christoph.lukasiak 2007-06-13 15:54:31 UTC
reopen issue
Comment 16 tmorgner 2007-06-13 16:48:51 UTC
Works for me, on both Windows and Linux, using the latest build from 
http://ooo.services.openoffice.org/pub/OpenOffice.org/cws/upload/oj14/

However, if you do not delete the old reportdesigner.ocx (and the uno-cache for
this package) from your home-directory prior to installing the new build,
OpenOffice seems to use the old version instead of the new one. 
Comment 17 Frank Schönheit 2007-06-13 18:57:50 UTC
fs->clu: please attach a sample document, and a sample graphics. For me, this
works fine in my 0.4.0 installation.
Comment 18 marc.neumann 2007-06-14 13:33:05 UTC
Hi,

All graphics are only displayed if you save and close the report and execute the
report again. 

If you insert a graphic into a new report the graphic is not shown.

I wrote issue 78454 for this.

I set this issue to verified.

bye Marc
Comment 19 marc.neumann 2007-06-14 13:39:02 UTC
reassign to msc
Comment 20 marc.neumann 2007-06-14 13:44:04 UTC
verified
Comment 21 drewjensen.inbox 2007-09-27 02:04:47 UTC
Tested w/ XP, OOo 2.3 stable, SRB 1.0.1 ( no need to save and close report as
msc mentioned any more, it works straight from the design editor now )