From koffice-devel Thu Dec 24 08:49:47 2009 From: Jean-Nicolas Artaud Date: Thu, 24 Dec 2009 08:49:47 +0000 To: koffice-devel Subject: Re: Review Request: Table Of Content, first step. Message-Id: <4816864d0912240049i57014451ife8af54f692f1ada () mail ! gmail ! com> X-MARC-Message: https://marc.info/?l=koffice-devel&m=126164463027042 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============1743723072==" --===============1743723072== Content-Type: multipart/alternative; boundary=0015174792d681de0e047b758566 --0015174792d681de0e047b758566 Content-Type: text/plain; charset=ISO-8859-1 Hello, If Variables are not the good way, what should I try to use ? The Pierre code is still really helpful for the loading/saving !! I would only have to re-use I think. Jean-Nicolas 2009/12/18 Thomas Zander > On Friday 18. December 2009 12.59.11 Pierre Ducroquet wrote: > > BTW, one year ago, it was said that the TOC had to be implemented as a > > KoVariable, through a plugin. Thinking about it again, I think it was a > bad > > choice, doing it directly in KoTextLoader is much better IMHO. > > > > In the old code, I think you can find some classes to represent the TOC > > generation rules. > > Still in svn; koffice/plugins/variables/TOCVariable.cpp > > -- > Thomas Zander > > _______________________________________________ > koffice-devel mailing list > koffice-devel@kde.org > https://mail.kde.org/mailman/listinfo/koffice-devel > --0015174792d681de0e047b758566 Content-Type: text/html; charset=ISO-8859-1 Hello,

If Variables are not the good way, what should I try to use ?
The Pierre code is still really helpful for the loading/saving !! I would only have to re-use I think.

Jean-Nicolas

2009/12/18 Thomas Zander <zander@kde.org>
On Friday 18. December 2009 12.59.11 Pierre Ducroquet wrote:
> BTW, one year ago, it was said that the TOC had to be implemented as a
> KoVariable, through a plugin. Thinking about it again, I think it was a bad
> choice, doing it directly in KoTextLoader is much better IMHO.
>
> In the old code, I think you can find some classes to represent the TOC
> generation rules.

Still in svn; koffice/plugins/variables/TOCVariable.cpp

--
Thomas Zander

_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel

--0015174792d681de0e047b758566-- --===============1743723072== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ koffice-devel mailing list koffice-devel@kde.org https://mail.kde.org/mailman/listinfo/koffice-devel --===============1743723072==--