Index: svx/inc/numitem.hxx =================================================================== RCS file: /cvs/graphics/svx/inc/numitem.hxx,v --- svx/inc/numitem.hxx 1.10 +++ svx/inc/numitem.hxx @@ -284,1 +284,1 @@ - String MakeNumString( const SvxNodeNum&, BOOL bInclStrings = TRUE ) const; --- + String MakeNumString( const SvxNodeNum&, BOOL bInclStrings = TRUE, BOOL bRTL = FALSE ) const; Index: svx/source/items/numitem.cxx =================================================================== RCS file: /cvs/graphics/svx/source/items/numitem.cxx,v --- svx/source/items/numitem.cxx 1.19 +++ svx/source/items/numitem.cxx @@ -893,1 +893,1 @@ -String SvxNumRule::MakeNumString( const SvxNodeNum& rNum, BOOL bInclStrings ) const --- +String SvxNumRule::MakeNumString( const SvxNodeNum& rNum, BOOL bInclStrings, BOOL bRTL ) const @@ -944,2 +944,9 @@ - aStr.Insert( rMyNFmt.GetPrefix(), 0 ); - aStr += rMyNFmt.GetSuffix(); --- + if (bRTL) + aStr.Insert( rMyNFmt.GetSuffix(), 0 ) ; + else + aStr.Insert( rMyNFmt.GetPrefix(), 0 ); + + if (bRTL) + aStr += rMyNFmt.GetPrefix(); + else + aStr += rMyNFmt.GetSuffix(); Index: svx/source/outliner/outliner.cxx =================================================================== RCS file: /cvs/graphics/svx/source/outliner/outliner.cxx,v --- svx/source/outliner/outliner.cxx 1.60 +++ svx/source/outliner/outliner.cxx @@ -1060,1 +1060,1 @@ - aTextPos.X() = rStartPos.X() + GetPaperSize().Width() - aBulletArea.Left(); --- + aTextPos.X() = rStartPos.X() + GetPaperSize().Width() - aBulletArea.Right() + aBulletArea.Left() ; @@ -1095,2 +1095,0 @@ - if ( bRightToLeftPara ) - nLayoutMode |= TEXT_LAYOUT_BIDI_RTL; @@ -2205,1 +2203,5 @@ - aBulletText += pFmt->GetPrefix(); --- + BOOL bRightToLeftPara = pEditEngine->IsRightToLeft( nPara ); + if ( bRightToLeftPara ) + aBulletText += pFmt->GetSuffix(); + else + aBulletText += pFmt->GetPrefix(); @@ -2217,1 +2219,4 @@ - aBulletText += pFmt->GetSuffix(); --- + if ( bRightToLeftPara ) + aBulletText += pFmt->GetPrefix(); + else + aBulletText += pFmt->GetSuffix();