Commit d7bdf976 authored by Alexey Golubev's avatar Alexey Golubev

Merge tag 'v4.3.3' into develop

v4.3.3 v4.3.3

Conflicts:
	common/spellCheckLanguagesAll.js
parents 7b63d2c3 1bda4b64
...@@ -9027,8 +9027,12 @@ function CPres() ...@@ -9027,8 +9027,12 @@ function CPres()
oThis.bcr.Read1(nDocLength, function(t,l){ oThis.bcr.Read1(nDocLength, function(t,l){
return oBinary_DocumentTableReader.ReadDocumentContent(t,l, content_arr); return oBinary_DocumentTableReader.ReadDocumentContent(t,l, content_arr);
}); });
for(var i = 0, length = content_arr.length; i < length; ++i) for(var i = 0, length = content_arr.length; i < length; ++i){
shape.textBoxContent.Internal_Content_Add(i, content_arr[i]); if(i == length - 1)
shape.textBoxContent.Internal_Content_Add(i, content_arr[i], true);
else
shape.textBoxContent.Internal_Content_Add(i, content_arr[i], false);
}
s.pos = oThis.stream.pos; s.pos = oThis.stream.pos;
s.cur = oThis.stream.cur; s.cur = oThis.stream.cur;
......
This diff is collapsed.
...@@ -3770,16 +3770,20 @@ CStyles.prototype = ...@@ -3770,16 +3770,20 @@ CStyles.prototype =
if (TableStyle != null || ShapeStyle != null) if (TableStyle != null || ShapeStyle != null)
{ {
if (ShapeStyle != null)
{
Pr.TextPr.Merge(ShapeStyle.TextPr);
Pr.ParaPr.Merge(ShapeStyle.ParaPr);
}
if (TableStyle != null) if (TableStyle != null)
{ {
Pr.TextPr.Merge(TableStyle.TextPr); Pr.TextPr.Merge(TableStyle.TextPr);
Pr.ParaPr.Merge(TableStyle.ParaPr); Pr.ParaPr.Merge(TableStyle.ParaPr);
} }
if (ShapeStyle != null)
{
Pr.TextPr.Merge(ShapeStyle.TextPr);
if(!TableStyle)
{
Pr.ParaPr.Merge(ShapeStyle.ParaPr);
}
}
} }
else else
{ {
...@@ -6981,10 +6985,10 @@ CTextPr.prototype = ...@@ -6981,10 +6985,10 @@ CTextPr.prototype =
this.Unifill = TextPr.Unifill.createDuplicate(); this.Unifill = TextPr.Unifill.createDuplicate();
else else
{ {
//if(undefined != TextPr.Color) if(undefined != TextPr.Color)
//{ {
// this.Unifill = undefined; this.Unifill = undefined;
//} }
} }
if(undefined != TextPr.FontRef) 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