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

List:       koffice-devel
Subject:    Re: new KWord
From:       Reginald Stadlbauer <reggie () trolltech ! com>
Date:       2000-11-05 22:02:11
[Download RAW message or body]

On Sunday 05 November 2000 22:55, Shaheed Haque wrote:
> Hi Reggie,
>
> Like Thomas, I see no real alternative to storing some exceptions with the
> text. It is very common to have just a word in a paragraph italicised for
> example. And once we have that, the mechanism works quite well for special
> objects too. Do you have an alternative in mind?
>
> On the other hand, I think that styles should behave like this:
>
> 1. On writing XML, the attributes of a paragrpah should be compared to the
> style sheet entry for that paragraph, and only the exception stored (along
> with the style name).
>
> 2. On reading, the style sheet entry named in the paragraph should set the
> baseline attributes for the paragraph, being overridden by the expcetions.
>
> I think this is what you were saying too, right?

Yes, that sounds good. That is also how styles internally work now. Each 
format "inherits" from a style and stores differences. 

> I also agree that there is cruft that we could tidy up (e.g. I'm thinking
> of making FORMATs more consistent). Whatever we do, we must make sure that
> syntaxVersion=1 is still supported too.

Yes, true.

-- 
Reggie (reggie@trolltech.com)
_______________________________________________
Koffice-devel mailing list
Koffice-devel@master.kde.org
http://master.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