Commit 4df570e5 authored by SergeyLuzyanin's avatar SergeyLuzyanin

fix bug 34785

parent 643da387
......@@ -3770,16 +3770,20 @@ CStyles.prototype =
if (TableStyle != null || ShapeStyle != null)
{
if (ShapeStyle != null)
{
Pr.TextPr.Merge(ShapeStyle.TextPr);
Pr.ParaPr.Merge(ShapeStyle.ParaPr);
}
if (TableStyle != null)
{
Pr.TextPr.Merge(TableStyle.TextPr);
Pr.ParaPr.Merge(TableStyle.ParaPr);
}
if (ShapeStyle != null)
{
Pr.TextPr.Merge(ShapeStyle.TextPr);
if(!TableStyle)
{
Pr.ParaPr.Merge(ShapeStyle.ParaPr);
}
}
}
else
{
......@@ -6981,10 +6985,10 @@ CTextPr.prototype =
this.Unifill = TextPr.Unifill.createDuplicate();
else
{
//if(undefined != TextPr.Color)
//{
// this.Unifill = undefined;
//}
if(undefined != TextPr.Color)
{
this.Unifill = undefined;
}
}
if(undefined != TextPr.FontRef)
{
......
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