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

Исправлен баг со вставлением нумерации страницы не в тот ран (баг 30889).

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@66346 954022d7-b5bf-4e40-9824-e11837661b57
parent 0dc18375
...@@ -1480,7 +1480,9 @@ CDocumentContent.prototype = ...@@ -1480,7 +1480,9 @@ CDocumentContent.prototype =
Para2.Style_Add( StyleId ); Para2.Style_Add( StyleId );
Para1.Set_Align( Align, false ); Para1.Set_Align( Align, false );
Para1.Add( new ParaPageNum() ); var Run = new ParaRun(Para1, false);
Run.Add_ToContent(0, new ParaPageNum());
Para1.Add_ToContent(0, Run);
this.Recalculate(); this.Recalculate();
}, },
......
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