Commit 6cc541ae authored by Igor.Zotov's avatar Igor.Zotov Committed by Alexander.Trofimov

исключаем pivot table при отрисовке миниатюр форматированных таблиц.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@47137 954022d7-b5bf-4e40-9824-e11837661b57
parent abb92f2e
...@@ -1500,6 +1500,8 @@ ...@@ -1500,6 +1500,8 @@
if(customStyles) if(customStyles)
{ {
for(var i in customStyles) for(var i in customStyles)
{
if(customStyles[i].table)
{ {
result[n] = result[n] =
{ {
...@@ -1510,10 +1512,13 @@ ...@@ -1510,10 +1512,13 @@
n++; n++;
} }
} }
}
var defaultStyles = wb.TableStyles.DefaultStyles; var defaultStyles = wb.TableStyles.DefaultStyles;
if(defaultStyles) if(defaultStyles)
{ {
for(var i in defaultStyles) for(var i in defaultStyles)
{
if(defaultStyles[i].table)
{ {
result[n] = result[n] =
{ {
...@@ -1524,6 +1529,7 @@ ...@@ -1524,6 +1529,7 @@
n++; n++;
} }
} }
}
return result; return result;
}, },
......
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