Apache OpenOffice (AOO) Bugzilla – Issue 24425
Marquee does not store font and bold attributes in web page
Last modified: 2013-08-07 14:38:26 UTC
Hi, One of my users just reported this problem. It was not a problem in OO1.0.x versions so it has just crept in in OOo1.1.0. The font and bold attribute for a scrolling text is not kept and the users keeps seeing Times New Roman style font. To reproduce: Open New Html document using Html Editor Insert scrolling text and format to arial and bold Select View -> Html Source Save the file In the source you will see a line which looks like the following <P><FONT COLOR="#000000"><MARQUEE BEHAVIOR=SCROLL DIRECTION=LEFT LOOP=-1 SCROLLDELAY=0 SCROLLAMOUNT=2 WIDTH=202 HEIGHT=22>Marquee faulty</MARQUEE></FONT></P> Notice there is no font name or bold tags. If you manually put the tags in then go into normal mode and then switch back to source mode the font name and bold tags are lost. Example: Insert the following line into the source code <P><FONT FACE="Arial, sans-serif"><B><FONT COLOR="#000000"><MARQUEE BEHAVIOR=SCROLL DIRECTION=LEFT LOOP=-1 SCROLLDELAY=0 SCROLLAMOUNT=2 WIDTH=205 HEIGHT=21>Online Connections</MARQUEE></FONT></B></FONT></P> Switch to normal mode and then switch back to source mode. The code has been damaged and becomes the following <P><FONT COLOR="#000000"><FONT COLOR="#000000"><MARQUEE BEHAVIOR=SCROLL DIRECTION=LEFT LOOP=-1 SCROLLDELAY=0 SCROLLAMOUNT=2 WIDTH=205 HEIGHT=21 ALIGN=BOTTOM>Online Connections</MARQUEE></FONT></FONT></P> So not only is the font name and bold tags not kept anymore, any existing html files are now becoming corrupted. As I stated this problem has only occurred since OOo1.1.0. It did not occur to my knowledge in OOo1.0.x Hope this helps. Kelvin
Reassigned to ES
ES->MIB: Iset this issue as child of Waleed's task #112795#. Or would you rather keep this issue and close the other one?
Reassigned to MIB
.
Hi, Whilst this issue is not terribly important, making it a Target of OOo 2.0 does not look good. It is broken because of changes to the code and now the user will have to wait probably for a year for it to be working again, revert back to an earlier version of OOo, make changes to the code every time or redesign their website. Hmmmm. Pity. IMHO breaking things that were previously working and then leaving them for a long period of time may not look good for the project. I have advised the client concerned of the situation. Thanks for the prompt feedback. Kelvin
Part of the priorization of this issue is the fact that it only occurs for marquee that starts at the beginning of a paragraph. If there are characters befor teh marquee, the font information is exported.
Hi, Thanks for the additional information. That piece of additional information provides a work around for the moment. It still means the client has some minor work to do to each web page, but I believe that they can live with that. Thanks again for the tip. Kelvin
target changed