Home Forums DITA and XMetaL Discussion Default column widths in tables Reply To: Default column widths in tables

Derek Read

Reply to: Default column widths in tables

If you are really interested in pursuing this, a macro containing the following would probably do it.
The problem (as noted previously) would be locating an event where it will not conflict with DITA functionality (and that officially making such changes is unsupported).

//XMetaL Script Language JScript:
var rng = ActiveDocument.Range;
rng.MoveToDocumentStart();
while(rng.MoveToElement("colspec")) {
if(rng.ContainerAttribute("colwidth") == "*") {
rng.ContainerNode.removeAttribute("colwidth");
}
}

Reply

Products
Downloads
Support