-
NotZed authored
2000-01-23 NotZed <notzed@zedzone.helixcode.com> * src/xml-io.c (xml_set_print_hf): Dont encode the html entity &, since we dont have to. (xml_read_print_info): Store the footer into the footer, not the header(!). * src/print.c (print_job_info_get): Init the page number to be 1 (global page number). (print_sheet_range): Do not reset the page number to 1 for each sheet. (compute_pages): New function, calculates the total number of pages to be printed. (compute_sheet_pages): New function, calculates the number of pages to be printed by a single sheet. (print_sheet_range): No longer set the # pages. (sheet_print_selection): Calculate the # pages for selection printing. (workbook_print_all): Calculate the # pages for all or sheet range printing. (sheet_print): Caclulate the # pages for sheet printing. The changes above are a bit messy. (sheet_print): Killed some warnings. 2000-01-11 Michael Zucchi <zucchi@zedzone.mmc.com.au> * src/print.c: Removed preview from PrintJobInfo. (print_sheet): When printing a sheet range, only print pages in the range. (print_job_info_get): Initialise end_page to the # pages in the sheet. (sheet_print): Use the gnomeprintmaster object for printing/preview, and gnomeprintdialog for getting printer information.
5d16ec5e