[DE] Fix Bug 44023

This commit is contained in:
Julia Radzhabova 2019-12-27 17:16:06 +03:00
parent 09ef1d8f58
commit 006a50fd0c

View file

@ -269,6 +269,7 @@ define([
};
this.addNewBullet(callback);
} else {
var oldformat = this._changedProps.get_Format();
this._changedProps.put_Format(record.value);
if (record.value == Asc.c_oAscNumberingFormat.Bullet) {
this.bulletProps.font = record.font;
@ -278,6 +279,13 @@ define([
this._changedProps.put_Text([new Asc.CAscNumberingLvlText()]);
this._changedProps.get_Text()[0].put_Value(this.bulletProps.symbol);
} else if (record.value == Asc.c_oAscNumberingFormat.None || oldformat == Asc.c_oAscNumberingFormat.Bullet) {
if (!this._changedProps.get_TextPr()) this._changedProps.put_TextPr(new AscCommonWord.CTextPr());
this._changedProps.get_TextPr().put_FontFamily(undefined);
this._changedProps.put_Text([new Asc.CAscNumberingLvlText()]);
this._changedProps.get_Text()[0].put_Type(Asc.c_oAscNumberingLvlTextType.Num);
this._changedProps.get_Text()[0].put_Value(this.level);
}
}
}