file2html-ooxml
Version:
OOXML engine for file2html
11 lines (10 loc) • 346 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
function shadingStyle(style, attributes) {
var backgroundColor = attributes['w:fill'];
if (backgroundColor && backgroundColor !== 'auto') {
style += 'background-color:#' + backgroundColor + ';';
}
return style;
}
exports.default = shadingStyle;
;