To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=74188
------- Additional comments from [EMAIL PROTECTED] Tue Feb 6 00:01:38 +0000
2007 -------
BreakIterator provides char/cell navigator, PreviousCharacter and NextCharacter.
I copy 5 characters (glyphs) in the document and put them in StarBasic program
to test breakiterator,
Sub Main
bk=createUnoService("com.sun.star.i18n.BreakIterator")
dim l as new com.sun.star.lang.Locale
l.Language="bn"
s="ক্টরি"
m=com.sun.star.i18n.CharacterIteratorMode.SKIPCELL
npos=0
Do
pos=npos
print pos
npos=bk.NextCharacters(s, pos, l, m, 1, n)
Loop Until nPos = pos
Do
pos=nPos
print pos
npos=bk.PreviousCharacters(s, pos, l, m, 1, n)
Loop Until nPos = pos
End Sub
I got result as 0, 2, 3, 4, 5 and 5, 4, 3, 2, 0.
We don't have language specific breakiterator for Bengali, it falls back to ICU,
which seems provides limited support for the language. It can take care first
cell, composed by 2 glyphs, but not second one composed by 3 glyphs.
We need language expert to provide patch for the breakiterator.
---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]