1) It moves the BeginDocument to a earlier place in the call change

2) Fixes the negitive page range display problem
3) Improves performance by reducing the delay on pages not in the page range, i.e. before if you printed the 30th page out of 31 you had to wait 15 secs to get to the 30th page to print it.
4) Added AbortDocument, so now when Print jobs are cancelled we call AbortDocument and remove them from the print spooler
5) Fixed a couple of minor issue with Canceling and cancelling mail printings
6) selection was not printing correctly. The problem with selection was that the clip was not being set corrctly.
Bug 115227 & 123181 r=dcone,sspitzer sr=attainasi
This commit is contained in:
rods%netscape.com 2006-02-10 22:49:23 +00:00
Родитель 7566ecdbdc
Коммит 16cf7928c8
4 изменённых файлов: 17 добавлений и 0 удалений

Просмотреть файл

@ -692,6 +692,15 @@ NS_IMETHODIMP nsDeviceContextMac::EndDocument(void)
#endif
}
/** ---------------------------------------------------
* See documentation in nsIDeviceContext.h
* @update 12/9/98 dwc
*/
NS_IMETHODIMP nsDeviceContextMac::AbortDocument(void)
{
return EndDocument();
}
/** ---------------------------------------------------
* See documentation in nsIDeviceContext.h

Просмотреть файл

@ -81,6 +81,7 @@ public:
NS_IMETHOD BeginDocument(PRUnichar * aTitle);
NS_IMETHOD EndDocument(void);
NS_IMETHOD AbortDocument(void);
NS_IMETHOD BeginPage(void);
NS_IMETHOD EndPage(void);

Просмотреть файл

@ -169,6 +169,11 @@ NS_IMETHODIMP nsDeviceContextSpecX::EndDocument()
return NS_OK;
}
NS_IMETHODIMP nsDeviceContextSpecX::AbortDocument()
{
return EndDocument();
}
NS_IMETHODIMP nsDeviceContextSpecX::BeginPage()
{
// see http://devworld.apple.com/techpubs/carbon/graphics/CarbonPrintingManager/Carbon_Printing_Manager/Functions/PMSessionBeginPage.html

Просмотреть файл

@ -88,6 +88,8 @@ public:
NS_IMETHOD EndDocument();
NS_IMETHOD AbortDocument();
NS_IMETHOD BeginPage();
NS_IMETHOD EndPage();