Commit 1bda4b64 authored by Alexey Golubev's avatar Alexey Golubev

Merge branch 'hotfix/v4.3.3'

parents 4c67bb7d 4318318a
......@@ -8857,8 +8857,12 @@ function CPres()
oThis.bcr.Read1(nDocLength, function(t,l){
return oBinary_DocumentTableReader.ReadDocumentContent(t,l, content_arr);
});
for(var i = 0, length = content_arr.length; i < length; ++i)
shape.textBoxContent.Internal_Content_Add(i, content_arr[i]);
for(var i = 0, length = content_arr.length; i < length; ++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.cur = oThis.stream.cur;
......
......@@ -213,7 +213,7 @@ g_spellCheckLanguages.push(new AscCommon.asc_CLanguage("eu-ES", 0x042d));
//{ "mt-MT", 0x043a },
//{ "se-NO", 0x043b },
//{ "ms-MY", 0x043e },
//{ "kk-KZ", 0x043f },
g_spellCheckLanguages.push(new AscCommon.asc_CLanguage("kk-KZ", 0x043f));
//{ "ky-KG", 0x0440 },
//{ "sw-KE", 0x0441 },
//{ "tk-TM", 0x0442 },
......
......@@ -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