Commit bad93ce2 authored by Sergey Luzyanin's avatar Sergey Luzyanin

fixed build's bugs

parent e61a5527
......@@ -12115,7 +12115,7 @@ CDTable.prototype =
w.WriteString2(this.Get_Id());
},
Read_FromBinary: function(r)
Read_FromBinary2: function(r)
{
this.Id = r.GetString2();
},
......
......@@ -251,7 +251,8 @@ function CopyRunToPPTX(Run, Paragraph, bHyper)
for ( var CurPos = 0; CurPos < Run.Content.length; CurPos++ )
{
var Item = Run.Content[CurPos];
if ( para_End !== Item.Type && Item.Type !== para_Drawing && Item.Type !== para_Comment)
if ( para_End !== Item.Type && Item.Type !== para_Drawing && Item.Type !== para_Comment &&
Item.Type !== para_PageCount && Item.Type !== para_FootnoteRef && Item.Type !== para_FootnoteReference)
{
NewRun.Add_ToContent( PosToAdd, Item.Copy(), false );
++PosToAdd;
......
......@@ -2226,7 +2226,11 @@ CPresentation.prototype =
{
if(isRealObject(aSpTree[i].graphicObject) && typeof aSpTree[i].graphicObject.TableStyle === "string" && isRealObject(g_oTableId.Get_ById(aSpTree[i].graphicObject.TableStyle)))
{
oMap[aSpTree[i].graphicObject.TableStyle] = true;
var oStyle = AscCommon.g_oTableId.Get_ById(aSpTree[i].graphicObject.TableStyle);
if(oStyle instanceof CStyle)
{
oMap[aSpTree[i].graphicObject.TableStyle] = true;
}
}
}
else if(aSpTree[i].getObjectType() === AscDFH.historyitem_type_GroupShape)
......
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