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

List:       koffice-devel
Subject:    setting properties on styles - only when parent hasn't the same value
From:       "C. Boemann" <cbo () boemann ! dk>
Date:       2009-07-25 7:54:03
Message-ID: 200907250954.03065.cbo () boemann ! dk
[Download RAW message or body]

Hi

I'm playing a bit with the ms odf filter in order to get a gymnastics document 
of mine loading. Here I noticed something:

In the .doc file I have a style "SPRUnormal" which is converted fine enough.

However ,the filter also creates an autostyle P2 referring to it, but also 
setting several properties. This is not done when using the OOo filter and I 
strongly suspect that those extra values are somehow just a repeat of values 
already set in "SPRUnormal"

Now I was wondering if when we set a property we shouldn't check if the same 
value is already set higher up in the parent chain, and if so don't actually 
set it?

Either we do this on a kotext level or i think i'll have to do it in the .doc 
filter

opinions?

best regards
Casper
_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.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