Output column width info for XHTML.

This commit is contained in:
Richard Heck 2016-06-29 21:47:51 -04:00
parent f49556b3ed
commit ddc28f0374

View File

@ -2993,6 +2993,13 @@ docstring Tabular::xhtmlRow(XHTMLStream & xs, row_type row,
continue;
stringstream attr;
Length const cwidth = column_info[c].p_width;
if (!cwidth.zero()) {
string const hwidth = cwidth.asHTMLString();
attr << "style =\"width: " << hwidth << ";\" ";
}
attr << "align='";
switch (getAlignment(cell)) {
case LYX_ALIGN_LEFT: