Commit 3e8946be authored by Ilya Kirillov's avatar Ilya Kirillov

AddInlineImage

parent 53b9c2df
......@@ -11461,7 +11461,7 @@ CDocument.prototype.controller_AddInlineImage = function(W, H, Img, Chart, bFlow
this.Paragraph_Add(Drawing);
this.Select_DrawingObject(Drawing.Get_Id());
}
else if (type_Table == Item.GetType())
else
{
Item.AddInlineImage(W, H, Img, Chart, bFlow);
}
......
......@@ -2376,7 +2376,7 @@ CDocumentContent.prototype.AddInlineImage = function(W, H, Im
this.Paragraph_Add(Drawing);
this.Select_DrawingObject(Drawing.Get_Id());
}
else if (type_Table == Item.GetType())
else
{
Item.AddInlineImage(W, H, Img, Chart, bFlow);
}
......
......@@ -309,7 +309,7 @@ CBlockLevelSdt.prototype.GetNumberingInfo = function(oNumberingEngine)
};
CBlockLevelSdt.prototype.AddInlineImage = function(W, H, Img, Chart, bFlow)
{
this.Content.AddInlineImage(W, H, Img, Char, bFlow);
this.Content.AddInlineImage(W, H, Img, Chart, bFlow);
};
//----------------------------------------------------------------------------------------------------------------------
CBlockLevelSdt.prototype.Is_HdrFtr = function(bReturnHdrFtr)
......
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