[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 46833] cell  contents which starts with a bidi char should be
From:       Meni Livne <livne () kde ! org>
Date:       2003-08-14 17:01:41
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
     
http://bugs.kde.org/show_bug.cgi?id=46833     
livne@kde.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From livne@kde.org  2003-08-14 19:01 -------
Subject: koffice/kspread

CVS commit by livne: 

Align RTL text in cells to the right.

CCMAIL: 46833-done@bugs.kde.org


  M +1 -1      kspread_cell.cc   1.520


--- koffice/kspread/kspread_cell.cc  #1.519:1.520
@@ -3300,5 +3300,5 @@ int KSpreadCell::defineAlignX()
   if ( a == KSpreadCell::Undefined )
   {
-    if ( m_value.isBoolean() || m_value.isNumber() || m_pTable->isRightToLeft() )
+    if ( m_value.isBoolean() || m_value.isNumber() || (m_value.isString() && \
m_value.asString()[0].direction() == QChar::DirR ))  a = KSpreadCell::Right;
     else


.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic