mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +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