Commit 019d0c37 authored by Igor.Zotov's avatar Igor.Zotov Committed by Alexander.Trofimov

рефакторинг

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@51760 954022d7-b5bf-4e40-9824-e11837661b57
parent bf41a3e4
...@@ -218,13 +218,6 @@ ...@@ -218,13 +218,6 @@
if (this._otherProps._crosshairs) { if (this._otherProps._crosshairs) {
OfficeExcel.DrawCrosshairs(this); OfficeExcel.DrawCrosshairs(this);
} }
/**
* If the canvas is annotatable, do install the event handlers
*/
if (this._otherProps._annotatable) {
OfficeExcel.Annotate(this);
}
/** /**
* This function enables resizing * This function enables resizing
......
...@@ -1974,9 +1974,6 @@ ...@@ -1974,9 +1974,6 @@
context.fill(); context.fill();
} }
if (OfficeExcel.ClearAnnotations)
OfficeExcel.ClearAnnotations(canvas.id);
OfficeExcel.FireCustomEvent(canvas.__object__, 'onclear'); OfficeExcel.FireCustomEvent(canvas.__object__, 'onclear');
} }
......
...@@ -368,13 +368,6 @@ ...@@ -368,13 +368,6 @@
*/ */
OfficeExcel.DrawInGraphLabels(this); OfficeExcel.DrawInGraphLabels(this);
/**
* If the canvas is annotatable, do install the event handlers
*/
if (this._otherProps._annotatable) {
OfficeExcel.Annotate(this);
}
/** /**
* This function enables resizing * This function enables resizing
*/ */
......
...@@ -394,10 +394,6 @@ ...@@ -394,10 +394,6 @@
// Draw crosschairs // Draw crosschairs
OfficeExcel.DrawCrosshairs(this); OfficeExcel.DrawCrosshairs(this);
// If the canvas is annotatable, do install the event handlers
if (this._otherProps._annotatable)
OfficeExcel.Annotate(this);
// Redraw the lines if a filled range is on the cards // Redraw the lines if a filled range is on the cards
if (this._otherProps._filled && this._otherProps._filled_range && this.data.length == 2) { if (this._otherProps._filled && this._otherProps._filled_range && this.data.length == 2) {
......
...@@ -491,14 +491,6 @@ ...@@ -491,14 +491,6 @@
OfficeExcel.NoShadow(this); OfficeExcel.NoShadow(this);
/**
* If the canvas is annotatable, do install the event handlers
*/
if (this._otherProps._annotatable) {
OfficeExcel.Annotate(this);
}
/** /**
* This function enables resizing * This function enables resizing
*/ */
......
...@@ -407,13 +407,6 @@ ...@@ -407,13 +407,6 @@
OfficeExcel.DrawCrosshairs(this); OfficeExcel.DrawCrosshairs(this);
/**
* If the canvas is annotatable, do install the event handlers
*/
if (this._otherProps._annotatable) {
OfficeExcel.Annotate(this);
}
/** /**
* This function enables resizing * This function enables resizing
*/ */
......
...@@ -125,7 +125,6 @@ ...@@ -125,7 +125,6 @@
<script type="text/javascript" src="../Common/SerializeCommonWordExcel.js"></script> <script type="text/javascript" src="../Common/SerializeCommonWordExcel.js"></script>
<script src="../Common/Charts/libraries/OfficeExcel.common.core.js"></script> <script src="../Common/Charts/libraries/OfficeExcel.common.core.js"></script>
<script src="../Common/Charts/libraries/OfficeExcel.common.annotate.js"></script>
<script src="../Common/Charts/libraries/OfficeExcel.common.context.js"></script> <script src="../Common/Charts/libraries/OfficeExcel.common.context.js"></script>
<script src="../Common/Charts/libraries/OfficeExcel.common.effects.js"></script> <script src="../Common/Charts/libraries/OfficeExcel.common.effects.js"></script>
<script src="../Common/Charts/libraries/OfficeExcel.common.key.js"></script> <script src="../Common/Charts/libraries/OfficeExcel.common.key.js"></script>
......
...@@ -194,7 +194,6 @@ ...@@ -194,7 +194,6 @@
<script type="text/javascript" src="../../../../OfficeWeb/Common/SerializeCommonWordExcel.js"></script> <script type="text/javascript" src="../../../../OfficeWeb/Common/SerializeCommonWordExcel.js"></script>
<script src="../../../../OfficeWeb/Common/Charts/libraries/OfficeExcel.common.core.js"></script> <script src="../../../../OfficeWeb/Common/Charts/libraries/OfficeExcel.common.core.js"></script>
<script src="../../../../OfficeWeb/Common/Charts/libraries/OfficeExcel.common.annotate.js"></script>
<script src="../../../../OfficeWeb/Common/Charts/libraries/OfficeExcel.common.context.js"></script> <script src="../../../../OfficeWeb/Common/Charts/libraries/OfficeExcel.common.context.js"></script>
<script src="../../../../OfficeWeb/Common/Charts/libraries/OfficeExcel.common.effects.js"></script> <script src="../../../../OfficeWeb/Common/Charts/libraries/OfficeExcel.common.effects.js"></script>
<script src="../../../../OfficeWeb/Common/Charts/libraries/OfficeExcel.common.key.js"></script> <script src="../../../../OfficeWeb/Common/Charts/libraries/OfficeExcel.common.key.js"></script>
......
...@@ -46,7 +46,6 @@ ...@@ -46,7 +46,6 @@
<script type="text/javascript" src="../Common/Charts/charts.js"></script> <script type="text/javascript" src="../Common/Charts/charts.js"></script>
<script type="text/javascript" src="../Common/SerializeCommonWordExcel.js"></script> <script type="text/javascript" src="../Common/SerializeCommonWordExcel.js"></script>
<script src="../Common/Charts/libraries/OfficeExcel.common.core.js"></script> <script src="../Common/Charts/libraries/OfficeExcel.common.core.js"></script>
<script src="../Common/Charts/libraries/OfficeExcel.common.annotate.js"></script>
<script src="../Common/Charts/libraries/OfficeExcel.common.context.js"></script> <script src="../Common/Charts/libraries/OfficeExcel.common.context.js"></script>
<script src="../Common/Charts/libraries/OfficeExcel.common.effects.js"></script> <script src="../Common/Charts/libraries/OfficeExcel.common.effects.js"></script>
<script src="../Common/Charts/libraries/OfficeExcel.common.key.js"></script> <script src="../Common/Charts/libraries/OfficeExcel.common.key.js"></script>
......
...@@ -111,7 +111,6 @@ ...@@ -111,7 +111,6 @@
<script type="text/javascript" src="../../../../OfficeWeb/Common/commonDefines.js"></script> <script type="text/javascript" src="../../../../OfficeWeb/Common/commonDefines.js"></script>
<script type="text/javascript" src="../../../../OfficeWeb/Common/SerializeCommonWordExcel.js"></script> <script type="text/javascript" src="../../../../OfficeWeb/Common/SerializeCommonWordExcel.js"></script>
<script type="text/javascript" src="../../../../OfficeWeb/Common/Charts/libraries/OfficeExcel.common.core.js"></script> <script type="text/javascript" src="../../../../OfficeWeb/Common/Charts/libraries/OfficeExcel.common.core.js"></script>
<script type="text/javascript" src="../../../../OfficeWeb/Common/Charts/libraries/OfficeExcel.common.annotate.js"></script>
<script type="text/javascript" src="../../../../OfficeWeb/Common/Charts/libraries/OfficeExcel.common.context.js"></script> <script type="text/javascript" src="../../../../OfficeWeb/Common/Charts/libraries/OfficeExcel.common.context.js"></script>
<script type="text/javascript" src="../../../../OfficeWeb/Common/Charts/libraries/OfficeExcel.common.effects.js"></script> <script type="text/javascript" src="../../../../OfficeWeb/Common/Charts/libraries/OfficeExcel.common.effects.js"></script>
<script type="text/javascript" src="../../../../OfficeWeb/Common/Charts/libraries/OfficeExcel.common.key.js"></script> <script type="text/javascript" src="../../../../OfficeWeb/Common/Charts/libraries/OfficeExcel.common.key.js"></script>
......
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