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

Исправлен баг с неправильным сохранением добавления буквицы в совместном редатировании (баг 19872).

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@49844 954022d7-b5bf-4e40-9824-e11837661b57
parent c2eca8aa
......@@ -1904,8 +1904,9 @@ CDocument.prototype =
var LineTA = OldParagraph.Lines[0].Metrics.TextAscent2;
var LineTD = OldParagraph.Lines[0].Metrics.TextDescent + OldParagraph.Lines[0].Metrics.LineGap;
NewParagraph.Pr.FramePr = new CFramePr();
NewParagraph.Pr.FramePr.Init_Default_DropCap( bInText );
var FramePr = new CFramePr();
FramePr.Init_Default_DropCap( bInText );
NewParagraph.Set_FramePr2( FramePr );
NewParagraph.Update_DropCapByLines( TextPr, NewParagraph.Pr.FramePr.Lines, LineH, LineTA, LineTD );
this.Internal_Content_Add( Pos, NewParagraph );
......
......@@ -10703,6 +10703,13 @@ Paragraph.prototype =
this.CompiledPr.NeedRecalc = true;
},
Set_FramePr2 : function(FramePr)
{
History.Add( this, { Type : historyitem_Paragraph_FramePr, Old : this.Pr.FramePr, New : FramePr } );
this.Pr.FramePr = FramePr;
this.CompiledPr.NeedRecalc = true;
},
Set_CalculatedFrame : function(L, T, W, H, PageIndex)
{
this.CalculatedFrame.T = T;
......
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