:: com :: sun :: star :: chart2 ::

interface XDataReceiver

Methods' Summary
attachDataProvider attaches a component that provides data for the document.  
setRangeRepresentation Sets the data for the chart as a whole. When this method is called, all currently set data is removed. It is replaced by the data that is returned by the current XDataProvider by using the given range representation.  
Methods' Details
attachDataProvider
void
attachDataProvider( [in] XDataProvider  xProvider );

Description
attaches a component that provides data for the document.

The previously set data provider will be released.

Parameter xProvider
The new DataProvider. If it is an empty reference, the ChartDocument will have no data.
setRangeRepresentation
void
setRangeRepresentation( [in] string  aRangeRepresentation )
raises( ::com::sun::star::lang::IllegalArgumentException );

Description
Sets the data for the chart as a whole. When this method is called, all currently set data is removed. It is replaced by the data that is returned by the current XDataProvider by using the given range representation.
Parameter aRangeRepresentation
This range representation must be in a format that is understood by the currently attached XDataProvider .
Throws
com::sun::star::lang::IllegalArgumentException If the range representation could not dealt with by the current data provider, or there is currently no data provider at all.
Top of Page