Commit 66ad27a3 authored by Ilya.Kirillov's avatar Ilya.Kirillov Committed by Alexander.Trofimov

Сделано ускорение отрисовки параграфа: ускорена отрисовка подчеркиваний и...

Сделано ускорение отрисовки параграфа: ускорена отрисовка подчеркиваний и зачеркиваний, выделения и т.д.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@47446 954022d7-b5bf-4e40-9824-e11837661b57
parent 4dd8a956
...@@ -1080,8 +1080,7 @@ CDocument.prototype = ...@@ -1080,8 +1080,7 @@ CDocument.prototype =
var Page_EndPos = this.Pages[nPageIndex].EndPos; var Page_EndPos = this.Pages[nPageIndex].EndPos;
for ( var Index = Page_StartPos; Index <= Page_EndPos; Index++ ) for ( var Index = Page_StartPos; Index <= Page_EndPos; Index++ )
{ {
if ( -1 == this.Content[Index].Draw(nPageIndex, pGraphics) ) this.Content[Index].Draw(nPageIndex, pGraphics);
break;
} }
this.DrawingObjects.drawBeforeObjects( nPageIndex, pGraphics ); this.DrawingObjects.drawBeforeObjects( nPageIndex, pGraphics );
......
...@@ -795,8 +795,7 @@ CDocumentContent.prototype = ...@@ -795,8 +795,7 @@ CDocumentContent.prototype =
for ( var Index = this.Pages[PageNum].Pos; Index < Count; Index++ ) for ( var Index = this.Pages[PageNum].Pos; Index < Count; Index++ )
{ {
if ( -1 == this.Content[Index].Draw(PageNum, pGraphics) ) this.Content[Index].Draw(PageNum, pGraphics);
break;
} }
if ( true === bClip ) if ( true === bClip )
......
This source diff could not be displayed because it is too large. You can view the blob instead.
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