gnumeric r17173 - in trunk: . doc doc/C plugins/html
- From: guelzow svn gnome org
- To: svn-commits-list gnome org
- Subject: gnumeric r17173 - in trunk: . doc doc/C plugins/html
- Date: Wed, 4 Mar 2009 23:56:26 +0000 (UTC)
Author: guelzow
Date: Wed Mar 4 23:56:26 2009
New Revision: 17173
URL: http://svn.gnome.org/viewvc/gnumeric?rev=17173&view=rev
Log:
2009-03-04 Andreas J. Guelzow <aguelzow pyrshep ca>
* latex.c (latex_file_save): don't access styles for cells
beyond the sheet! Fixes 574125
2009-02-22 Andreas J. Guelzow <aguelzow pyrshep ca>
* C/analysis-statistical.xml: minor corrections
Modified:
trunk/NEWS
trunk/doc/C/analysis-statistical.xml
trunk/doc/ChangeLog
trunk/plugins/html/ChangeLog
trunk/plugins/html/latex.c
Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS (original)
+++ trunk/NEWS Wed Mar 4 23:56:26 2009
@@ -1,5 +1,8 @@
Gnumeric 1.9.5
+Andreas
+ * Fix style critical on latex export [#574125]
+
Morten:
* Fix multihead issues with cell comments.
* Fix multihead issue with sheet reordering.
Modified: trunk/doc/C/analysis-statistical.xml
==============================================================================
--- trunk/doc/C/analysis-statistical.xml (original)
+++ trunk/doc/C/analysis-statistical.xml Wed Mar 4 23:56:26 2009
@@ -2295,15 +2295,8 @@
<sect3 id="kaplan-meier-tool-example">
<title>A Kaplan-Meier Example</title>
- <example id="usingkaplan-meiertool">
- <title>Using the Kaplan-Meier Tool</title>
- <para>
- For example, suppose you want to calculate Kaplan-Meier Estimates
- for data as given in <xref linkend="histogram-example-1" />.
- </para>
-
-<!-- <figure id="kaplan-meier-tool-example-1">
- <title>Kaplan-Meier Tool Example Input</title> -->
+ <figure id="kaplan-meier-tool-example-1">
+ <title>Kaplan-Meier Tool Example Input</title>
<screenshot>
<mediaobject>
<imageobject>
@@ -2316,10 +2309,10 @@
</textobject>
</mediaobject>
</screenshot>
-<!-- </figure> -->
+ </figure>
-<!-- <figure id="kaplan-meier-tool-tool-example-2">
- <title>Kaplan-Meier Tool Example Output</title> -->
+ <figure id="kaplan-meier-tool-tool-example-2">
+ <title>Kaplan-Meier Tool Example Output</title>
<screenshot>
<mediaobject>
<imageobject>
@@ -2332,8 +2325,15 @@
</textobject>
</mediaobject>
</screenshot>
-<!-- </figure> -->
-
+ </figure>
+
+ <example id="usingkaplan-meiertool">
+ <title>Using the Kaplan-Meier Tool</title>
+ <para>
+ For example, suppose you want to calculate Kaplan-Meier Estimates
+ for data as given in <xref linkend="kaplan-meier-tool-example-1" />.
+ </para>
+
</example>
</sect3>
Modified: trunk/plugins/html/latex.c
==============================================================================
--- trunk/plugins/html/latex.c (original)
+++ trunk/plugins/html/latex.c Wed Mar 4 23:56:26 2009
@@ -1351,14 +1351,18 @@
/* We need to check for horizontal borders at the bottom of the last row */
clines = g_new0 (GnmStyleBorderType, total_range.end.col - total_range.start.col + 1);
needs_hline = FALSE;
- length = num_cols;
- this_clines = clines;
- for (col = total_range.start.col; col <= total_range.end.col; col++) {
- needs_hline = latex2e_find_hhlines (this_clines, length, col, row,
- current_sheet, MSTYLE_BORDER_TOP)
- || needs_hline;
- this_clines ++;
- length--;
+ /* In case that we are at the very bottom of the sheet we can not */
+ /* check on the next line! */
+ if (row > colrow_max (FALSE, current_sheet)) {
+ length = num_cols;
+ this_clines = clines;
+ for (col = total_range.start.col; col <= total_range.end.col; col++) {
+ needs_hline = latex2e_find_hhlines (this_clines, length, col, row,
+ current_sheet, MSTYLE_BORDER_TOP)
+ || needs_hline;
+ this_clines ++;
+ length--;
+ }
}
length = num_cols;
this_clines = clines;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]