From 6c4e21a234f12e1310ba06f9859e08b424acf8bf Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Wed, 2 Jul 2014 09:53:54 -0400 Subject: bnc#812796: Correctly handle static value array for OOXML charts. We need to pass the role of the data sequence in order to avoid unreliable guess work when importing static value array. Also, not all Excel's scatter plots have real numeric X values; some have textural X values in which case Excel switch to generating 1, 2, 3, ... as X values. When importing to our chart implementation, using "categories" role in such cases instead of "values-x" results in a more faithful chart rendering. Change-Id: If4bc1f650bb024dcd1b1b36537f457fb38404a78 --- offapi/com/sun/star/chart2/data/XDataProvider.idl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'offapi') diff --git a/offapi/com/sun/star/chart2/data/XDataProvider.idl b/offapi/com/sun/star/chart2/data/XDataProvider.idl index 3ed73e2c4062..6ab3fd4aaadd 100644 --- a/offapi/com/sun/star/chart2/data/XDataProvider.idl +++ b/offapi/com/sun/star/chart2/data/XDataProvider.idl @@ -126,6 +126,9 @@ interface XDataProvider : ::com::sun::star::uno::XInterface [in] string aRangeRepresentation ) raises( com::sun::star::lang::IllegalArgumentException ); + XDataSequence createDataSequenceByValueArray( [in] string aRole, [in] string aValueArray ) + raises( com::sun::star::lang::IllegalArgumentException ); + /** Returns a component that is able to change a given range representation to another one. This usually is a controller-component that uses the GUI to allow a user to -- cgit v1.2.3