I'm trying to convert an HTML document with lots of mixed-direction embeddings (e.g. pieces of Python inside Hebrew statements) into OpenOffice writer format. My HTML has dir attrs where needed but OO ignores them! I tried redudant lang= and align= attrs in HTML and OO ignored them too. I'm using OO 2.0.1-2 (debian unstable).

I was able to change the paragraph directions manually but I can't see how do I embed a span of LTR text into an RTL paragraph (or vice versa) in OO! Are RLM/LRM/LRE/RLE/PDF chars the only way to do it from the UI? If true, this software is badly broken for Israeli users. MS's ways of attaching direction to characters by keyboard layout is not optimal but at least it's accessible and discoverable.

I looked at OO's XML. I'm not dettered by playing with it (or the HTML I convert from), I just want my document right. Turns out they have writing-mode="rl-tb" (or "lr-tb") attributes on paragraph style definishion tags and the paragraph reference the styles by style id (e.g. an RTL heading is "P5" and an similar LTR heading is "P43"). So I tried adding similar writing-mode attrs to inline text styles - no effect when openned with OO.

I suppose that adding RLE/LRE/PDF chars (or perhaps LRM/RLM will suffice) to the text in the OO XML (or even the input HTML) must work. It just seems ugly for an XML format. Any advice?

--
Beni Cherniavsky <[EMAIL PROTECTED]>, who can only read email on weekends.

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to