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

List:       kde-commits
Subject:    koffice/lib/kotext
From:       Diego Iastrubni <iastrubn () actcom ! co ! il>
Date:       2003-11-01 1:07:53
[Download RAW message or body]

CVS commit by iastrubni: 

always save direction of paragraph

if we dont, when you force an "RTL" paragraph to be saved as "LTR" (remember LTR is \
not saved in the file) when you reload it, it will be "auto", this will be evaluated \
into RTL, but we wanted LTR.


  M +2 -0      koparaglayout.cc   1.25


--- koffice/lib/kotext/koparaglayout.cc  #1.24:1.25
@@ -408,4 +408,6 @@ void KoParagLayout::saveParagLayout( QDo
     if ( static_cast<QChar::Direction>(layout.direction) == QChar::DirR )
         element.setAttribute( "dir", "R" );
+    else
+        element.setAttribute( "dir", "L" );
 
     if ( layout.margins[QStyleSheetItem::MarginFirstLine] != 0 ||


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

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