Kaydet (Commit) 95136e70 authored tarafından Herbert Dürr's avatar Herbert Dürr Kaydeden (comit) Xisco Fauli

#i119559# fix vertical text in *ppt export

Patch by: Lei Debin, Wang Zhe
Found by: Li Feng Wang
Review by: Herbert Duerr
üst 74700570
......@@ -24,6 +24,7 @@
#include <svx/svdoashp.hxx>
#include <svx/svdoole2.hxx>
#include <svx/svdmodel.hxx>
#include <editeng/outlobj.hxx>
#include <vcl/gradient.hxx>
#include <vcl/graph.hxx>
#include <vcl/cvtgrf.hxx>
......@@ -3093,6 +3094,12 @@ void EscherPropertyContainer::CreateCustomShapeProperties( const MSO_SPT eShapeT
AddOpt(DFF_Prop_gtextAlign,gTextAlign);
}
}
if((nTextPathFlags & 0x4000) != 0) //Is Font work
{
OutlinerParaObject* pOutlinerParaObject = pCustoShape->GetOutlinerParaObject();
if ( pOutlinerParaObject && pOutlinerParaObject->IsVertical() )
nTextPathFlags |= 0x2000;
}
if ( nTextPathFlags != nTextPathFlagsOrg )
AddOpt( DFF_Prop_gtextFStrikethrough, nTextPathFlags );
}
......
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