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

List:       kde-commits
Subject:    Re: koffice/libs/kotext/opendocument
From:       Thomas Zander <zander () kde ! org>
Date:       2010-05-31 21:21:56
Message-ID: 201005312321.57174.zander () kde ! org
[Download RAW message or body]

On Monday 31. May 2010 23.16.35 Boudewijn Rempt wrote:
> On Monday 31 May 2010, Thomas Zander wrote:
> > On Monday 31. May 2010 20.01.33 Boudewijn Rempt wrote:
> > > SVN commit 1132925 by rempt:
> > > 
> > > Do not load annotations as footnotes.
> > > 
> > >  M  +1 -1      KoTextLoader.cpp
> > > 
> > > --- trunk/koffice/libs/kotext/opendocument/KoTextLoader.cpp
> > > #1132924:1132925 @@ -912,7 +912,7 @@
> > > 
> > >                  howmany = ts.attributeNS(KoXmlNS::text, "c",
> > > 
> > > QString()).toInt(); }
> > > 
> > >              cursor.insertText(QString().fill(32, howmany));
> > > 
> > > -        } else if ( (isOfficeNS && localName  == "annotation") ||
> > > (isTextNS && localName == "note")) { // text:note or office:annotation
> > > +      } else if ( (isTextNS && localName == "note")) { // text:note
> > > loadNote(ts, cursor);
> > > 
> > >          } else if (isTextNS && localName == "tab") { // text:tab
> > >          
> > >              cursor.insertText("\t");
> > 
> > For my curiosity; where does this leave annotations loading?
> 
> Annotations need to be loaded/saved separately. I'll fix that tomorrow.
> They are not shown in any case since koffice does not have any mechanism
> to do that yet.

Cool, thanks for the info :-)
-- 
Thomas Zander
[prev in list] [next in list] [prev in thread] [next in thread] 

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