the majority of the people who responded were clearly in favor of
defaulting to tables without lines
it makes more sense in any case so unless someone is going to point a
shotgun at me, i am going to shove in the attached...
Index: src/tabular.C
===================================================================
--- src/tabular.C (revision 14176)
+++ src/tabular.C (working copy)
@@ -319,9 +319,9 @@
multicolumn(LyXTabular::CELL_NORMAL),
alignment(LYX_ALIGN_CENTER),
valignment(LYX_VALIGN_TOP),
- top_line(true),
+ top_line(false),
bottom_line(false),
- left_line(true),
+ left_line(false),
right_line(false),
usebox(BOX_NONE),
rotate(false),
@@ -378,7 +378,7 @@
LyXTabular::rowstruct::rowstruct()
: ascent_of_row(0),
descent_of_row(0),
- top_line(true),
+ top_line(false),
bottom_line(false),
endhead(false),
endfirsthead(false),
@@ -391,7 +391,7 @@
LyXTabular::columnstruct::columnstruct()
: alignment(LYX_ALIGN_CENTER),
valignment(LYX_VALIGN_TOP),
- left_line(true),
+ left_line(false),
right_line(false),
width_of_column(0)
{
@@ -412,7 +412,6 @@
}
-// activates all lines and sets all widths to 0
void LyXTabular::init(BufferParams const & bp, row_type rows_arg,
col_type columns_arg)
{
@@ -425,11 +424,6 @@
column_info.reserve(10);
cell_info.reserve(100);
fixCellNums();
- for (row_type i = 0; i < rows_; ++i)
- cell_info[i].back().right_line = true;
- row_info.back().bottom_line = true;
- row_info.front().bottom_line = true;
- column_info.back().right_line = true;
is_long_tabular = false;
rotate = false;
}
@@ -445,7 +439,6 @@
cell_info[i][j].inset->setDrawFrame(false);
cell_info[i][j].cellno = cellno++;
}
- cell_info[i].back().right_line = true;
}
set_row_column_number_info();