hi,
we're trying to implement hebrew and arabic support and i have several questions, especially about BidiMode:
1) is richview able to save text direction to html? for example: <p dir=rtl> (if BiDiMode of parastyle is set to rvbdRightToLeft)
2) when user is typing in hebrew (or other RTL) language, is actual TextStyle and ParaStyle set to RTL or not? how to manage it?
i welcome any other remarks from those who have experiences with this, because this topic is really complicated...
thanks...
hebrew, arabic and bidi
-
- Site Admin
- Posts: 17602
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
1) Current version does not do it. But I already added this feature in my local copy, so it will be available on the next update.
SaveHTML will save it as <div dir=RTL>, SaveHTMLEx will use CSS for that.
2) It's usually not necessary to set the text style's BiDiMode, because text is arranged automatically depending on characters bidi properties. It can be used to help to the component if it arranges the text not as expected.
Paragraph's BiDiMode is not set automatically too. May be it makes sense to apply bidimode to the paragraph on Ctrl+LShift and Ctrl+RShift....
SaveHTML will save it as <div dir=RTL>, SaveHTMLEx will use CSS for that.
2) It's usually not necessary to set the text style's BiDiMode, because text is arranged automatically depending on characters bidi properties. It can be used to help to the component if it arranges the text not as expected.
Paragraph's BiDiMode is not set automatically too. May be it makes sense to apply bidimode to the paragraph on Ctrl+LShift and Ctrl+RShift....
-
- Site Admin
- Posts: 17602
- Joined: Sat Aug 27, 2005 10:28 am
- Contact: