Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


:: 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 than 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.  
insertComplexCategoryLevel insert an additional sequence for categories nLevel>=1; categories at level 0 are always present and cannot be inserted or deleted  
deleteComplexCategoryLevel deletes an additional sequence for categories at nLevel>=1; categories at level 0 are always present and cannot be deleted  
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.

insertComplexCategoryLevel
void
insertComplexCategoryLevel( [in] long  nLevel );

Description
insert an additional sequence for categories nLevel>=1; categories at level 0 are always present and cannot be inserted or deleted
Since
OOo 3.3
deleteComplexCategoryLevel
void
deleteComplexCategoryLevel( [in] long  nLevel );

Description
deletes an additional sequence for categories at nLevel>=1; categories at level 0 are always present and cannot be deleted
Since
OOo 3.3
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.