mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-03 08:28:25 +00:00
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25445 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
788893bdea
commit
dd6d173082
@ -1865,7 +1865,6 @@ int Tabular::TeXCellPreamble(odocstream & os, idx_type cell, bool & ismulticol)
|
||||
&& leftLine(cellIndex(r, nextcol));
|
||||
bool coldouble = colright && nextcolleft;
|
||||
bool celldouble = rightLine(cell) && nextcellleft;
|
||||
bool prevcellright = c > 0 && rightLine(cellIndex(r, c - 1));
|
||||
ismulticol = isMultiColumn(cell)
|
||||
|| (c == 0 && colleft != leftLine(cell))
|
||||
|| ((colright || nextcolleft) && !rightLine(cell) && !nextcellleft)
|
||||
@ -1873,7 +1872,7 @@ int Tabular::TeXCellPreamble(odocstream & os, idx_type cell, bool & ismulticol)
|
||||
|| (coldouble != celldouble);
|
||||
if (ismulticol) {
|
||||
os << "\\multicolumn{" << columnSpan(cell) << "}{";
|
||||
if (leftLine(cell) || prevcellright)
|
||||
if (c ==0 && leftLine(cell))
|
||||
os << '|';
|
||||
if (!cellInfo(cell).align_special.empty()) {
|
||||
os << cellInfo(cell).align_special;
|
||||
|
Loading…
Reference in New Issue
Block a user