Commit 2b120e14 authored by Jean Bréfort's avatar Jean Bréfort Committed by Jean Bréfort

implemented.

2006-05-12  Jean Brefort  <jean.brefort@normalesup.org>

	* component/gnumeric.c: (go_gnm_component_print): implemented.
parent fc3936ee
2006-05-12 Jean Brefort <jean.brefort@normalesup.org>
* component/gnumeric.c: (go_gnm_component_print): implemented.
2006-05-12 Jean Brefort <jean.brefort@normalesup.org>
* Makefile.am: add component directory.
......
......@@ -310,6 +310,15 @@ go_gnm_component_print (GOComponent *component, GnomePrintContext *gpc,
double width, double height)
{
GOGnmComponent *gognm = GO_GNM_COMPONENT (component);
GnmRange range;
Sheet *sheet = workbook_sheet_by_index (wb_view_get_workbook (gognm->wv), gognm->sheet);
if (sheet == NULL)
return;
range.start.row = gognm->row_start;
range.start.col = gognm->col_start;
range.end.row = gognm->row_end;
range.end.col = gognm->col_end;
print_cell_range (gpc, sheet, &range, 0., height, TRUE);
}
static void
......
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