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

баг во врапе в ячейках таблиц

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@57327 954022d7-b5bf-4e40-9824-e11837661b57
parent 77089b09
...@@ -916,7 +916,7 @@ CWrapManager.prototype = ...@@ -916,7 +916,7 @@ CWrapManager.prototype =
{ {
for(index = 0; index < objects_count; ++index) for(index = 0; index < objects_count; ++index)
{ {
if(arrGraphicObjects[index].DocumentContent === docContent) if(arrGraphicObjects[index].parent && arrGraphicObjects[index].parent.DocumentContent === docContent)
{ {
arrGraphicObjects[index].getArrayWrapIntervals(x0,y0, x1, y1, Y0sp, Y1Ssp, LeftField, RightField, arr_intervals); arrGraphicObjects[index].getArrayWrapIntervals(x0,y0, x1, y1, Y0sp, Y1Ssp, LeftField, RightField, arr_intervals);
} }
...@@ -941,7 +941,7 @@ CWrapManager.prototype = ...@@ -941,7 +941,7 @@ CWrapManager.prototype =
arrGraphicObjects = hdr_footer_objects.wrappingObjects; arrGraphicObjects = hdr_footer_objects.wrappingObjects;
for(index = 0; index < arrGraphicObjects.length; ++index) for(index = 0; index < arrGraphicObjects.length; ++index)
{ {
if(arrGraphicObjects[index].DocumentContent === docContent) if(arrGraphicObjects[index].parent && arrGraphicObjects[index].parent.DocumentContent === docContent)
{ {
arrGraphicObjects[index].getArrayWrapIntervals(x0,y0, x1, y1, Y0sp, Y1Ssp, LeftField, RightField, arr_intervals); arrGraphicObjects[index].getArrayWrapIntervals(x0,y0, x1, y1, Y0sp, Y1Ssp, LeftField, RightField, arr_intervals);
} }
......
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