Bug 52942 - EDITING ReportBuilder: - allow embedded Pictures
Summary: EDITING ReportBuilder: - allow embedded Pictures
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
(earliest affected)
3.3.0 release
Hardware: Other All
: medium enhancement
Assignee: Not Assigned
Depends on: 53001
Blocks: Database-Reports-Builder
  Show dependency treegraph
Reported: 2012-07-30 08:04 UTC by Robert Großkopf
Modified: 2017-06-24 22:04 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Note You need to log in before you can comment on or make changes to this bug.
Description Robert Großkopf 2012-07-30 08:04:01 UTC
When editing a report you could choose an Image. You can do this with 
Insert → Pictures → From File
The option "Link" is inactive, almost choosen. So you link the file - image isn't saved in the database.
Now have a look to the properties of the file. Second line: "Preserve as Link". I set this to "No", but the file isn't saved in the *.odb-file. You can change the filename of the picture and don't see any picture.
Have a look at the property "Graphics". The link is shown. Try the Button with the three point beside it. You could choose another picture and now the option "Link" is active. I choose, that it should not be linked. It didn't work.

First it looks, as images could only be linked, then there seem to be two possibilities to embed the image.
There are two ways: put away this possibilities, which don't work - or let us embed images, for example for a header of a letter. The second way would be the better way, because the only possibility to get a picture inside a report without linkin is: Save the image in a table of the database.
Comment 1 Rainer Bielefeld Retired 2012-07-31 12:36:46 UTC
[Reproducible] with Server Installation of  "LibreOffice rc  English UI/ German Locale [Build-ID:  932b512] on German WIN7 Home Premium (64bit), Oracle Report Builder 1.2.1:

1. From Start Center create and save new "sample.odb"
2. Database-Pane: <Reports>
3. Tasks-Pane: 'Create Report in Design View ...'
  > Report Designer appears
4. Click into Page footer
   (Related properties appear at the right)
5. Menu 'Insert -> Picture -> From File
   > LibO (or OS) File Dialog appears
6. Browse for arbitrary few MB  .tif and click
   Expected: greyed out checkbox "Link" should be active, it should be possible
             to embed the picture
   Actual: checkbox "Link" keeps inactive (is greyed out), 
           only linking for picture will be possible.

File size will be < 15KB after having cloed "sample.odb", so (as expected) picture has been linked

I can't find any reasonable idea why embedded pictures should be forbidden.

Already [Reproducible] with Server installation of  Master "LOdev 3.6.0alpha0+  – WIN7 Home Premium (64bit) ENGLISH UI [Build ID: 475d0c5-829fc92-39746e8-206648e-fefd87]" (2012-02-14)
LibreOffice 3.4.5 OOO340m1 (Build:501)

I think linking was never possible in Report Editor.

For related, but different bug in image control file dialog see "Bug 53001 - REPORT BUILDER UI: Unlink picture action in Image control file dialog without effect"
Comment 2 Rainer Bielefeld Retired 2012-07-31 12:38:00 UTC
Sorry, my Subject modifications in last comment were incomplete / nonsense.
Comment 3 Joel Madero 2012-07-31 18:11:11 UTC
This is related to FDO 53001. I am going to gray out the option for the time being and default preserve to link to on but someone else will have to handle allowing the embedded pictures (and then reversing my changes that I'm making on the other bug).
Comment 4 Joel Madero 2012-08-03 19:59:17 UTC
why was this increased to a critical bug? This isn't critical, critical implies that all other work should stop and we should focus on this. I'm changing back to enhancement, please don't change unless you can explain it in the comments.
Comment 5 Robert Großkopf 2013-08-07 15:40:22 UTC
Just testing all bugs from Report-Builder. This bug first appears in the oldest available version of LO, 3.3.0 beta1. So I set the first available bugzilla-version, 3.3.0 release.

Link is grayed out, not chosen - but saved in the document and if the image isn't in the path, it isn't shown.
Comment 6 Alex Thurgood 2015-01-03 17:38:23 UTC Comment hidden (no-value)