Issue 38215 - Image in image control should be embedded
Summary: Image in image control should be embedded
Status: CLOSED FIXED
Alias: None
Product: App Dev
Classification: Unclassified
Component: api (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P3 Trivial
Target Milestone: ---
Assignee: marc.neumann
QA Contact: issues@api
URL:
Keywords: ms_interoperability
Depends on:
Blocks:
 
Reported: 2004-12-01 10:57 UTC by noel.power
Modified: 2013-02-24 21:07 UTC (History)
2 users (show)

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


Attachments
patch file (29.09 KB, patch)
2008-07-25 09:44 UTC, noel.power
no flags Details | Diff
example doc with some image using controls (205.88 KB, application/vnd.oasis.opendocument.spreadsheet)
2008-07-25 09:45 UTC, noel.power
no flags Details
new version of patch (37.04 KB, text/plain)
2008-08-06 16:26 UTC, noel.power
no flags Details
new version of document (206.45 KB, application/vnd.oasis.opendocument.spreadsheet)
2008-08-06 16:27 UTC, noel.power
no flags Details
latest version ( review comments incorporated ) patch (47.09 KB, patch)
2008-08-21 14:22 UTC, noel.power
no flags Details | Diff
latest patch file (46.71 KB, patch)
2008-09-04 14:50 UTC, noel.power
no flags Details | Diff
minimalistic sample for image controls in database documents (33.98 KB, application/vnd.sun.xml.base)
2008-09-08 10:34 UTC, Frank Schönheit
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description noel.power 2004-12-01 10:57:34 UTC
As discussed in a private conversation.

Current Behavior
The image associated with an Image/ImageButton Control ( in FormControls &
Dialogs ) is referenced always as a link. The has obvious disadvantages when
transferring documents as the image exists externally. The has also implications
regarding import of ms documents where images are stored internally in the
document, its easy to imagine that in the case of Dialogs ( UserForms ) that
images would be present for instance for branding purposed. 

Desired Behavior
That images associated with these controls ( Image & ImageButton ) to be
optionally be embedded in the document. Currently in the FilePicker a check box
exists to allow such a differentiation but is not used ( its disabled ). The api
and underlying code to be modified to cater for optional embedding of the image
based on the user selection.
Comment 1 Frank Schönheit 2005-01-10 11:10:05 UTC
fs->npower: Sorry, I looked into this topic, and it seems there is no
infrastructure present for embedding arbitrary streams into existing documents
(which would be necessary for your importer to store the image within the
document package, and for my form control to access it on runtime).

Given the current phase towards 2.0, I have no choice but to retarget this to
"OOo Later". Additionally setting the "ms_interoperability" keyword.
Comment 2 robbygro 2007-11-12 19:01:55 UTC
Images on ImageButtons are not portable to another system. I tried to develop a
form in Base 2.3.0 with ImageButtons. At another system I opened the file and
saw blank ImageButtons. The images were in the same directory as the Base *.odb
on both systems.

Robert
Comment 3 noel.power 2008-07-25 09:44:11 UTC
Created attachment 55358 [details]
patch file
Comment 4 noel.power 2008-07-25 09:45:16 UTC
Created attachment 55359 [details]
example doc with some image using controls
Comment 5 noel.power 2008-07-25 09:46:10 UTC
Frank I supposed you would want to discuss this in the list so I forward some
more detail there 
Comment 6 noel.power 2008-08-06 16:26:14 UTC
Created attachment 55605 [details]
new version of patch
Comment 7 noel.power 2008-08-06 16:27:07 UTC
Created attachment 55606 [details]
new version of document
Comment 8 noel.power 2008-08-06 16:28:56 UTC
I created a new version of the document because it seems that there was a stray
href with a Package url format ( that was causing at least one assertion ) on load.
Most probably this is an artifact of an early attempt at creating a test
document ( because initially I didn't have import/export support and was
handcrafting the document )
Comment 9 noel.power 2008-08-21 14:22:17 UTC
Created attachment 55908 [details]
latest version ( review comments incorporated ) patch
Comment 10 noel.power 2008-09-04 14:50:56 UTC
Created attachment 56238 [details]
latest patch file
Comment 11 Frank Schönheit 2008-09-08 08:28:23 UTC
patch committed to CWS dba31c. Noel: Thanks!
Comment 12 Frank Schönheit 2008-09-08 10:34:56 UTC
Created attachment 56315 [details]
minimalistic sample for image controls in database documents
Comment 13 Frank Schönheit 2008-11-04 13:28:53 UTC
fs->msc: please verify in CWS dba31e
Comment 14 marc.neumann 2008-11-14 14:14:08 UTC
verified in CWS dba31e

find more information about this CWS, like when it is available in the master
builds, in EIS, the Environment Information System:
http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Path=DEV300%2Fdba31e
Comment 15 thorsten.ziehm 2010-02-22 15:13:37 UTC
This issue is closed automatically. It should be fixed in a version with is
available for longer than half a year (OOo 3.1). If you think this issue isn't
fixed in the current version (OOo 3.2) please reopen it. But then please pay
attention about the field 'target milestone'.
The closure was approved by the Release Status Meeting at 22nd of February 2010
and it is based on the issue handling guideline for fixed/verified issues  :
http://wiki.services.openoffice.org/wiki/Handle_fixed_verified_issues