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

unpublished interface XInternalDataProvider
Base Interfaces
XInternalDataProvider
┗ ::com::sun::star::chart2::data::XDataProvider

::com::sun::star::chart2::data::XDataProvider
(referenced interface's summary:)
An application that provides data for a chart must implement this interface.
Usage Restrictions
not published
Description
An internal DataProvider that has more access to data that a plain DataProvider.

Methods' Summary
hasDataByRangeRepresentation  
getDataByRangeRepresentation  
setDataByRangeRepresentation  
insertSequence  
deleteSequence  
appendSequence same as insertSequence with nAfterIndex being the largest current index of the data, i.e. (size - 1)  
insertDataPointForAllSequences  
deleteDataPointForAllSequences  
swapDataPointWithNextOneForAllSequences  
registerDataSequenceForChanges If range representations of data sequences change due to internal structural changes, they must be registered at the data provider.  
Methods' Details
hasDataByRangeRepresentation
boolean
hasDataByRangeRepresentation( [in] string  aRange );

getDataByRangeRepresentation
sequence< any >
getDataByRangeRepresentation( [in] string  aRange );

setDataByRangeRepresentation
void
setDataByRangeRepresentation( [in] string  aRange,
[in] sequence< any >  aNewData );

insertSequence
void
insertSequence( [in] long  nAfterIndex );

Parameter Note
that -1 is allowed as the sequence is inserted after the given index. So to insert a sequence as the new first sequence (index 0), you would pass -1 here.
deleteSequence
void
deleteSequence( [in] long  nAtIndex );

appendSequence
void
appendSequence();

Description
same as insertSequence with nAfterIndex being the largest current index of the data, i.e. (size - 1)
insertDataPointForAllSequences
void
insertDataPointForAllSequences( [in] long  nAfterIndex );

deleteDataPointForAllSequences
void
deleteDataPointForAllSequences( [in] long  nAtIndex );

swapDataPointWithNextOneForAllSequences
void
swapDataPointWithNextOneForAllSequences( [in] long  nAtIndex );

registerDataSequenceForChanges
void
registerDataSequenceForChanges( [in] ::com::sun::star::chart2::data::XDataSequence  xSeq );

Description
If range representations of data sequences change due to internal structural changes, they must be registered at the data provider.

Sequences that are directly retrieved via the methods of the XDataProvider interface are already registered. If a labeled data sequence was created by cloning an existing one, it has to be explicitly registered via this method.

Top of Page