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

List:       kde-devel
Subject:    koffice file formats
From:       Olaf Zanger <olaf.zanger () gmx ! net>
Date:       2001-07-01 10:02:40
[Download RAW message or body]

hi there,

by thinking about a xml-www-representation of koffice files (e.g. kword) i have to
open these formats in different ways.

1. open it in kword
2. open it in xml-explorer
3. browse it in konqueror (as a tar)
4. have it gziped
5. have it bzip2ed

so i think about it for a example file test.kwd:

1. if i leave it as test.kwd i can't browse it (3) and xml-explorer produces errors
for the fist file name maindoc.xml.
2. if i change it to what it actually is test.kwd.tar kword won't open it and it
won't be linked to kword anymore (i can change that, but it doesn't help :-)
(couldn't import mime type application/x-tar). 
3. if i gzip or bzip2 it and call it test.kwd.tar.gz/bz2 i can browse it but kword
really dislikes it as above. 
4. since tar and bzip2 browsing is built in in konqueror i can't add a programm (e.g.
ktar with a kpart preview) to the .kwd ending.

any suggestions how to be flexible and solve this?

suggestions: 
1. a possible way to go would be that kde-programs by default (e.g. kioslave?)
understand what to do with mime type x-tgz and x-tar on opening :-) this might be
really smart.
2. is it possible to have a generic-kioslave or -kpart (kpipe) for konqueror that
supports transparent piping with a setup dialog? that would look like this: kpipe
might have (¦gzip -c¦). i right-click on test.kwd, select the generic-app (kpipe) and
end up in konqueror-browsing :-) -- 

so is this possible or not? 
how can i program this? 
is there anything in cvs resembling this, where i can start learning?

since i'm not a c++ developer yet i wonder where to start.

olaf

-- 
Dipl.-Ing. (FH) Olaf Marc Zanger
Lorrainestrasse 23
3013 Bern / Switzerland
Mob: +41-76-572 9782
 
>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

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

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