Commit b04249b4 authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

Поправил обновление курсора; добывил вызов обновления позиций подписей для 3d диаграмм

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@67935 954022d7-b5bf-4e40-9824-e11837661b57
parent d59734e8
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
"../../Common/SerializeChart.js", "../../Common/SerializeChart.js",
"../../Common/Charts/charts.js", "../../Common/Charts/charts.js",
"../../Common/Charts/ChartsDrawer.js", "../../Common/Charts/ChartsDrawer.js",
"../../Common/Charts/3DTransformation.js",
"../../Common/Charts/DrawingArea.js", "../../Common/Charts/DrawingArea.js",
"../../Common/NumFormat.js", "../../Common/NumFormat.js",
"../../Word/Editor/Serialize2.js", "../../Word/Editor/Serialize2.js",
......
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
"../../Common/SerializeChart.js", "../../Common/SerializeChart.js",
"../../Common/Charts/charts.js", "../../Common/Charts/charts.js",
"../../Common/Charts/ChartsDrawer.js", "../../Common/Charts/ChartsDrawer.js",
"../../Common/Charts/3DTransformation.js",
"../../Common/Charts/DrawingArea.js", "../../Common/Charts/DrawingArea.js",
"../../Common/NumFormat.js", "../../Common/NumFormat.js",
"../../Word/Editor/Serialize2.js", "../../Word/Editor/Serialize2.js",
......
...@@ -670,7 +670,7 @@ DrawingObjectsController.prototype = ...@@ -670,7 +670,7 @@ DrawingObjectsController.prototype =
{ {
nPageIndex = this.drawingObjects.num; nPageIndex = this.drawingObjects.num;
} }
content.Update_CursorType(tx, ty, nPageIndex); content.Update_CursorType(tx, ty, 0);
ret.updated = true; ret.updated = true;
} }
else if(this.drawingObjects) else if(this.drawingObjects)
......
...@@ -266,7 +266,7 @@ function handleGroup(drawing, drawingObjectsController, e, x, y, group, pageInde ...@@ -266,7 +266,7 @@ function handleGroup(drawing, drawingObjectsController, e, x, y, group, pageInde
{ {
tx = invert_transform_text.TransformPointX(x, y); tx = invert_transform_text.TransformPointX(x, y);
ty = invert_transform_text.TransformPointY(x, y); ty = invert_transform_text.TransformPointY(x, y);
content.Update_CursorType(tx, ty, pageIndex); content.Update_CursorType(tx, ty, 0);
} }
} }
return {objectId: drawing.Get_Id(), cursorType: "text"}; return {objectId: drawing.Get_Id(), cursorType: "text"};
...@@ -347,7 +347,7 @@ function handleChart(drawing, drawingObjectsController, e, x, y, group, pageInde ...@@ -347,7 +347,7 @@ function handleChart(drawing, drawingObjectsController, e, x, y, group, pageInde
{ {
tx = invert_transform_text.TransformPointX(x, y); tx = invert_transform_text.TransformPointX(x, y);
ty = invert_transform_text.TransformPointY(x, y); ty = invert_transform_text.TransformPointY(x, y);
content.Update_CursorType(tx, ty, pageIndex); content.Update_CursorType(tx, ty, 0);
} }
} }
return {objectId: drawing.Get_Id(), cursorType: "text", title: title}; return {objectId: drawing.Get_Id(), cursorType: "text", title: title};
...@@ -449,7 +449,7 @@ function handleInlineChart(drawing, drawingObjectsController, e, x, y, pageIndex ...@@ -449,7 +449,7 @@ function handleInlineChart(drawing, drawingObjectsController, e, x, y, pageIndex
{ {
tx = invert_transform_text.TransformPointX(x, y); tx = invert_transform_text.TransformPointX(x, y);
ty = invert_transform_text.TransformPointY(x, y); ty = invert_transform_text.TransformPointY(x, y);
content.Update_CursorType(tx, ty, pageIndex); content.Update_CursorType(tx, ty, 0);
} }
} }
return {objectId: drawing.Get_Id(), cursorType: "text", title: title}; return {objectId: drawing.Get_Id(), cursorType: "text", title: title};
......
...@@ -3453,8 +3453,7 @@ CShape.prototype = ...@@ -3453,8 +3453,7 @@ CShape.prototype =
{ {
var tx = this.invertTransformText.TransformPointX(x, y); var tx = this.invertTransformText.TransformPointX(x, y);
var ty = this.invertTransformText.TransformPointY(x, y); var ty = this.invertTransformText.TransformPointY(x, y);
var page_num = this.parent instanceof Slide ? this.parent.num : 0; this.txBody.content.Update_CursorType(tx, ty, 0);
this.txBody.content.Update_CursorType(tx, ty, page_num);
} }
}, },
......
...@@ -464,6 +464,7 @@ CChartSpace.prototype.recalculate = function() ...@@ -464,6 +464,7 @@ CChartSpace.prototype.recalculate = function()
{ {
this.recalculateChart(); this.recalculateChart();
this.recalcInfo.recalculateChart = false; this.recalcInfo.recalculateChart = false;
this.checkAxisLabelsTransform();
} }
......
...@@ -260,6 +260,7 @@ ...@@ -260,6 +260,7 @@
<script type="text/javascript" src="../../../../OfficeWeb/Common/Charts/charts.js"></script> <script type="text/javascript" src="../../../../OfficeWeb/Common/Charts/charts.js"></script>
<script type="text/javascript" src="../../../../OfficeWeb/Common/Charts/ChartsDrawer.js"></script> <script type="text/javascript" src="../../../../OfficeWeb/Common/Charts/ChartsDrawer.js"></script>
<script type="text/javascript" src="../../../../OfficeWeb/Common/Charts/3DTransformation.js"></script>
<script type="text/javascript" src="../../../../OfficeWeb/Common/Charts/DrawingArea.js"></script> <script type="text/javascript" src="../../../../OfficeWeb/Common/Charts/DrawingArea.js"></script>
<script type="text/javascript" src="../../../../OfficeWeb/Common/NumFormat.js"></script> <script type="text/javascript" src="../../../../OfficeWeb/Common/NumFormat.js"></script>
<script type="text/javascript" src="../../../../OfficeWeb/Word/Editor/Serialize2.js"></script> <script type="text/javascript" src="../../../../OfficeWeb/Word/Editor/Serialize2.js"></script>
......
...@@ -377,6 +377,7 @@ CChartSpace.prototype.recalculate = function() ...@@ -377,6 +377,7 @@ CChartSpace.prototype.recalculate = function()
{ {
this.recalculateChart(); this.recalculateChart();
this.recalcInfo.recalculateChart = false; this.recalcInfo.recalculateChart = false;
this.checkAxisLabelsTransform();
} }
for(var i = 0; i < this.recalcInfo.dataLbls.length; ++i) for(var i = 0; i < this.recalcInfo.dataLbls.length; ++i)
......
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