Re: Embedding goffice charts in abiword

From: Robert Staudinger <robert.staudinger_at_gmail.com>
Date: Wed Mar 23 2005 - 12:45:24 CET

Hi Jean,

i'm very excited you are working on that!

On Wed, 23 Mar 2005 11:38:56 +0100, Jean Bréfort
<jean.brefort@normalesup.org> wrote:
>
> Hi,
>
> I see several ways we might want to add charts in abi (unix version):
>
> - incorporate charts using a guru, with data from abiword. This can be
> done if we call goffice graph guru. The appropriate function is:
>
> GtkWidget *gog_guru (GogGraph *graph, GogDataAllocator *dalloc,
> GOCmdContext *cc, GtkWindow *toplevel,
> GClosure *closure);
>
> The most difficult part here is GogDataAllocator (and I am going to
> start working on it soon). What we need is (simplifying) a widget to
> choose the data needed for the graph. These data might be a row/column
> from a table or comma separated values.

I'm not sure if this would make our users happy, some options that are
available in gnumeric would always be missing in abi (that's what i'm
afraid of).
I would prefer if charts would always be handeled in gnumeric and only
displayed in abiword. What do you think of providing

+ Import Chart (filechooser to open gnumeric file)
+ Create new Chart (Gnumeric starts with a new, empty file, then
inserted to abi)
+ Eventually something like "Chart from Table" (with AbiWord's data),
but in that case i'd export the table to gnumeric first, so the
UI/Environment in which charts are created/modified is always the
same.

It would of course be unbelievably great if we had a way to display
the table on which a chart is based in abiword also to have
consistency.

WRT the component system problem it might be an (interim?) solution to
store the whole gnumeric file inside the .abw as it's done for mathml?

These are just a few random ideas ...

Best,
- Rob
Received on Wed Mar 23 12:54:11 2005

This archive was generated by hypermail 2.1.8 : Wed Mar 23 2005 - 12:54:11 CET