Commit ec3afe63 authored by Morten Welinder's avatar Morten Welinder Committed by Morten Welinder

Need 0.17.

2000-04-09  Morten Welinder  <terra@diku.dk>

	* configure.in (gnome-print): Need 0.17.

	* src/print.c (print_page): Put page numbers into (post script)
 	file.
	(print_page): Move setup_rotation into page loop.
parent f84afb18
2000-04-09 Morten Welinder <terra@diku.dk>
* configure.in (gnome-print): Need 0.17.
* src/print.c (print_page): Put page numbers into (post script)
file.
(print_page): Move setup_rotation into page loop.
2000-04-11 Michael Meeks <michael@helixcode.com>
* src/parser.y: correct include.
......@@ -5,7 +13,7 @@
* src/cell.c (cell_set_rendered_text): move up to before its first use.
2000-04-09 Dom Lachowicz <dominicl@seas.upenn.edu>
* src/sheet.h: Rename member "private" -> "priv" in case anyone in the
future writes a plugin / module written in C++
......
2000-04-09 Morten Welinder <terra@diku.dk>
* configure.in (gnome-print): Need 0.17.
* src/print.c (print_page): Put page numbers into (post script)
file.
(print_page): Move setup_rotation into page loop.
2000-04-11 Michael Meeks <michael@helixcode.com>
* src/parser.y: correct include.
......@@ -5,7 +13,7 @@
* src/cell.c (cell_set_rendered_text): move up to before its first use.
2000-04-09 Dom Lachowicz <dominicl@seas.upenn.edu>
* src/sheet.h: Rename member "private" -> "priv" in case anyone in the
future writes a plugin / module written in C++
......
2000-04-09 Morten Welinder <terra@diku.dk>
* configure.in (gnome-print): Need 0.17.
* src/print.c (print_page): Put page numbers into (post script)
file.
(print_page): Move setup_rotation into page loop.
2000-04-11 Michael Meeks <michael@helixcode.com>
* src/parser.y: correct include.
......@@ -5,7 +13,7 @@
* src/cell.c (cell_set_rendered_text): move up to before its first use.
2000-04-09 Dom Lachowicz <dominicl@seas.upenn.edu>
* src/sheet.h: Rename member "private" -> "priv" in case anyone in the
future writes a plugin / module written in C++
......
2000-04-09 Morten Welinder <terra@diku.dk>
* configure.in (gnome-print): Need 0.17.
* src/print.c (print_page): Put page numbers into (post script)
file.
(print_page): Move setup_rotation into page loop.
2000-04-11 Michael Meeks <michael@helixcode.com>
* src/parser.y: correct include.
......@@ -5,7 +13,7 @@
* src/cell.c (cell_set_rendered_text): move up to before its first use.
2000-04-09 Dom Lachowicz <dominicl@seas.upenn.edu>
* src/sheet.h: Rename member "private" -> "priv" in case anyone in the
future writes a plugin / module written in C++
......
2000-04-09 Morten Welinder <terra@diku.dk>
* configure.in (gnome-print): Need 0.17.
* src/print.c (print_page): Put page numbers into (post script)
file.
(print_page): Move setup_rotation into page loop.
2000-04-11 Michael Meeks <michael@helixcode.com>
* src/parser.y: correct include.
......@@ -5,7 +13,7 @@
* src/cell.c (cell_set_rendered_text): move up to before its first use.
2000-04-09 Dom Lachowicz <dominicl@seas.upenn.edu>
* src/sheet.h: Rename member "private" -> "priv" in case anyone in the
future writes a plugin / module written in C++
......
2000-04-09 Morten Welinder <terra@diku.dk>
* configure.in (gnome-print): Need 0.17.
* src/print.c (print_page): Put page numbers into (post script)
file.
(print_page): Move setup_rotation into page loop.
2000-04-11 Michael Meeks <michael@helixcode.com>
* src/parser.y: correct include.
......@@ -5,7 +13,7 @@
* src/cell.c (cell_set_rendered_text): move up to before its first use.
2000-04-09 Dom Lachowicz <dominicl@seas.upenn.edu>
* src/sheet.h: Rename member "private" -> "priv" in case anyone in the
future writes a plugin / module written in C++
......
2000-04-09 Morten Welinder <terra@diku.dk>
* configure.in (gnome-print): Need 0.17.
* src/print.c (print_page): Put page numbers into (post script)
file.
(print_page): Move setup_rotation into page loop.
2000-04-11 Michael Meeks <michael@helixcode.com>
* src/parser.y: correct include.
......@@ -5,7 +13,7 @@
* src/cell.c (cell_set_rendered_text): move up to before its first use.
2000-04-09 Dom Lachowicz <dominicl@seas.upenn.edu>
* src/sheet.h: Rename member "private" -> "priv" in case anyone in the
future writes a plugin / module written in C++
......
......@@ -28,7 +28,7 @@ Requirements
You need:
gnome-libs-1.0.57
gnome-print-0.16
gnome-print-0.17
gnome-xml-1.8.5
libglade-0.11
......
......@@ -244,14 +244,14 @@ AC_SUBST(GB_LIBS)
dnl ******************************
dnl GnomePrint checking
dnl ******************************
AC_MSG_CHECKING(for GnomePrint libraries >= 0.16)
AC_MSG_CHECKING(for GnomePrint libraries >= 0.17)
if gnome-config --libs print > /dev/null 2>&1; then
vers=`gnome-config --modversion print | sed -e "s/gnome-print-//" | \
awk 'BEGIN { FS = "."; } { print $1 * 1000 + $2;}'`
if test "$vers" -ge 16; then
if test "$vers" -ge 17; then
AC_MSG_RESULT(found)
else
AC_MSG_ERROR(You need at least GNOME print 0.16 for this version of Gnumeric)
AC_MSG_ERROR(You need at least GNOME print 0.17 for this version of Gnumeric)
fi
else
AC_MSG_ERROR(Did not find GnomePrint installed)
......
......@@ -17,7 +17,7 @@ Docdir: %{prefix}/doc
Requires: gtk+ >= 1.2.7
Requires: gnome-libs >= 1.0.57
Requires: gnome-print >= 0.16
Requires: gnome-print >= 0.17
Requires: libglade >= 0.11
Requires: libxml >= 1.8.5
......
......@@ -350,8 +350,6 @@ print_page (Sheet *sheet, int start_col, int start_row, int end_col, int end_row
print_height = sheet_row_get_distance_pts (sheet, start_row, end_row+1);
setup_rotation (pj);
if (pj->pi->center_vertically){
if (pj->pi->print_titles)
print_height += sheet->rows.default_style.size_pts;
......@@ -375,6 +373,16 @@ print_page (Sheet *sheet, int start_col, int start_row, int end_col, int end_row
double x = base_x;
double y = base_y;
{
char *text;
text = hf_format_render (_("&[PAGE]"),
pj->render_info, HF_RENDER_PRINT);
if (!text) text = g_strdup_printf ("%d", pj->render_info->page);
gnome_print_beginpage (pj->print_context, text);
g_free (text);
}
setup_rotation (pj);
print_headers (pj);
print_footers (pj);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment