mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
Output column width info for XHTML.
This commit is contained in:
parent
f49556b3ed
commit
ddc28f0374
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user