how to get nsIPresShe​ll interface

"Pit M." <[email protected]> Mon, 30 May 2011 01:08:34 -0700 (PDT)
Newsgroups gmane.comp.mozilla.devel.embedding
Organization http://groups.google.com
Message-ID <c059691c-530b-4c71-96ea-cc886773d55b@dn9g2000vbb.googlegroups.com>
i would like to use current FF4 installation over xpcom.dll to render
in my own DC on windows.
There are a lot of RenderDocument methods like the one in
nsDOMWindowUtils or nsIPresShell


what i have is a nsIWebBrowser or nsIDOMWindow or nsiDocument
interfaces but none of them helps me getting nsIPresShell

what is the current prefered way using gecko 2 with FF4 to do this ?

Pit