Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing
|Summary:||Bullets and numbering not RTL when saving RTL document as HTML|
|Component:||save-export||Assignee:||AOO issues mailing list <issues>|
|Status:||CONFIRMED ---||QA Contact:|
|Version:||OOo 2.0.4||Keywords:||Arabic, needmoreinfo|
|Issue Type:||DEFECT||Latest Confirmation in:||---|
Description mayz 2006-12-17 18:11:33 UTC
When creating a document, selecting CTL and setting the text direction of the document to RTL, write some text with bullets and/or numbering, save as HTML, the direction in the genereated HTML is set only to the <P> element to RTL and not to the <UL> or <LI> or <BODY>, this causes the bullets/numbering to be on the far left and the text on the far right, thus what you see in the oow is different from what you see in the webbrowser.
Comment 1 michael.ruess 2006-12-19 09:02:50 UTC
Created attachment 41545 [details] Works with htis document on WinXP
Comment 2 michael.ruess 2006-12-19 09:18:13 UTC
MRU->ES: cannot reproduce this on Win, could you please have a look on Linux? Thanks!
Comment 3 mayz 2006-12-19 13:30:26 UTC
Dont set language to hebrew, just try to write hebrew with CTL enabled without selecting languge, but setting the direction to RTL, or if you wish, try to set the text direction in the attachment you sent to LTR and keep language hebrew, how would it look like when saved as HTML, it will look RTL although you wanted it LTR!!
Comment 4 eric.savary 2006-12-20 07:33:11 UTC
I cannot reproduce it. Do you mean that after HTML export: "This text here" 1. looks like: 1. "This text here" ?
Comment 5 mayz 2006-12-22 07:53:39 UTC
Created attachment 41641 [details] This is how it looks in OOo
Comment 8 mayz 2006-12-22 08:09:24 UTC
Created attachment 41644 [details] This is how it looks in the browser
Comment 9 mayz 2006-12-22 08:15:19 UTC
ive attached the document and a screen shot of it and the html export and a screen shot of it, all under linux, i dont know how the html looks like in ie under windows. the html tag looks like this: <UL> <LI><P DIR="RTL" ALIGN=RIGHT STYLE="margin-bottom: 0in">bullet</P> <LI><P DIR="RTL" ALIGN=RIGHT STYLE="margin-bottom: 0in">another one</P> and i believe it should look like this: <UL DIR="RTL"> <LI DIR="RTL"><P DIR="RTL" ALIGN=RIGHT STYLE="margin-bottom: 0in">bullet</P> <LI DIR="RTL"><P DIR="RTL" ALIGN=RIGHT STYLE="margin-bottom: 0in">another one</P>
Comment 10 eric.savary 2007-01-18 10:38:26 UTC
->AMA: setting <li><p DIR="RTL">...</p> does not include the <li> The whole <ul> block should be formatted like this: <ul DIR="RTL"> <li><p DIR="RTL">...</p> <li><p DIR="RTL">...</p> ... <li><p DIR="RTL">...</p> </ul>