Commit 7b98a356 authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

добавлен WrapType в CBoundsRectForMath

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@64668 954022d7-b5bf-4e40-9824-e11837661b57
parent 2d1cad1d
...@@ -14,6 +14,7 @@ function CBoundsRectForMath(oDrawing) ...@@ -14,6 +14,7 @@ function CBoundsRectForMath(oDrawing)
{ {
case para_Drawing: case para_Drawing:
{ {
this.WrapType = oDrawing.wrappingType;
switch(oDrawing.wrappingType) switch(oDrawing.wrappingType)
{ {
case WRAPPING_TYPE_NONE: case WRAPPING_TYPE_NONE:
...@@ -45,6 +46,7 @@ function CBoundsRectForMath(oDrawing) ...@@ -45,6 +46,7 @@ function CBoundsRectForMath(oDrawing)
case flowobject_Paragraph: case flowobject_Paragraph:
case flowobject_Table: case flowobject_Table:
{ {
this.WrapType = oDrawing.WrappingType;
switch(oDrawing.WrappingType) switch(oDrawing.WrappingType)
{ {
case WRAPPING_TYPE_NONE: case WRAPPING_TYPE_NONE:
...@@ -77,6 +79,7 @@ function CBoundsRectForMath(oDrawing) ...@@ -77,6 +79,7 @@ function CBoundsRectForMath(oDrawing)
} }
else else
{ {
this.WrapType = WRAPPING_TYPE_NONE;
this.Distance = new CDistance(0, 0, 0, 0); this.Distance = new CDistance(0, 0, 0, 0);
} }
} }
......
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