LibreOffice
LibreOffice 4.2 SDK API Reference
|
offers tooling to interpret different data sources in a structural and chart-type-dependent way. More...
import"XDataInterpreter.idl";
Public Member Functions | |
InterpretedData | interpretDataSource ([in] com::sun::star::chart2::data::XDataSource xSource, [in] sequence< com::sun::star::beans::PropertyValue > aArguments, [in] sequence< XDataSeries > aSeriesToReUse) |
Interprets the given data. More... | |
InterpretedData | reinterpretDataSeries ([in] InterpretedData aInterpretedData) |
Re-interprets the data given in aInterpretedData while keeping the number of data series and the categories. More... | |
boolean | isDataCompatible ([in] InterpretedData aInterpretedData) |
parses the given data and states, if a reinterpretDataSeries() call can be done without data loss. More... | |
com::sun::star::chart2::data::XDataSource | mergeInterpretedData ([in] InterpretedData aInterpretedData) |
Try to reverse the operation done in interpretDataSource(). More... | |
![]() | |
any | queryInterface ([in] type aType) |
queries for a new interface to an existing UNO object. More... | |
void | acquire () |
increases the reference counter by one. More... | |
void | release () |
decreases the reference counter by one. More... | |
offers tooling to interpret different data sources in a structural and chart-type-dependent way.
InterpretedData interpretDataSource | ( | [in] com::sun::star::chart2::data::XDataSource | xSource, |
[in] sequence< com::sun::star::beans::PropertyValue > | aArguments, | ||
[in] sequence< XDataSeries > | aSeriesToReUse | ||
) |
Interprets the given data.
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.
aSeriesToReUse | use all the data series given here for the result before creating new ones. |
boolean isDataCompatible | ( | [in] InterpretedData | aInterpretedData | ) |
parses the given data and states, if a reinterpretDataSeries() call can be done without data loss.
TRUE
, if the data given in aInterpretedData
has a similar structure than the one required is used as output of the data interpreter. com::sun::star::chart2::data::XDataSource mergeInterpretedData | ( | [in] InterpretedData | aInterpretedData | ) |
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
.
InterpretedData reinterpretDataSeries | ( | [in] InterpretedData | aInterpretedData | ) |
Re-interprets the data given in aInterpretedData
while keeping the number of data series and the categories.