Index: sw/source/filter/ww8/ww8par2.cxx =================================================================== --- sw/source/filter/ww8/ww8par2.cxx (revision 271264) +++ sw/source/filter/ww8/ww8par2.cxx (working copy) @@ -2343,7 +2343,8 @@ } } */ - if (nMinLeft && ((!bIsBiDi && text::HoriOrientation::LEFT == eOri) || (bIsBiDi && text::HoriOrientation::RIGHT == eOri))) + if ((nMinLeft && !bIsBiDi && text::HoriOrientation::LEFT == eOri) || + (nMinLeft != -108 && bIsBiDi && text::HoriOrientation::RIGHT == eOri)) // Word sets the first nCenter value to -108 when no indent is used eOri = text::HoriOrientation::LEFT_AND_WIDTH; // absolutely positioned nDefaultSwCols = nMinCols; // da Zellen einfuegen billiger ist als Mergen @@ -2508,8 +2509,17 @@ //inside the frame, in word the dialog involved greys out the //ability to set the margin. SvxLRSpaceItem aL( RES_LR_SPACE ); - // set right to original DxaLeft (i28656) - aL.SetLeft( !bIsBiDi ? GetMinLeft() : pIo->maSectionManager.GetTextAreaWidth() - nPreferredWidth - nOrgDxaLeft); + if (bIsBiDi) + { + int nSetLeft; + if (nPreferredWidth) + nSetLeft = pIo->maSectionManager.GetTextAreaWidth() - nPreferredWidth - nOrgDxaLeft; + else + nSetLeft = -GetMinLeft(); + aL.SetLeft( nSetLeft ); + } + else + aL.SetLeft( GetMinLeft() ); aItemSet.Put(aL); } }