Issue 81257 - ALT="" and TARGET="" parameter getting lost on image map export .sdw -> .html
Summary: ALT="" and TARGET="" parameter getting lost on image map export .sdw -> .html
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: OOG680_m2
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: jogi
QA Contact: issues@sw
URL:
Keywords: regression
Depends on:
Blocks: 82974
  Show dependency tree
 
Reported: 2007-09-04 14:36 UTC by jogi
Modified: 2013-08-07 14:42 UTC (History)
3 users (show)

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


Attachments
bug document with image map where an ALT has been used and TARGET="_self" and not "Target" (1.39 MB, application/vnd.sun.xml.writer)
2007-09-05 07:10 UTC, jogi
no flags Details
Bug document (7.69 KB, application/vnd.sun.xml.writer)
2007-09-05 11:04 UTC, andreas.martens
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description jogi 2007-09-04 14:36:07 UTC
AFAICS also from import. Was fine in OOF680

test case:
- Load .sdw (bug doc) with image map
- Save As / HTML
- Load HTML document in an editor
- SEARCH for ALT= 
- SEARCH for TARGET=

and you see that ALT= is missing and TARGET="Target" which should be "_self".
Comment 1 jogi 2007-09-05 07:10:54 UTC
Created attachment 47963 [details]
bug document with image map where an ALT has been used and TARGET="_self" and not "Target"
Comment 2 jogi 2007-09-05 07:11:57 UTC
adding keywords and cc:ing sba,es
Comment 3 andreas.martens 2007-09-05 11:04:37 UTC
Created attachment 47974 [details]
Bug document
Comment 4 andreas.martens 2007-09-05 11:07:57 UTC
It's not a problem of .sdw nor HTML im-/export.
Open attached bug document, created with OOo2.2.1 and have a look at the image map.
In OOo2.2.1 you see Text: "Welcome" and Target: "_self"
In OOo2.3 you will see Text: "" and Target: "Target"
Comment 5 clippka 2007-10-17 16:08:52 UTC
fixed,

this where actuall two issues

The target problem was a typo, introduced when I added the description support
for image map entries

fixed in xmloff/source/draw/XMLImageMapContext.cxx 1.13.60.1

The other is that in the bug document there is no alternative text but a
description. HTML does not know descriptions for image map entries. I changed
the code so that if there is no alternativ text then the description is exported
as alternative text.

fixed in svtools/source/svhtml/htmlout.cxx 1.22.80.1
Comment 6 clippka 2007-10-19 09:13:10 UTC
verified in cws, back to qa
Comment 7 jogi 2007-10-25 15:40:52 UTC
The export has been fixed; the import of .sdw (binary) seems to be a seperate
issue and will be a follow up issue.
Comment 8 sgautier.ooo 2009-01-02 15:06:56 UTC
Verified in OOo 3.0 - closing - Sophie