[SSE] Move
Move asc_getWrapText to cell info
This commit is contained in:
parent
f50d32b597
commit
e0268a7bee
|
@ -2320,7 +2320,7 @@ define([
|
|||
|
||||
/* read cell text wrapping */
|
||||
if (!toolbar.btnWrap.isDisabled()) {
|
||||
val = info.asc_getFlags().asc_getWrapText();
|
||||
val = info.asc_getWrapText();
|
||||
if (this._state.wrap !== val) {
|
||||
toolbar.btnWrap.toggle(val===true, true);
|
||||
this._state.wrap = val;
|
||||
|
|
|
@ -420,7 +420,7 @@ define([
|
|||
});
|
||||
|
||||
arrItems.push(
|
||||
cellinfo.asc_getFlags().asc_getWrapText() ?
|
||||
cellinfo.asc_getWrapText() ?
|
||||
{
|
||||
caption: me.menuUnwrap,
|
||||
event: 'unwrap'
|
||||
|
|
|
@ -219,7 +219,7 @@ define([
|
|||
vAlign = me._cellInfo.asc_getVertAlign(),
|
||||
hAlignStr = 'left',
|
||||
vAlignStr = 'bottom',
|
||||
isWrapText = me._cellInfo.asc_getFlags().asc_getWrapText();
|
||||
isWrapText = me._cellInfo.asc_getWrapText();
|
||||
|
||||
if (vAlign == Asc.c_oAscVAlign.Top)
|
||||
vAlignStr = 'top';
|
||||
|
|
Loading…
Reference in a new issue