Skip to content

Commit

Permalink
Merge pull request #2779 from ONLYOFFICE/fix/exportForImageBullet
Browse files Browse the repository at this point in the history
fix: export to global CPresentationBullet constructor
  • Loading branch information
SergeyLuzyanin authored May 26, 2022
2 parents 8807599 + c178542 commit 8efacc9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion common/editorscommon.js
Original file line number Diff line number Diff line change
Expand Up @@ -10005,7 +10005,7 @@
for (let i = 0; i < infoOfDrawings.length; i += 1) {
const drawInfo = infoOfDrawings[i];
const type = drawInfo.type;
const bullet = new CPresentationBullet();
const bullet = new AscCommonWord.CPresentationBullet();
const textPr = new CTextPr();
textPr.Color = g_oDocumentDefaultStrokeColor;
switch (type)
Expand Down
1 change: 1 addition & 0 deletions word/Editor/Numbering/PresentationNumbering.js
Original file line number Diff line number Diff line change
Expand Up @@ -602,3 +602,4 @@ CPresentationBullet.prototype.IsAlpha = function()
//--------------------------------------------------------export--------------------------------------------------------
window['AscCommonWord'] = window['AscCommonWord'] || {};
window['AscCommonWord'].getAdaptedNumberingFormat = getAdaptedNumberingFormat;
window['AscCommonWord'].CPresentationBullet = CPresentationBullet;

0 comments on commit 8efacc9

Please sign in to comment.