Methods' Summary |
attachDataProvider |
attaches a component that provides data for the document.
|
setArguments |
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.
|
getUsedRangeRepresentations |
returns a list of all range strings for which data has been
requested by the most recently attached data provider, and
which is still used.
|
getUsedData |
Returns the data requested by the most recently attached data
provider, that is still used.
|
attachNumberFormatsSupplier |
attaches an ::XNumberFormatsSupplier to this
XDataReceiver .
|
getRangeHighlighter |
Returns a component at which a view representing the data of
the attached data provider may listen for highlighting the
data ranges used by the currently selected objects in the data
receiver component.
|
Methods' Details |
attachDataProvider
- 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.
|
|
setArguments
- 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.
|
|
getUsedRangeRepresentations
sequence< string > |
getUsedRangeRepresentations(); |
- Description
- returns a list of all range strings for which data has been
requested by the most recently attached data provider, and
which is still used.
This list may be used by the data provider to swap charts
out of memory, but still get informed by changes of ranges
while the chart is not loaded.
- Returns
- a list of used range strings.
|
|
getUsedData
- Description
- Returns the data requested by the most recently attached data
provider, that is still used.
|
|
attachNumberFormatsSupplier
- Description
- attaches an ::XNumberFormatsSupplier to this
XDataReceiver .
The given number formats will be used for display purposes.
|
|
getRangeHighlighter
- Description
- Returns a component at which a view representing the data of
the attached data provider may listen for highlighting the
data ranges used by the currently selected objects in the data
receiver component.
This is typically used by a spreadsheet to hightlight the
ranges used by the currently selected object in a chart.
The range hightlighter is optional, i.e., this method may
return an empty object.
|
|
Copyright © 2003 Sun Microsystems, Inc.