[scribus-dev] [documentliberation-discuss] TODO for librevenge release
dtardon at redhat.com
Thu May 15 14:54:14 UTC 2014
On Tue, Apr 29, 2014 at 10:06:39AM +0200, alonso wrote:
> Le 28 avr. 2014 à 20:46, David Tardon <dtardon at redhat.com> a écrit :
> Potential ideas:
> . Is it better if we make all interface inherit from a basic generic interface ?
I am not sure what would be the advantage of that... Just to decrease
the amount of duplication among the interfaces?
> . If the interface for presentation need also chart, do we need to add a RVNGChartInterface and some
> mechanism to obtain access to this interface in RVNGPresentation/SpreadsheetInterface
That is not how we have done this so far--we have always added the
callbacks to all interfaces that need them. I can imagine having a
single function, e.g., createChartInterface(), that would return an
instance of a hypothetic RVNGChartInterface. It might even be
preferable. But it seems weird to do that only for charts. We have lots
of other duplication in the interfaces.
More information about the scribus-dev