I tried looking in to nsPrintEngine.cpp code and the routine you mentioned.But Iam finding this quite complex.
preShell I get maps only to the document or frames of the document.Iam unable to make any progress. My experiments with nsDocumentViewer:PrintPreviewNavigate is also failing to give me the preview page content. Which is the point at which a document is split in to pages as in Print Preview?I need to hook in at that point. >From a PageFrame how do I get the first DOM element and last DOM element of that page? Thanks in Advance regards, Krithika _______________________________________________ dev-tech-layout mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-layout

