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

List:       koffice
Subject:    Re: KOffice Storage Structure
From:       Werner Trobin <wtrobin () carinthia ! com>
Date:       1999-08-05 6:51:05
[Download RAW message or body]

Roland Kaufmann wrote:
> 
> Werner Trobin wrote:
> > Torben, Reggie, and all the others agreed on storing embedded KOffice Parts
> > and binary data (e.g. pictures, movies, sounds) via a simple gzipped-tar-
> > structure. Yesterday (990730) Torben "released" KTar which will probably be
> 
> I had more imagined an XML-based scheme where all parts where stored
> as embedded parts of the document itself. E.g. a KWord document with
> a KFormula part would be stored like this:
> 
>         <main editor="KWord" version="1.0">
>                 Here goes editor text
>                 <part editor="KFormula" version="1.0">
>                         Here goes formula description
>                 </part>
>                 More editor text here
>         </main>
> 
> In this example, the tag "main" signals that this part should be opened
> as the main window and loaded initially. "part" indicates that this is
> an embedded part within that main document. The "editor" and "version"
> property tells the storage system which part that should be loaded. The
> content here is passed to the naming service which loads the appropriate
> component. Binaries data is saved as uuencoded/base64 data.

Yes, this one is nice, too. I can't remember the reason why Torben said
that storing binary data in XML-files is bad...Torben?

> [snip] 
> 
> > 1) Name of the KOffice Files:
> > I think it is important to show that the file is a tgz-archieve, so I suggest
> > using filenames like "MyLetter.kwd.tgz", "Sales.ksp.tgz", or
> > "Meeting.kpr.tgz".
> 
> Does this naming convention host a hidden specification that the name
> of the file indicates the main part (i.e. the part that is started
> as the frame of the document)?

Yes. Ooops! Didn't I mention this?

> [snip]

I like this one, too. Torben, Reggie, Kalle, Harri, <all-the-others-
I've-forgotten-now (at least 3xMatthias and about 4xSte f/ph an)>???
What do you think?

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

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