Hi 

I've just  read the analysis on chart2 wiki about the use of

external tools for charts non covered by the chart module.

Let me say first that I fully agree with the rationale here : the chart
module cannot possibly cover all use cases.



2 years ago I wrote a little macro tool which allowed to generate and
embed gnuplot drawings in OOO docs.

The tricky part of this approach is the storage of the source data used
to generate the plot, and the metadata describing what kind of tool is
needed.
In my macro, I used the "CustomMetaData" CDAT asigned to the generated
shape store the gplt file, allowing to modify and replot from a saved
document.
While this worked, it's more of a convenient hack than anything else,
and doesn't feel very clean, particularly when embedding several data
source files is needed. This also pushes the semantic of CustomMetaData
a bit far ( in my book anyway)

As of yet, I couldn't find any clear guidance in OOO dev docs or in the
ODF spec of how to embed simultaneously : 
- an image generated by an external tool called from an extension
- the data source needed to recreate the image provided the extension
and the tool are available
- the metadata linking all this together 


This issue relates also to the extension framework, and the metadata
work in ODF.
The "special notes" in http://wiki.services.openoffice.org/wiki/Chart2
refer somewhat to the issue.

Are there any plans to work on guidelines/specs/framework/goodpractices
to address this ?






        

        
                
___________________________________________________________________________ 
Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son 
interface révolutionnaire.
http://fr.mail.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to