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

Исправлен баг с применением заливки параграфа внутри колонтитулов и автофигур (баг 29535)

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@64778 954022d7-b5bf-4e40-9824-e11837661b57
parent 28659700
...@@ -6301,6 +6301,7 @@ CDocument.prototype = ...@@ -6301,6 +6301,7 @@ CDocument.prototype =
if ( docpostype_HdrFtr === this.CurPos.Type ) if ( docpostype_HdrFtr === this.CurPos.Type )
{ {
this.HdrFtr.Set_ParagraphShd(Shd); this.HdrFtr.Set_ParagraphShd(Shd);
this.Recalculate();
this.Document_UpdateSelectionState(); this.Document_UpdateSelectionState();
this.Document_UpdateInterfaceState(); this.Document_UpdateInterfaceState();
return; return;
...@@ -6308,6 +6309,7 @@ CDocument.prototype = ...@@ -6308,6 +6309,7 @@ CDocument.prototype =
else if ( docpostype_DrawingObjects === this.CurPos.Type ) else if ( docpostype_DrawingObjects === this.CurPos.Type )
{ {
this.DrawingObjects.setParagraphShd(Shd); this.DrawingObjects.setParagraphShd(Shd);
this.Recalculate();
this.Document_UpdateSelectionState(); this.Document_UpdateSelectionState();
this.Document_UpdateInterfaceState(); this.Document_UpdateInterfaceState();
return; return;
...@@ -11959,6 +11961,7 @@ CDocument.prototype = ...@@ -11959,6 +11961,7 @@ CDocument.prototype =
{ {
this.DrawingObjects.resetInterfaceTextPr(); this.DrawingObjects.resetInterfaceTextPr();
this.Interface_Update_DrawingPr(); this.Interface_Update_DrawingPr();
this.Interface_Update_ParaPr();
} }
} }
else if ( docpostype_Content == this.CurPos.Type && ( ( true === this.Selection.Use && this.Selection.StartPos == this.Selection.EndPos && type_Table == this.Content[this.Selection.StartPos].GetType() ) || ( false == this.Selection.Use && type_Table == this.Content[this.CurPos.ContentPos].GetType() ) ) ) else if ( docpostype_Content == this.CurPos.Type && ( ( true === this.Selection.Use && this.Selection.StartPos == this.Selection.EndPos && type_Table == this.Content[this.Selection.StartPos].GetType() ) || ( false == this.Selection.Use && type_Table == this.Content[this.CurPos.ContentPos].GetType() ) ) )
......
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