Formats supported from the clipboard/D'n'D

View: New views
3 Messages — Rating Filter:   Alert me  

Formats supported from the clipboard/D'n'D

by Bugzilla from kossebau@kde.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

rather not a question for developing on KOffice*, but developing for KOffice:
What mimetype formats are understood, especially for document-style data?

Imagine someone would like to add a hex-dump to some documentation. She has
selected the interesting bytes in Okteta and now wants to include them in the
report she is writing, with the same layout as she is seeing in Okteta (two
columns with offset numbers). Preferably by going over the clipboard or
drag-and-drop.

How could Okteta best support her, especially with regard to layouting the
bytes to some table style data, so it resembles the display in Okteta? The
current option, rendering in ASCII (Edit/Copy As/View in Plain Text), is a
first-approach, but not really satisfying. I am thinking about using
QTextDocumentWriter. But:

Would KOffice rather like ODF or HTML (what about OpenOffice)? Or some other
format?
How will it deal with long tables which will span several pages?
Any other comments?

* There is some initial code for an Okteta Flake on my harddisk, for a perfect
embedding in KOffice ;) Small target group, but there is one.

Cheers
Friedrich
--
Okteta - KDE 4 Hex Editor - http://utils.kde.org/projects/okteta
_______________________________________________
koffice-devel mailing list
koffice-devel@...
https://mail.kde.org/mailman/listinfo/koffice-devel

Re: Formats supported from the clipboard/D'n'D

by Bugzilla from zander@kde.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thursday 22. October 2009 13.52.34 ext Friedrich W. H. Kossebau wrote:
> Would KOffice rather like ODF or HTML (what about OpenOffice)? Or some
> other format?

Either is accepted, if both are present ODF will be used. I think odf works
best, just try; ymmv

> How will it deal with long tables which will span several pages?

It should work in 2.1, but expect bugs.

--
Thomas Zander

_______________________________________________
koffice-devel mailing list
koffice-devel@...
https://mail.kde.org/mailman/listinfo/koffice-devel

Re: Formats supported from the clipboard/D'n'D

by Bugzilla from kossebau@kde.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Jeudi, le 22 octobre 2009, à 14:41, Thomas Zander a écrit:

> On Thursday 22. October 2009 13.52.34 ext Friedrich W. H. Kossebau wrote:
> > Would KOffice rather like ODF or HTML (what about OpenOffice)? Or some
> > other format?
>
> Either is accepted, if both are present ODF will be used. I think odf works
> best, just try; ymmv
>
> > How will it deal with long tables which will span several pages?
>
> It should work in 2.1, but expect bugs.

Thanks. So I will go and add an ODF encoder using QTextDocumentWriter.

Cheers
Friedrich
--
Okteta - KDE 4 Hex Editor - http://utils.kde.org/projects/okteta
_______________________________________________
koffice-devel mailing list
koffice-devel@...
https://mail.kde.org/mailman/listinfo/koffice-devel