[PE][SSE] Fix custom bullets
This commit is contained in:
parent
5ab9ea3550
commit
fd386eea95
|
@ -538,7 +538,7 @@ define([
|
|||
rec.get('data').subtype = 0x1000;
|
||||
rec.set('drawdata', {type: type, char: symbol, specialFont: bullet.asc_getSpecialFont()});
|
||||
rec.set('tip', '');
|
||||
this.updateBulletTip(this.toolbar.mnuMarkersPicker.dataViewItems[8], '');
|
||||
this.toolbar.mnuMarkersPicker.dataViewItems && this.updateBulletTip(this.toolbar.mnuMarkersPicker.dataViewItems[8], '');
|
||||
drawDefBullet = false;
|
||||
idx = 8;
|
||||
}
|
||||
|
@ -548,7 +548,7 @@ define([
|
|||
rec.get('data').subtype = 0x1000;
|
||||
rec.set('drawdata', {type: type, imageId: id});
|
||||
rec.set('tip', '');
|
||||
this.updateBulletTip(this.toolbar.mnuMarkersPicker.dataViewItems[8], '');
|
||||
this.toolbar.mnuMarkersPicker.dataViewItems && this.updateBulletTip(this.toolbar.mnuMarkersPicker.dataViewItems[8], '');
|
||||
drawDefBullet = false;
|
||||
idx = 8;
|
||||
}
|
||||
|
@ -595,7 +595,7 @@ define([
|
|||
rec.get('data').subtype = 8;
|
||||
rec.set('drawdata', this.toolbar._markersArr[8]);
|
||||
rec.set('tip', this.toolbar.tipMarkersDash);
|
||||
this.updateBulletTip(this.toolbar.mnuMarkersPicker.dataViewItems[8], this.toolbar.tipMarkersDash);
|
||||
this.toolbar.mnuMarkersPicker.dataViewItems && this.updateBulletTip(this.toolbar.mnuMarkersPicker.dataViewItems[8], this.toolbar.tipMarkersDash);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
@ -2143,7 +2143,7 @@ define([
|
|||
rec.set('subtype', 0x1000);
|
||||
rec.set('drawdata', {type: bullettype, char: symbol, specialFont: bullet.asc_getSpecialFont()});
|
||||
rec.set('tip', '');
|
||||
this.updateBulletTip(documentHolder.paraBulletsPicker.dataViewItems[7], '');
|
||||
documentHolder.paraBulletsPicker.dataViewItems && this.updateBulletTip(documentHolder.paraBulletsPicker.dataViewItems[7], '');
|
||||
drawDefBullet = false;
|
||||
|
||||
}
|
||||
|
@ -2154,7 +2154,7 @@ define([
|
|||
rec.set('subtype', 0x1000);
|
||||
rec.set('drawdata', {type: bullettype, imageId: id});
|
||||
rec.set('tip', '');
|
||||
this.updateBulletTip(documentHolder.paraBulletsPicker.dataViewItems[7], '');
|
||||
documentHolder.paraBulletsPicker.dataViewItems && this.updateBulletTip(documentHolder.paraBulletsPicker.dataViewItems[7], '');
|
||||
drawDefBullet = false;
|
||||
}
|
||||
}
|
||||
|
@ -2165,7 +2165,7 @@ define([
|
|||
defrec.set('subtype', 8);
|
||||
defrec.set('drawdata', documentHolder._markersArr[7]);
|
||||
defrec.set('tip', documentHolder.tipMarkersDash);
|
||||
this.updateBulletTip(documentHolder.paraBulletsPicker.dataViewItems[7], documentHolder.tipMarkersDash);
|
||||
documentHolder.paraBulletsPicker.dataViewItems && this.updateBulletTip(documentHolder.paraBulletsPicker.dataViewItems[7], documentHolder.tipMarkersDash);
|
||||
}
|
||||
} else if (elType == Asc.c_oAscTypeSelectElement.Paragraph) {
|
||||
documentHolder.pmiTextAdvanced.textInfo = selectedObjects[i].asc_getObjectValue();
|
||||
|
|
Loading…
Reference in a new issue