Kaydet (Commit) 9d814939 authored tarafından sj's avatar sj

#i108328# fixed textorientation problem

üst ed37800f
...@@ -1459,8 +1459,9 @@ void XclImpTextObj::DoProcessSdrObj( SdrObject& rSdrObj ) const ...@@ -1459,8 +1459,9 @@ void XclImpTextObj::DoProcessSdrObj( SdrObject& rSdrObj ) const
com::sun::star::beans::PropertyValue aTextRotateAngle; com::sun::star::beans::PropertyValue aTextRotateAngle;
aTextRotateAngle.Name = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM ( "TextRotateAngle" ) ); aTextRotateAngle.Name = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM ( "TextRotateAngle" ) );
aTextRotateAngle.Value <<= fAngle; aTextRotateAngle.Value <<= fAngle;
SdrCustomShapeGeometryItem& rGeometryItem = (SdrCustomShapeGeometryItem&)pObjCustomShape->GetMergedItem( SDRATTR_CUSTOMSHAPE_GEOMETRY ); SdrCustomShapeGeometryItem aGeometryItem((SdrCustomShapeGeometryItem&)pObjCustomShape->GetMergedItem( SDRATTR_CUSTOMSHAPE_GEOMETRY ));
rGeometryItem.SetPropertyValue( aTextRotateAngle ); aGeometryItem.SetPropertyValue( aTextRotateAngle );
pObjCustomShape->SetMergedItem( aGeometryItem );
} }
eWriteMode = csst::WritingMode_TB_RL; eWriteMode = csst::WritingMode_TB_RL;
switch( maTextData.maData.GetHorAlign() ) switch( maTextData.maData.GetHorAlign() )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment