Commit 083c3ca8 authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander.Trofimov

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@49129 954022d7-b5bf-4e40-9824-e11837661b57
parent 9bf4e5ff
......@@ -443,6 +443,9 @@ function CGlobalMatrixTransformer()
var global_MatrixTransformer = new CGlobalMatrixTransformer();
var global_map_bounds_shape = {};
global_map_bounds_shape["heart"] = true;
function CGraphics()
{
this.m_oContext = null;
......@@ -2557,4 +2560,4 @@ CGraphics.prototype =
b : (_b * this.m_oCoordTransform.sy) >> 0
};
}
};
\ No newline at end of file
};
......@@ -1457,7 +1457,23 @@ WordShape.prototype =
{
if (this.spPr.geometry)
{
this.spPr.geometry.check_bounds(checker);
if (!this.spPr.geometry.preset)
this.spPr.geometry.check_bounds(checker);
else
{
if (global_map_bounds_shape[this.spPr.geometry.preset] === true)
{
checker._s();
checker._m(0, 0);
checker._l(this.absExtX, 0);
checker._l(this.absExtX, this.absExtY);
checker._l(0, this.absExtY);
checker._z();
checker._e();
}
else
this.spPr.geometry.check_bounds(checker);
}
}
else
{
......
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