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

Исправлен баг с не посыланием сообщения об изменении размеров страниц (баг 21922).

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@51367 954022d7-b5bf-4e40-9824-e11837661b57
parent 5c3418a5
...@@ -6421,6 +6421,8 @@ CDocument.prototype = ...@@ -6421,6 +6421,8 @@ CDocument.prototype =
Page_Width = W; Page_Width = W;
Page_Height = H; Page_Height = H;
editor.sync_DocSizeCallback( W, H );
X_Left_Field = X_Left_Margin; X_Left_Field = X_Left_Margin;
X_Right_Field = Page_Width - X_Right_Margin; X_Right_Field = Page_Width - X_Right_Margin;
Y_Bottom_Field = Page_Height - Y_Bottom_Margin; Y_Bottom_Field = Page_Height - Y_Bottom_Margin;
...@@ -10169,6 +10171,8 @@ CDocument.prototype = ...@@ -10169,6 +10171,8 @@ CDocument.prototype =
Page_Width = Data.Width_old; Page_Width = Data.Width_old;
Page_Height = Data.Height_old; Page_Height = Data.Height_old;
editor.sync_DocSizeCallback( Page_Width, Page_Height );
X_Left_Field = X_Left_Margin; X_Left_Field = X_Left_Margin;
X_Right_Field = Page_Width - X_Right_Margin; X_Right_Field = Page_Width - X_Right_Margin;
Y_Bottom_Field = Page_Height - Y_Bottom_Margin; Y_Bottom_Field = Page_Height - Y_Bottom_Margin;
...@@ -10254,6 +10258,8 @@ CDocument.prototype = ...@@ -10254,6 +10258,8 @@ CDocument.prototype =
Page_Width = Data.Width_new; Page_Width = Data.Width_new;
Page_Height = Data.Height_new; Page_Height = Data.Height_new;
editor.sync_DocSizeCallback( Page_Width, Page_Height );
X_Left_Field = X_Left_Margin; X_Left_Field = X_Left_Margin;
X_Right_Field = Page_Width - X_Right_Margin; X_Right_Field = Page_Width - X_Right_Margin;
Y_Bottom_Field = Page_Height - Y_Bottom_Margin; Y_Bottom_Field = Page_Height - Y_Bottom_Margin;
...@@ -10997,6 +11003,8 @@ CDocument.prototype = ...@@ -10997,6 +11003,8 @@ CDocument.prototype =
Page_Width = Reader.GetDouble(); Page_Width = Reader.GetDouble();
Page_Height = Reader.GetDouble(); Page_Height = Reader.GetDouble();
editor.sync_DocSizeCallback( Page_Width, Page_Height );
X_Left_Field = X_Left_Margin; X_Left_Field = X_Left_Margin;
X_Right_Field = Page_Width - X_Right_Margin; X_Right_Field = Page_Width - X_Right_Margin;
Y_Bottom_Field = Page_Height - Y_Bottom_Margin; Y_Bottom_Field = Page_Height - Y_Bottom_Margin;
......
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