Apache OpenOffice (AOO) Bugzilla – Issue 81257
ALT="" and TARGET="" parameter getting lost on image map export .sdw -> .html
Last modified: 2013-08-07 14:42:46 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".
Created attachment 47963 [details] bug document with image map where an ALT has been used and TARGET="_self" and not "Target"
adding keywords and cc:ing sba,es
Created attachment 47974 [details] Bug document
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"
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
verified in cws, back to qa
The export has been fixed; the import of .sdw (binary) seems to be a seperate issue and will be a follow up issue.
Verified in OOo 3.0 - closing - Sophie