Issue 81257

Summary: ALT="" and TARGET="" parameter getting lost on image map export .sdw -> .html
Product: Writer Reporter: jogi
Component: codeAssignee: jogi
Status: CLOSED FIXED QA Contact: issues@sw <issues>
Severity: Trivial    
Priority: P3 CC: eric.savary, issues, stefan.baltzer
Version: OOG680_m2Keywords: regression
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Issue Depends on:    
Issue Blocks: 82974    
Attachments:
Description Flags
bug document with image map where an ALT has been used and TARGET="_self" and not "Target"
none
Bug document none

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