Hello,
I'm using an embedded Mozilla in my App and would like to find out,
where and on which page certain elements of my HTML document will be
printed.
So far I found out, that nsPrintEngine creates a PresShell for my HTML
document, from which I could get nsIFrame objects for the Elements in my
DOM tree. It seems to be possible to get the page and the position on
the page of an element from these nsIFrames.
Is there a way, to access these objects? It seems, that it is not
possible, to accesss the PrintEngine used by an nsWebBrowser object and
even then the information I'm searching is in a protected member of the
PrintEngine.
Is this the correct way, to get this information, at all? Or is there an
other way to determine, where on a the page the elements will appear?
Thanks in advance,
Roland
_______________________________________________
mozilla-embedding mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-embedding