[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice
Subject:    Re: a few newbie questions
From:       David Faure <faure () kde ! org>
Date:       2005-11-25 13:54:15
Message-ID: 200511251454.15507.faure () kde ! org
[Download RAW message or body]

On Friday 11 November 2005 15:48, Ananth A wrote:
> another question about dcop, how can i open a file through dcop ???

You could use the openURL method (from KoDocumentIface),
but loading multiple files in the same kodocument isn't recommended, so
you should make sure to create a new one each time...

I found it simpler to just launch a new instance of kspread every time,
using dcopstart and isLoading for synchronization.
See koffice/kspread/tests/oasis-kspread.sh for an example.

-- 
David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).

____________________________________
koffice mailing list
koffice@kde.org
To unsubscribe please visit:
https://mail.kde.org/mailman/listinfo/koffice
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic