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

Исправлен баг с копированием настроек из исходного параграфа в параграф с буквицей (баг 20414).

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@50225 954022d7-b5bf-4e40-9824-e11837661b57
parent 0451f5ab
......@@ -1930,6 +1930,7 @@ CDocument.prototype =
var FramePr = new CFramePr();
FramePr.Init_Default_DropCap( bInText );
NewParagraph.Set_FrameParaPr( OldParagraph );
NewParagraph.Set_FramePr2( FramePr );
NewParagraph.Update_DropCapByLines( TextPr, NewParagraph.Pr.FramePr.Lines, LineH, LineTA, LineTD );
......
......@@ -10765,6 +10765,12 @@ Paragraph.prototype =
this.CompiledPr.NeedRecalc = true;
},
Set_FrameParaPr : function(Para)
{
Para.CopyPr( this );
this.Set_Spacing( { After : 0 }, false );
},
Get_FrameBounds : function(FrameX, FrameY, FrameW, FrameH)
{
var X0 = FrameX, Y0 = FrameY, X1 = FrameX + FrameW, Y1 = FrameY + FrameH;
......
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