|
@@ -57,13 +57,15 @@ function setDefaultSource(sourceText){
|
|
|
}
|
|
|
|
|
|
function handleCellStyle(cell){
|
|
|
- return `
|
|
|
+ let res = `
|
|
|
color: ${cell.fc};
|
|
|
font-weight: ${cell.bl ? 'bold' : 'normal'};
|
|
|
font-style: ${cell.it ? 'italic' : 'normal'};
|
|
|
text-align: ${HtObj[cell.HorizontalType]};
|
|
|
font-family: ${handleFF(cell.ff)};
|
|
|
- `
|
|
|
+ `;
|
|
|
+ if(cell.cl || cell.un) res += `text-decoration:${cell.cl ? 'line-through' : ''} ${cell.un ? 'underline' : ''};`;
|
|
|
+ return res;
|
|
|
}
|
|
|
|
|
|
function handleFF(ff){
|