Nanjun Hu wrote:
Can I use nsIWebBrowserPersist to do such "save as"?

That's what the browser UI uses... See http://lxr.mozilla.org/seamonkey/source/xpfe/communicator/resources/content/contentAreaUtils.js#691


then call persist->SaveDocument?

Yep.


I tried to do it in the above, but it fails. So any suggetion is welcome.

Fails how? Do you set up the persistence object properly? What exactly do you pass to saveDocument?


-Boris

_______________________________________________
Mozilla-netlib mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-netlib

Reply via email to