Apache OpenOffice (AOO) Bugzilla – Issue 72680
Bullets and numbering not RTL when saving RTL document as HTML
Last modified: 2013-08-07 14:38:26 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.
Created attachment 41545 [details] Works with htis document on WinXP
MRU->ES: cannot reproduce this on Win, could you please have a look on Linux? Thanks!
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!!
I cannot reproduce it. Do you mean that after HTML export: "This text here" 1. looks like: 1. "This text here" ?
Created attachment 41641 [details] This is how it looks in OOo
Created attachment 41642 [details] This is the file
Created attachment 41643 [details] This is the HTML file
Created attachment 41644 [details] This is how it looks in the browser
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>
->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>