LibreOffice
LibreOffice 24.2 SDK API Reference
|
Chart data provider interfaces. More...
Classes | |
service | DatabaseDataProvider |
service | DataFilter |
A filter gets some data and provides some data. More... | |
service | DataProvider |
service | DataSequence |
describes a container for a sequence of values. More... | |
service | DataSink |
describes a service that allows reading two-dimensional data in the form of a sequence of DataSequences. More... | |
service | DataSource |
describes a service that allows reading two-dimensional data in the form of a sequence of DataSequences. More... | |
struct | HighlightedRange |
service | LabeledDataSequence |
describes a container for a sequence pair of value-sequences, one for a label and one for the associated data. More... | |
struct | PivotTableFieldEntry |
Pivot table field entry data. More... | |
service | RangeHighlighter |
service | RangeHighlightListener |
A selection change listener that is attached to a XRangeHighlighter in order to get notified about selection changes that affect range highlighting. More... | |
service | TabularDataProviderArguments |
interface | XDatabaseDataProvider |
identifies a XDataProvider for result sets. More... | |
interface | XDataProvider |
An application that provides data for a chart must implement this interface. More... | |
interface | XDataReceiver |
interface | XDataSequence |
allows access to a one-dimensional sequence of data. More... | |
interface | XDataSink |
is a container for sequences of data. More... | |
interface | XDataSource |
provides access to sequences of data. More... | |
interface | XLabeledDataSequence |
allows access to a one-dimensional sequence of data. More... | |
interface | XLabeledDataSequence2 |
interface | XNumericalDataSequence |
allows access to a one-dimensional sequence of double precision floating-point numbers. More... | |
interface | XPivotTableDataProvider |
Data provider specific for pivot chart data. More... | |
interface | XRangeHighlighter |
interface | XRangeXMLConversion |
An application that provides data for a chart must implement this interface. More... | |
interface | XSheetDataProvider |
Interface specific to spreadsheet data provider backend. More... | |
interface | XTextualDataSequence |
allows access to a one-dimensional sequence of strings. More... | |
Typedefs | |
typedef string | DataSequenceRole |
a string that states in what way a DataSequence should be used. More... | |
Enumerations | |
enum | LabelOrigin { SHORT_SIDE, LONG_SIDE, COLUMN, ROW } |
is used to specify how the labels have to be created. More... | |
Chart data provider interfaces.
typedef string DataSequenceRole |
a string that states in what way a DataSequence should be used.
If this property is an empty string, no proposition about usage is made.
The strings can have any value. However some values are predefined and should always be interpreted in the same way.
In a candle-stick chart you have the following roles:
enum LabelOrigin |
is used to specify how the labels have to be created.
Enumerator | |
---|---|
SHORT_SIDE | If a range spans a single row over more than one column, this parameter has the same effect as ROW. If the range spans a single column over more than one row, this is the same as COLUMN. In case of a range spanning more than one column and row, the shorter range of both should be used (e.g. a spreadsheet range A1:B10 should treat columns as short side). In case of a rectangular range, or a range that is composed of more than one contiguous sub-regions, the short side cannot be determined, thus XDataSequence::generateLabel() will return an empty sequence. |
LONG_SIDE | This is exactly the opposite of SHORT_SIDE. I.e., if SHORT_SIDE has the same effect as ROW, LONG_SIDE will have the same effect as COLUMN and the other way round.
|
COLUMN | Uses the column name for label generation. A spreadsheet range A1:A6 could, e.g., result in "Column A". If a range consists of more than one column the result of label generation may be empty. Of course, it could also succeed with a string like "Columns A to B". |
ROW | Uses the column name for label generation. A spreadsheet range A2:D2 could, e.g., result in "Row 2". If a range consists of more than one row the result of label generation may be empty. Of course, it could also succeed with a string like "Rows 1-3". |