[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: part->document() Deep Copy?
From: Andreas Schlapbach <schlpbch () iam ! unibe ! ch>
Date: 2001-05-18 23:30:37
[Download RAW message or body]
On Fri, 18 May 2001, Rick Ramcharitar wrote:
> Hi all,
>
> Is there any way of making a deep copy of the document loaded in a part? Specifically Konqueror?
>
> DOM::Document *docCopy = new DOM::Document( part->document() );
> DOM::HTMLDocument *docCopyHTML = new DOM::HTMLDocument( part->htmlDocument() );
>
> The code above gives me a reference to the currently loaded document/html document in Konqueror.
> I need modify the html document to rewrite the src tags of the images to point to local files but
> doing this affects the rendered page in Konqueror. Can this be done? khtml_part.h doesn't show a
> function for returning copies of the document.
>
> Thanks
>
> Rick
Are you by any chance working on kdeaddons/webarchiver? If yes, I think I
got something for you ;)
Andreas
--
Andreas Schlapbach schlpbch@iam.unibe.ch
http://www.iam.unibe.ch/~schlpbch
"/home sweet /home."
>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic