mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-24 13:48:59 +00:00
Output column width info for XHTML.
(cherry picked from commit ddc28f0374
)
This commit is contained in:
parent
88f6da78af
commit
63f6ee213c
@ -2988,6 +2988,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:
|
||||
|
@ -165,6 +165,8 @@ What's new
|
||||
|
||||
* LYXHTML
|
||||
|
||||
- Output width of table columns (bug 8168).
|
||||
|
||||
- Fix output of math sizes (bug 10129).
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user