From a8dc3ac2af642fb59c8fbed12c3a28038ef3a175 Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Thu, 18 Mar 2010 00:34:29 +0000 Subject: Present a warning to the user when attempting to print the current table's content view which exceeds a set number of rows. This number is currently set to 1000 which can be changed via the hidden preference key 'PrintWarningRowLimit'. The approach to cancelling the print HTML generation thread may also need to be re-implemented to ensure that it is killed straight away, something that is currently not possible using NSThread. Rowan suggested using pthreads instead, but this should be discussed in terms of potential memory leaks and stability. --- Source/SPPrintController.h | 1 + 1 file changed, 1 insertion(+) (limited to 'Source/SPPrintController.h') diff --git a/Source/SPPrintController.h b/Source/SPPrintController.h index 5d259be5..3982b152 100644 --- a/Source/SPPrintController.h +++ b/Source/SPPrintController.h @@ -27,6 +27,7 @@ @interface TableDocument (SPPrintController) +- (void)startPrintDocumentOperation; - (void)generateHTMLForPrinting; - (void)generateTableInfoHTMLForPrinting; -- cgit v1.2.3