html2openxml
html2openxml copied to clipboard
TableGrid style is not working
Steps to Reproduce:
- convert html file with simple table with border=1.
- open converted word and apply Table Design Style "TableGrid" and see the difference. Borders are coming as darker one with compared to TableGrid style. but, Default Table Design Style is "TableGrid", which is not getting applicable here.
Possible fix can be this.
in ProcessTableRow function
remove
//properties.AddChild(new TableCellSpacing() { Type = TableWidthUnitValues.Dxa, Width = "0" });
ref: https://docs.microsoft.com/en-us/dotnet/api/documentformat.openxml.wordprocessing.tablecellspacing?view=openxml-2.8.1