Kaydet (Commit) 870a2394 authored tarafından Miklos Vajna's avatar Miklos Vajna

bnc#779642 VML import: handle drawinglayer rectangle inset

Change-Id: If8b064ca9a52bb02ff41f07e00142702a29df818
üst 3847de4b
......@@ -594,7 +594,16 @@ Reference< XShape > SimpleShape::implConvertAndInsert( const Reference< XShapes
PropertySet(xShape).setAnyProperty(PROP_TextVerticalAdjust, makeAny(eTextVerticalAdjust));
if (getTextBox())
{
getTextBox()->convert(xShape);
if (getTextBox()->borderDistanceSet)
{
PropertySet(xShape).setAnyProperty(PROP_TextLeftDistance, makeAny(sal_Int32(getTextBox()->borderDistanceLeft)));
PropertySet(xShape).setAnyProperty(PROP_TextUpperDistance, makeAny(sal_Int32(getTextBox()->borderDistanceTop)));
PropertySet(xShape).setAnyProperty(PROP_TextRightDistance, makeAny(sal_Int32(getTextBox()->borderDistanceRight)));
PropertySet(xShape).setAnyProperty(PROP_TextLowerDistance, makeAny(sal_Int32(getTextBox()->borderDistanceBottom)));
}
}
}
// Import Legacy Fragments (if any)
......
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