mirror of
https://github.com/ONLYOFFICE/sdkjs.git
synced 2026-04-07 14:09:12 +08:00
исключаем pivot table при отрисовке миниатюр форматированных таблиц.
git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@47137 954022d7-b5bf-4e40-9824-e11837661b57
This commit is contained in:
committed by
Alexander.Trofimov
parent
abb92f2ea9
commit
6cc541aecb
@ -1501,13 +1501,16 @@
|
||||
{
|
||||
for(var i in customStyles)
|
||||
{
|
||||
result[n] =
|
||||
if(customStyles[i].table)
|
||||
{
|
||||
name: i,
|
||||
type: 'custom',
|
||||
image: this._drawSmallIconTable(canvas,customStyles[i])
|
||||
};
|
||||
n++;
|
||||
result[n] =
|
||||
{
|
||||
name: i,
|
||||
type: 'custom',
|
||||
image: this._drawSmallIconTable(canvas,customStyles[i])
|
||||
};
|
||||
n++;
|
||||
}
|
||||
}
|
||||
}
|
||||
var defaultStyles = wb.TableStyles.DefaultStyles;
|
||||
@ -1515,13 +1518,16 @@
|
||||
{
|
||||
for(var i in defaultStyles)
|
||||
{
|
||||
result[n] =
|
||||
if(defaultStyles[i].table)
|
||||
{
|
||||
name: i,
|
||||
type: 'default',
|
||||
image: this._drawSmallIconTable(canvas,defaultStyles[i])
|
||||
};
|
||||
n++;
|
||||
result[n] =
|
||||
{
|
||||
name: i,
|
||||
type: 'default',
|
||||
image: this._drawSmallIconTable(canvas,defaultStyles[i])
|
||||
};
|
||||
n++;
|
||||
}
|
||||
}
|
||||
}
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user