Commit 98b0f46a authored by Sergey.Luzyanin's avatar Sergey.Luzyanin

getBase64Image

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@60020 954022d7-b5bf-4e40-9824-e11837661b57
parent 0ab29964
......@@ -1796,23 +1796,7 @@ CChartSpace.prototype =
this.group = group;
},
getBase64Img: function ()
{
if(typeof this.cachedImage === "string")
{
return this.cachedImage;
}
var img_object = ShapeToImageConverter(this, this.pageIndex);
if(img_object)
{
return img_object.ImageUrl;
}
else
{
return "";
}
},
getBase64Img: CShape.prototype.getBase64Img,
getRangeObjectStr: function()
{
......
......@@ -262,23 +262,7 @@ CGroupShape.prototype =
return getBoundsInGroup(this);
},
getBase64Img: function ()
{
if(typeof this.cachedImage === "string")
{
return this.cachedImage;
}
var img_object = ShapeToImageConverter(this, this.pageIndex);
if(img_object)
{
return img_object.ImageUrl;
}
else
{
return "";
}
},
getBase64Img: CShape.prototype.getBase64Img,
convertToWord: function(document)
{
......
......@@ -346,23 +346,7 @@ CImageShape.prototype =
return false;
},
getBase64Img: function ()
{
if(typeof this.cachedImage === "string")
{
return this.cachedImage;
}
var img_object = ShapeToImageConverter(this, this.pageIndex);
if(img_object)
{
return img_object.ImageUrl;
}
else
{
return "";
}
},
getBase64Img: CShape.prototype.getBase64Img,
convertToWord: function(document)
{
......
......@@ -2638,6 +2638,8 @@ CShape.prototype =
{
return this.cachedImage;
}
if(!isRealNumber(this.x) || !isRealNumber(this.y) || !isRealNumber(this.extX) || !isRealNumber(this.extY))
return "";
var img_object = ShapeToImageConverter(this, this.pageIndex);
if(img_object)
{
......
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