[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:18:31
[Download RAW message or body]
CVS commit by iastrubni:
always save direction of paragraph (part 2)
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.
this time, we also check if the direction is DirL and then save. that only leaves us \
with the option of DirO which is not saved in the file.
M +2 -1 koparaglayout.cc 1.26
--- koffice/lib/kotext/koparaglayout.cc #1.25:1.26
@@ -409,4 +409,5 @@ void KoParagLayout::saveParagLayout( QDo
element.setAttribute( "dir", "R" );
else
+ if ( static_cast<QChar::Direction>(layout.direction) == QChar::DirL )
element.setAttribute( "dir", "L" );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic