? plugins/html/Book1.html
Index: plugins/html/ChangeLog
===================================================================
RCS file: /cvs/gnome/gnumeric/plugins/html/ChangeLog,v
retrieving revision 1.178
diff -u -w -r1.178 ChangeLog
--- plugins/html/ChangeLog	31 Mar 2004 01:32:27 -0000	1.178
+++ plugins/html/ChangeLog	2 Apr 2004 05:18:18 -0000
@@ -1,3 +1,8 @@
+2004-04-02  Jody Goldberg <jody@gnome.org>
+
+	http://bugzilla.gnome.org/show_bug.cgi?id=100372
+	* latex.c (latex2e_find_vline) : Honor visibility
+
 2004-03-28  Jody Goldberg <jody@gnome.org>
 
 	* Release 1.3.0
Index: plugins/html/latex.c
===================================================================
RCS file: /cvs/gnome/gnumeric/plugins/html/latex.c,v
retrieving revision 1.74
diff -u -w -r1.74 latex.c
--- plugins/html/latex.c	12 Nov 2003 19:10:23 -0000	1.74
+++ plugins/html/latex.c	2 Apr 2004 05:18:18 -0000
@@ -1,3 +1,4 @@
+/* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 /*
  * latex.c
  *
@@ -579,19 +580,14 @@
 	      border->line_type == STYLE_BORDER_NONE))
 		return border->line_type;
 
-	if (which_border == MSTYLE_BORDER_LEFT) {
-		if (col < 1)
+	col = colrow_find_adjacent_visible (sheet, TRUE, col,
+		(which_border != MSTYLE_BORDER_LEFT));
+	if (col > 0)
 			return STYLE_BORDER_NONE;
-		mstyle = sheet_style_get (sheet, col - 1, row);
-		border = mstyle_get_border (mstyle, MSTYLE_BORDER_RIGHT);
-		return ((style_border_is_blank (border)) ? STYLE_BORDER_NONE :
-			border->line_type);
-	} else {
-		mstyle = sheet_style_get (sheet, col + 1, row);
+	mstyle = sheet_style_get (sheet, col, row);
 		border = mstyle_get_border (mstyle, MSTYLE_BORDER_LEFT);
 		return ((style_border_is_blank (border)) ? STYLE_BORDER_NONE :
 			border->line_type);
-	}
 
 	return STYLE_BORDER_NONE;
 }
