Commit 2eb55c87 authored by Dmitry.Vikulov's avatar Dmitry.Vikulov Committed by Alexander.Trofimov

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@47640 954022d7-b5bf-4e40-9824-e11837661b57
parent 22f31835
...@@ -2023,6 +2023,8 @@ function DrawingObjects() { ...@@ -2023,6 +2023,8 @@ function DrawingObjects() {
var overlayCtx = null; var overlayCtx = null;
var shapeCtx = null; var shapeCtx = null;
var shapeOverlayCtx = null; var shapeOverlayCtx = null;
var trackOverlay = null;
var autoShapeTrack = null; var autoShapeTrack = null;
var aObjects = null; var aObjects = null;
...@@ -2055,8 +2057,12 @@ function DrawingObjects() { ...@@ -2055,8 +2057,12 @@ function DrawingObjects() {
overlayCtx = currentSheet.overlayCtx; overlayCtx = currentSheet.overlayCtx;
shapeCtx = currentSheet.shapeCtx; shapeCtx = currentSheet.shapeCtx;
shapeOverlayCtx = currentSheet.shapeOverlayCtx; shapeOverlayCtx = currentSheet.shapeOverlayCtx;
trackOverlay = new COverlay();
trackOverlay.init( shapeOverlayCtx.m_oContext, "ws-canvas-overlay", 0, 0, shapeOverlayCtx.m_lWidthPix, shapeOverlayCtx.m_lHeightPix, shapeOverlayCtx.m_dWidthMM, shapeOverlayCtx.m_dHeightMM );
autoShapeTrack = new CAutoshapeTrack(); autoShapeTrack = new CAutoshapeTrack();
autoShapeTrack.init( shapeOverlayCtx, 0, 0, shapeOverlayCtx.m_dWidthMM, shapeOverlayCtx.m_dHeightMM, shapeOverlayCtx.m_lWidthPix , shapeOverlayCtx.m_lHeightPix ); autoShapeTrack.init( trackOverlay, 0, 0, shapeOverlayCtx.m_lWidthPix, shapeOverlayCtx.m_lHeightPix, shapeOverlayCtx.m_dWidthMM, shapeOverlayCtx.m_dHeightMM );
isViewerMode = function() { return worksheet._trigger("getViewerMode"); }; isViewerMode = function() { return worksheet._trigger("getViewerMode"); };
...@@ -3809,6 +3815,9 @@ function DrawingObjects() { ...@@ -3809,6 +3815,9 @@ function DrawingObjects() {
_this.showDrawingObjects(false); _this.showDrawingObjects(false);
} }
_this.addGraphicGroup = function() {
}
_this.insertUngroupedObjects = function(idGroup, aGraphics) { _this.insertUngroupedObjects = function(idGroup, aGraphics) {
if ( idGroup && aGraphics.length ) { if ( idGroup && aGraphics.length ) {
......
...@@ -157,8 +157,9 @@ ...@@ -157,8 +157,9 @@
<script src="../Common/Charts/libraries/rgbcolor.js"></script> <script src="../Common/Charts/libraries/rgbcolor.js"></script>
<!--for shapes--> <!--for shapes-->
<script src="../Word/Drawing/Graphics.js"></script> <script src="model/DrawingObjects/Graphics.js"></script>
<script src="../Word/Drawing/Overlay.js"></script> <script src="model/DrawingObjects/Overlay.js"></script>
<script src="model/DrawingObjects/Controls.js"></script>
<script src="model/DrawingObjects/DrawingObjectsController.js"></script> <script src="model/DrawingObjects/DrawingObjectsController.js"></script>
<script src="model/DrawingObjects/States.js"></script> <script src="model/DrawingObjects/States.js"></script>
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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