Re: PresShell of PrintPreview

2008-12-05 Thread kk
On Dec 4, 6:38 pm, Boris Zbarsky [EMAIL PROTECTED] wrote: kk wrote: We have a application built around Mozilla. We do a PrintPreview and use the GetNumberOfShells and GetShellAt methods on nsIDocument for getting the PressShell of the PrintPreview. The usual obligatory question:  Why do

Re: PresShell of PrintPreview

2008-12-05 Thread Boris Zbarsky
kk wrote: We have a application that uses mozilla for converting HTML Pages to PDF and other formats. http://gecko.dynalivery.com. We do a Print Preview and get the Positions of the hyperlinks with respect to the page origin. We use that information for adding Bookmarks into the Output PDFs.