[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: Re: koffice/libs/kotext/opendocument
From: Boudewijn Rempt <boud () valdyas ! org>
Date: 2010-05-31 21:16:35
Message-ID: 201005312316.35603.boud () valdyas ! org
[Download RAW message or body]
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.
--
Boudewijn Rempt | http://www.valdyas.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic