From:  saravanan.sengamalan@gmail.com
Date:  11 Apr 2007 13:33:34 Hong Kong Time
Newsgroup:  news.mozilla.org/netscape.public.mozilla.layout
Subject:  

print

NNTP-Posting-Host:  203.193.155.110

I am trying to split a html page into smaller ones based on the print
preview. i.e each page in print preview corresponds to a html file.
Hence i need to identify the exact location where the page breaks.

I am embedding gecko in serverside. I have the xulrunner build 1.8.0.4
compiled with gcc 3.2.2.
I am able to iterate through frame trees and fetch the last one in the
page.

But if the page breaks in the middle of a text frame, this text frame
appears as the last frame in one page and first frame in the next page
(continuation frame). How to get the exact word where the page breaks.

S.S