View | Details | Raw Unified | Return to issue 119875
Collapse All | Expand All

(-)filter/source/msfilter/svdfppt.cxx (+10 lines)
Lines 7586-7591 Link Here
7586
			eVA = drawing::TextVerticalAdjust_BOTTOM;
7586
			eVA = drawing::TextVerticalAdjust_BOTTOM;
7587
		xPropSet->setPropertyValue( sTextVerticalAdjust, Any( eVA ) );
7587
		xPropSet->setPropertyValue( sTextVerticalAdjust, Any( eVA ) );
7588
7588
7589
		//set textHorizontalAdjust and TextWritingMode attr
7590
		const sal_Int32 eHA(((const SdrTextLeftDistItem&)pObj->GetMergedItem(SDRATTR_TEXT_HORZADJUST)).GetValue());
7591
		const SvxFrameDirection eDirection = (const SvxFrameDirection)((( const SvxFrameDirectionItem&)pObj->GetMergedItem(EE_PARA_WRITINGDIR)).GetValue());
7592
		static const rtl::OUString	sHorizontalAdjust( RTL_CONSTASCII_USTRINGPARAM( "TextHorizontalAdjust" ) );
7593
		static const rtl::OUString	sWritingMode( RTL_CONSTASCII_USTRINGPARAM("TextWritingMode") );
7594
		xPropSet->setPropertyValue(  sHorizontalAdjust , Any( eHA ) );
7595
		if ( eDirection == FRMDIR_VERT_TOP_RIGHT )
7596
		{//vertical writing
7597
			xPropSet->setPropertyValue(  sWritingMode , Any( ::com::sun::star::text::WritingMode_TB_RL ) );
7598
		}
7589
		SfxItemSet aSet( pObj->GetMergedItemSet() );
7599
		SfxItemSet aSet( pObj->GetMergedItemSet() );
7590
		XFillStyle eFillStyle(((XFillStyleItem&)pObj->GetMergedItem( XATTR_FILLSTYLE )).GetValue());
7600
		XFillStyle eFillStyle(((XFillStyleItem&)pObj->GetMergedItem( XATTR_FILLSTYLE )).GetValue());
7591
		::com::sun::star::drawing::FillStyle eFS( com::sun::star::drawing::FillStyle_NONE );
7601
		::com::sun::star::drawing::FillStyle eFS( com::sun::star::drawing::FillStyle_NONE );

Return to issue 119875