From koffice-devel Sun Apr 18 06:35:40 2004 From: Thorsten Zachmann Date: Sun, 18 Apr 2004 06:35:40 +0000 To: koffice-devel Subject: Re: Figuring out where something was copied from Message-Id: <200404180835.40568.t.zachmann () zagge ! de> X-MARC-Message: https://marc.info/?l=koffice-devel&m=108227042429133 Hello Brad, > I'm looking at #72124 (http://bugs.kde.org/show_bug.cgi?id=72124), and it > doesn't look very difficult to fix, as long as there is a way to tell if > the objects to be pasted came from a different slide. > > I don't have a clue how to test that - can anyone give me a hint? I had a look in the code. One way to to this might be to save the page in the kprcanvas when a object is copied and check the saved page is the same when you paste the object again. have a look at: KPrCanvas::copyObjs KPresenterView::editPaste Maybe there should also be no offset when the object is delete and inserted again. Thorsten _______________________________________________ koffice-devel mailing list koffice-devel@mail.kde.org https://mail.kde.org/mailman/listinfo/koffice-devel