Bug 55092 - Koffice should be able to embed any kpart
Summary: Koffice should be able to embed any kpart
Status: RESOLVED NOT A BUG
Alias: None
Product: koffice
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified All
: NOR wishlist
Target Milestone: ---
Assignee: KOffice List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-24 01:52 UTC by klaehn
Modified: 2009-07-15 16:06 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description klaehn 2003-02-24 01:52:56 UTC
Version:            (using KDE KDE 3.1)
Installed from:    Unspecified
OS:          Linux

Koffice should be able to embed all kparts in documents just like konqueror does. For example it would be really nice if you could embed code in an office document using the kwrite kpart and then print it with syntax highlighting and all. Another nice thing would be embedding of umbrello UML diagrams. Double clicking on the frame should start the right application.

The whole thing would be somewhat like OLE under windows, except that it would work as advertized :-)

regards,

    R
Comment 1 David Faure 2004-11-05 02:09:38 UTC
Yes this is needed for many things, but the problem is that normal KParts don't have proper support for zooming (at all) not for printing (at a better resolution than pixels)...
Comment 2 Thomas Zander 2004-11-05 07:35:04 UTC
So, shouldn't this be 'wontfix' ?

The KOfficePart extends the functionality of the KPart, and asking these applications which are KParts to behave like KOfficeParts means that they should implement that the koffice one..
IMOHO thats unrealistic..
Comment 3 David Faure 2004-11-05 11:42:58 UTC
We could have KParts extensions (like the BrowserExtension) which offer zooming and printing APIs,
and implement those in the KParts that would be useful for KOffice.
(e.g. movie-playing for animations in KPresenter, plain text for anywhere, readonly-images
for anywhere, the possibilities are endless)

Comment 4 Alan Horkan 2005-08-24 18:28:57 UTC
I hate to add what amounts to a "me too" comment but I think it would be great if this were implemented even if a KPart only offers a subset of the functionality in a Koffice part.  Being able to embed things even without zooming and without high quality printing would still be very useful.  
Comment 5 Jarosław Staniek 2005-08-25 14:28:20 UTC
R�diger.
I understand all this look powerfull and so on, but:
There's a flaw in this idea: allowing nonstandard parts to be embeddable in documents, makes it difficult to exchange (see OpenDocument format, not mentioning MS formats). 

Think what can you do with a document you've received from, say, win32 user who embedded some Corel Draw and AutoCad OLE frames in her .doc...? virtually nothing, in general.

Comment 6 Tomas Mecir 2005-08-25 14:42:23 UTC
On 25 Aug 2005 12:28:21 -0000, Jaroslaw Staniek <js@iidea.pl> wrote:
> Think what can you do with a document you've received from, say, win32 user who embedded some Corel Draw and AutoCad OLE frames in her .doc...? virtually nothing, in general.


Just a comment ... Not all documents are meant to be exchanged - you
can't open doc with corel on linux, you can't open doc with kbarcode
on windows, no big drama :D

/ Tomas
Comment 7 Alan Horkan 2005-08-26 13:57:49 UTC
> difficult to exchange

Depending on how you look at it this is a feature not a bug and doing it will only encourage other applications to improve their compatibility (and the LGPL licensing of Koffice makes this quite practical even for proprietary software, in theory the whole of Koffice could be embedded as some form of plugin).  
I'm not a fan of lock-in either but I think it is more useful to make things possible than setting arbitrary limitations.  (Wouldn't it be great to be able to embed video files in a presentation and avoid messy switching between applications?  Seems like a fairly common use case to me.) Certainly though if this feature were to be implemented developers would need to be careful to present it in such a way that users were not shocked and suprised by the limitations particularly with regard to document exchange.  There are things that could be done to limit breakage like embedding a preview/fallback image and  finding ways to make the content a little more generic (ie embedding MathML rather than embedding the KPart for KFormula, or embedding SVG instead of embedding the Karbon KPart, or embedding a movie file instead of a specific movie player.  I dont know the details of how exactly it would work but I am confident the developers can find a reasonable compromise.) 

First make it possible, then make it better.  
Comment 8 Jonas Vejlin 2009-07-01 09:56:32 UTC
Is this still valid wish in koffice 2?
Comment 9 Sven Langkamp 2009-07-15 16:06:27 UTC
No, KOffice 2 has flake shapes instead. No KParts are embedded anymore.