diff --git a/oform/format/UserMaster.js b/oform/format/UserMaster.js index e5b4561..37d7138 100644 --- a/oform/format/UserMaster.js +++ b/oform/format/UserMaster.js @@ -134,6 +134,10 @@ { return this.Role ? this.Role : ""; }; + CUserMaster.prototype.isNoRole = function() + { + return (this === AscOForm.getNoRole()); + }; CUserMaster.prototype.setColor = function(r, g, b) { let newColor = undefined !== r && null !== r ? new AscWord.CDocumentColor(r, g, b) : undefined;