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

Исправлен баг с изменением размера буквицы, с помощью рамки (баг 20400).

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@49739 954022d7-b5bf-4e40-9824-e11837661b57
parent 39d2d177
...@@ -11068,8 +11068,9 @@ Paragraph.prototype = ...@@ -11068,8 +11068,9 @@ Paragraph.prototype =
TNewHeight = -TNewDescent + TNewAscent; TNewHeight = -TNewDescent + TNewAscent;
var Descent = g_oTextMeasurer.GetDescender(); var Descent = g_oTextMeasurer.GetDescender();
var Ascent = g_oTextMeasurer.GetAscender();
var Dy = Descent * (LineH * Count) / ( Ascent - Descent ) + TNewHeight - TNewAscent + LineTD; var Dy = Descent * (Height) / ( Ascent - Descent ) + TNewHeight - TNewAscent + LineTD;
var PTextPr = new ParaTextPr( { RFonts : { Ascii : { Name : TextPr.RFonts.Ascii.Name, Index : -1 } }, FontSize : TextPr.FontSize, Position : Dy } ); var PTextPr = new ParaTextPr( { RFonts : { Ascii : { Name : TextPr.RFonts.Ascii.Name, Index : -1 } }, FontSize : TextPr.FontSize, Position : Dy } );
this.Select_All(); this.Select_All();
......
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