diff --git a/src/ChangeLog b/src/ChangeLog index 8abe8f9b99..2dc64eb6fc 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2001-03-23 Lars Gullik Bjønnes + + * tabular.C: add some comments. + 2001-03-22 Juergen Vigna * buffer.C (parseSingleLyXformat2Token): redone the minipage diff --git a/src/tabular.C b/src/tabular.C index 7e26aa1e24..04ffe3e040 100644 --- a/src/tabular.C +++ b/src/tabular.C @@ -1993,6 +1993,7 @@ int LyXTabular::TeXCellPreamble(ostream & os, int cell) const if (LeftLine(cell)) os << '|'; if (!GetPWidth(cell).empty()) { +#warning Jürgen, are these alignments correct? (Lgb) switch (GetVAlignment(cell)) { case LYX_VALIGN_TOP: os << "p"; @@ -2043,6 +2044,7 @@ int LyXTabular::TeXCellPreamble(ostream & os, int cell) const } else if (GetUsebox(cell) == BOX_MINIPAGE) { os << "\\begin{minipage}["; switch (GetVAlignment(cell)) { +#warning Jürgen, are these alignments correct? (Lgb) case LYX_VALIGN_TOP: os << "t"; break; @@ -2107,6 +2109,7 @@ int LyXTabular::Latex(Buffer const * buf, os << column_info[i].align_special; } else if (!column_info[i].p_width.empty()) { switch (column_info[i].valignment) { +#warning Jürgen, are these alignments correct? (Lgb) case LYX_VALIGN_TOP: os << "p"; break;