Commit 1d140ef2 authored by Sergey Luzyanin's avatar Sergey Luzyanin

inserting OLE-objects into header/footer, table cell content

parent 2e00f165
...@@ -1771,6 +1771,12 @@ CHeaderFooterController.prototype = ...@@ -1771,6 +1771,12 @@ CHeaderFooterController.prototype =
return this.CurHdrFtr.Add_InlineImage(W,H,Img, Chart, bFlow); return this.CurHdrFtr.Add_InlineImage(W,H,Img, Chart, bFlow);
}, },
Add_OleObject: function(W, H, nWidthPix, nHeightPix, Img, Data, sApplicationId)
{
if ( null != this.CurHdrFtr )
return this.CurHdrFtr.Add_OleObject(W, H, nWidthPix, nHeightPix, Img, Data, sApplicationId);
},
Add_TextArt : function(nStyle) Add_TextArt : function(nStyle)
{ {
if ( null != this.CurHdrFtr ) if ( null != this.CurHdrFtr )
......
...@@ -6810,11 +6810,11 @@ CTable.prototype = ...@@ -6810,11 +6810,11 @@ CTable.prototype =
this.CurCell.Content.Add_InlineImage(W,H,Img, Chart, bFlow); this.CurCell.Content.Add_InlineImage(W,H,Img, Chart, bFlow);
}, },
Add_OleObject : function(W, H, Img, Data) Add_OleObject : function(W, H, nWidthPix, nHeightPix, Img, Data, sApplicationId)
{ {
this.Selection.Use = true; this.Selection.Use = true;
this.Selection.Type = table_Selection_Text; this.Selection.Type = table_Selection_Text;
this.CurCell.Content.Add_OleObject(W, H, Img, Data); this.CurCell.Content.Add_OleObject(W, H, nWidthPix, nHeightPix, Img, Data, sApplicationId);
}, },
Add_TextArt : function(nStyle) Add_TextArt : function(nStyle)
......
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