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

List:       koffice-devel
Subject:    Re: Help with koStore:open needed
From:       Nicolas Goutte <nicolasg () snafu ! de>
Date:       2002-12-31 12:19:14
[Download RAW message or body]

On Monday 30 December 2002 23:49, David Faure wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
(...)
>
> > As we still have to support old files we have to implement two solutions:
> > - Fix it the right way by providing some utility code for all
> > applications for loading and saving. It's all duplicated right now. This
> > new code should generate the right part names *and* return those strings
> > to the application for its maindoc.xml. This way we won't need any magic
> > replacement in new files.
>
> This code already exists, it's KoDocumentChild::load*/save, isn't it?
> If we move the internal->storage naming conversion code to
> loadDocumentInternal() and the storage->internal conversion code to save(),
> I think this should fix the problem for embedded objects - at least for the
> apps which use those methods (i.e. at least KWord, KPresenter and KSpread).
> For pictures, the code is centralized too, in the KoPicture* classes.
>
> So AFAICS the code is already centralized, not duplicated in all apps - am
> I missing something?

The problem is that filters do not much use KoPicture, as filters do not need 
a black box but need to understand what picture format it is really.

>
(...)
>
> - --

Have a nice day/evening/night!

> David Faure -- faure@kde.org, dfaure@klaralvdalens-datakonsult.se
> Klarälvdalens Datakonsult AB, Platform-independent software solutions
> Contributing to: http://www.konqueror.org/, http://www.koffice.org/
> KOffice-1.2.1 is available - http://download.kde.org/stable/koffice-1.2.1/
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.7 (GNU/Linux)
>
> iD8DBQE+EM2D72KcVAmwbhARAr/wAJ404S7b9qq4B7FZBb92kr/55MlrgQCfXr3t
> lurcYcl7yf7qTYLDYRHCpgQ=
> =tKw2
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> koffice-devel mailing list
> koffice-devel@mail.kde.org
> http://mail.kde.org/mailman/listinfo/koffice-devel

_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

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