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 XDataInterpreter
Usage Restrictions
not published
Description
offers tooling to interpret different data sources in a structural and chart-type-dependent way.

Methods' Summary
interpretDataSource Interprets the given data.  
reinterpretDataSeries Re-interprets the data given in aInterpretedData while keeping the number of data series and the categories.  
isDataCompatible parses the given data and states, if a reinterpretDataSeries call can be done without data loss.  
mergeInterpretedData Try to reverse the operation done in interpretDataSource.  
Methods' Details
interpretDataSource
InterpretedData
interpretDataSource( [in] ::com::sun::star::chart2::data::XDataSource  xSource,
[in] sequence< ::com::sun::star::beans::PropertyValue >  aArguments,
[in] sequence< XDataSeries >  aSeriesToReUse );

Description
Interprets the given data.
Parameter aArguments
Arguments that tell the template how to slice the given range. The properties should be defined in a separate service.

For standard parameters that may be used, see the service StandardDiagramCreationParameters.

Parameter aSeriesToReUse
use all the data series given here for the result before creating new ones.
reinterpretDataSeries
InterpretedData
reinterpretDataSeries( [in] InterpretedData  aInterpretedData );

Description
Re-interprets the data given in aInterpretedData while keeping the number of data series and the categories.
isDataCompatible
boolean
isDataCompatible( [in] InterpretedData  aInterpretedData );

Description
parses the given data and states, if a reinterpretDataSeries call can be done without data loss.
Returns
true, if the data given in aInterpretedData has a similar structure than the one required is used as output of the data interpreter.
mergeInterpretedData
::com::sun::star::chart2::data::XDataSource
mergeInterpretedData( [in] InterpretedData  aInterpretedData );

Description
Try to reverse the operation done in interpretDataSource.

In case aInterpretedData is the result of interpretDataSource( xSource ), the result of this method should be xSource.

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.