Commit f7eac146 authored by Dmitry.Shahtanov's avatar Dmitry.Shahtanov Committed by Alexander.Trofimov

для отрисовки диапазонов в диаграммах и формулах

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@50865 954022d7-b5bf-4e40-9824-e11837661b57
parent eb07d62c
......@@ -2985,9 +2985,15 @@
var yFormula1 = this.rows[aFormulaIntersection.r1].top - offsetY;
var yFormula2 = this.rows[aFormulaIntersection.r2].top + this.rows[aFormulaIntersection.r2].height - offsetY - this.height_1px;
if (drawTopSideFormula) {ctx.lineHor(xFormula1, yFormula1 - this.height_1px, xFormula2 + this.width_1px);}
if (drawBottomSideFormula) {ctx.lineHor(xFormula1, yFormula2, xFormula2 + this.width_1px);}
if (drawLeftSideFormula) {ctx.lineVer(xFormula1, yFormula1, yFormula2);}
if ( drawTopSideFormula && aFormulaIntersection.r1 != this.visibleRange.r1 ) {
ctx.lineHor( xFormula1 + this.width_1px, yFormula1 - this.height_1px, xFormula2 + this.width_1px );
}
if ( drawBottomSideFormula ) {
ctx.lineHor( xFormula1 + this.width_1px, yFormula2, xFormula2 + this.width_1px );
}
if ( drawLeftSideFormula && aFormulaIntersection.c1 != this.visibleRange.c1 ) {
ctx.lineVer( xFormula1, yFormula1 - this.width_1px * (aFormulaIntersection.r1 != this.visibleRange.r1), yFormula2 + this.width_1px );
}
if (drawRightSideFormula) {ctx.lineVer(xFormula2, yFormula1, yFormula2);}
if (drawLeftSideFormula && drawTopSideFormula)
......
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