git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@48920 954022d7-b5bf-4e40-9824-e11837661b57

This commit is contained in:
Oleg.Korshul
2013-08-19 09:38:43 +00:00
committed by Alexander.Trofimov
parent 5aa406214d
commit 269b87cefc
4 changed files with 35 additions and 2 deletions

View File

@ -544,6 +544,27 @@ CGraphics.prototype =
this.m_oContext.globalAlpha = alpha;
}
},
Start_GlobalAlpha : function()
{
},
End_GlobalAlpha : function()
{
if (false === this.m_bIntegerGrid)
{
this.m_oContext.setTransform(1,0,0,1,0,0);
}
this.b_color1(255, 255, 255, 140);
this.m_oContext.fillRect(0, 0, this.m_lWidthPix, this.m_lHeightPix);
this.m_oContext.beginPath();
if (false === this.m_bIntegerGrid)
{
this.m_oContext.setTransform(this.m_oFullTransform.sx,this.m_oFullTransform.shy,this.m_oFullTransform.shx,
this.m_oFullTransform.sy,this.m_oFullTransform.tx,this.m_oFullTransform.ty);
}
},
// pen methods
p_color : function(r,g,b,a)
{

View File

@ -1641,6 +1641,12 @@ CDocumentRenderer.prototype =
put_GlobalAlpha : function(enable, alpha)
{
},
Start_GlobalAlpha : function()
{
},
End_GlobalAlpha : function()
{
},
DrawHeaderEdit : function(yPos)
{
},

View File

@ -1695,6 +1695,12 @@ CSlideBoundsChecker.prototype =
put_GlobalAlpha : function(enable, alpha)
{
},
Start_GlobalAlpha : function()
{
},
End_GlobalAlpha : function()
{
},
// pen methods
p_color : function(r,g,b,a)
{

View File

@ -1328,7 +1328,7 @@ CDocument.prototype =
// Рисуем содержимое документа на данной странице
if ( docpostype_HdrFtr === this.CurPos.Type )
pGraphics.Start_GlobalAlpha();
pGraphics.put_GlobalAlpha(true, 0.4);
else
pGraphics.End_GlobalAlpha();
@ -1345,7 +1345,7 @@ CDocument.prototype =
this.DrawingObjects.drawBeforeObjects( nPageIndex, pGraphics );
if ( docpostype_HdrFtr === this.CurPos.Type )
pGraphics.End_GlobalAlpha();
pGraphics.put_GlobalAlpha(false, 1.0);
},
Add_NewParagraph : function(bRecalculate)