To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=37190
------- Additional comments from [EMAIL PROTECTED] Fri Nov 17 02:42:14 -0800 2006 ------- fme->alan: Please have a look at svx/source/editeng/impedit2.cxx. In ImplInitLayoutMode, the results for bR2L are definitely wrong (and therefore the layout modes set at the ountput device). For my new attached document we should get this: nIndex = 0 => bR2L = 0 nIndex = 1 => bR2L = 1 nIndex = 14 => bR2L = 0 So I had a look into ImpEditEngine::GetRightToLeft( ... ) and changed rDirInfos[n].nEndPos >= nPos to rDirInfos[n].nEndPos > nPos. Now the layout mode was set correctly. Unfortunately ImpEditEngine::GetRightToLeft( ... ) is also called by other clients, which seem to rely on >=, therefore I changed the call of GetRightToLeft( nPara, nIndex ) in ImplInitLayoutMode to GetRightToLeft( nPara, nIndex + 1 ). This seems to work with my attached sample document, but there is still an issue with slide 4 in radiohercog.ppt. So obviously this needs some deeper digging. --------------------------------------------------------------------- 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]