Returns the document macros.
This method doesn't have any parameters.
window.Asc.plugin.executeMethod ("GetMacros", [JSON.stringify(Content)], function(data) { try { Content = JSON.parse (data); for (var i = 0; i < Content.macrosArray.length; i++) { var value = Content.macrosArray[i].name; if (undefined === value) value = ""; value = value.replace (/&/g,'&'); value = value.replace (//g,'>'); value = value.replace (/'/g,'''); value = value.replace (/"/g,'"'); Content.macrosArray[i].name = value; } } catch (err) { Content = { macrosArray : [], current : -1 }; } });