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

List:       koffice-devel
Subject:    Re: KWord and ODT bug
From:       Sebastian Sauer <mail () dipe ! org>
Date:       2008-05-04 11:13:32
Message-ID: 200805041313.32382.mail () dipe ! org
[Download RAW message or body]

On Sunday 04 May 2008, Sebastian Sauer wrote:
> On Sunday 04 May 2008, Sebastian Sauer wrote:
> > Hi Giovanni :)
> >
> > On Sunday 04 May 2008, Giovanni Venturi wrote:
> > > Alle sabato 03 maggio 2008, Giovanni Venturi ha scritto:
> > > > Hello.
> > > > I found a bug in KWord 1.6 branch. I created an ODT file with
> > > > different left and right footers and Open Office open it as the
> > > > footers was the same, so I created an ODT file in Open Office with
> > > > different left and right footes and KWord opened it correctly
> > > > understanding that it has to show different left and right footers.
> > > > So I can immagine that KWord doesn't save the option in the ODT file
> > > > itself, but can recognize it. I use KWord and I want to fix this bug
> > > > on my own...
> > > > Give me some hints. I tryed to open the ODT file created by Open
> > > > Office unizipping it into a folder but I didn't understand what is
> > > > the option. Who can tell me wich part of the code I have to check and
> > > > what is the option that let have different left and right footers...
> > > > and maybe hearders... I haven't tryed the same with the headers...
> > >
> > > Well, I tryed to hacking... well, first I tryed to think again what I
> > > wrote here. If KWord open correctly what I saved with KWord and Open
> > > Office doesn't, than the simpler consideration is that they use a
> > > different ODT structure for footers... How can be that ODT is a
> > > standard and KWord and Open Writer use two different way of doing? Yes
> > > because if I set left and right footers in KWord and they are
> > > different, I save the file, close KWord, reopen KWord, reopen the file,
> > > then I get the footer correctly shown. If I open a file created with
> > > Open Writer with different left and right footers and I see that
> > > footers correctly displayed I'm losting something in my construction...
> > > what? Is this a bug or not? I'm confused. Help me to understand.
> > > I tryed to give a look at KWOasisLoader.cpp, KWOasisSaver.cpp and
> > > KWordFrameSetIface.cpp and styles.xml and settings.xml but I'm lost :(
> > > .
> >
> > What Version of OOwriter are you using? If it's 2.3 I would suggest to
> > retry with 2.4 since I remember similar bugs with 2.3 (the XML within
> > content.xml needs to be in one single line else OOwriter may got things
> > wrong) and my tests so far show that KWord got it right while OOwriter
> > somehow does not what indicates that the prob is within OOwriter and not
> > in KWord 1.6.x.
>
> While looking more detaield at it;
> LOL
>
> 1. open styles.xml
> 2. put the <style:header-left> AFTER the <style:header> and OOwriter loads
> it correct.

Bugreport created; http://qa.openoffice.org/issues/show_bug.cgi?id=88993
_______________________________________________
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