1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ 2/* 3 * This file is part of the LibreOffice project. 4 * 5 * This Source Code Form is subject to the terms of the Mozilla Public 6 * License, v. 2.0. If a copy of the MPL was not distributed with this 7 * file, You can obtain one at http://mozilla.org/MPL/2.0/. 8 * 9 * This file incorporates work covered by the following license notice: 10 * 11 * Licensed to the Apache Software Foundation (ASF) under one or more 12 * contributor license agreements. See the NOTICE file distributed 13 * with this work for additional information regarding copyright 14 * ownership. The ASF licenses this file to you under the Apache 15 * License, Version 2.0 (the "License"); you may not use this file 16 * except in compliance with the License. You may obtain a copy of 17 * the License at http://www.apache.org/licenses/LICENSE-2.0 . 18 */ 19#ifndef __com_sun_star_chart_XChartDataArray_idl__ 20#define __com_sun_star_chart_XChartDataArray_idl__ 21 22#include <com/sun/star/chart/XChartData.idl> 23 24 25 module com { module sun { module star { module chart { 26 27 28/** gives access to data represented as an array of rows. 29 30 <p>Can be obtained from interface XChartDocument via method getData().</p> 31 32 <p>If used for an XYDiagram, the row number 0 33 represents the <i>x</i>-values.</p> 34 */ 35published interface XChartDataArray: XChartData 36{ 37 38 /** retrieves the numerical data as a nested sequence of values. 39 40 @returns 41 the values as a sequence of sequences. The inner sequence 42 represents rows. 43 */ 44 sequence< sequence< double > > getData(); 45 46 47 /** sets the chart data as an array of numbers. 48 49 @param aData 50 the values as a sequence of sequences. The inner sequence 51 represents rows. 52 */ 53 void setData( [in] sequence< sequence< double > > aData ); 54 55 56 /** retrieves the description texts for all rows. 57 58 @returns 59 a sequence of strings, each representing the description 60 of a row. 61 */ 62 sequence< string > getRowDescriptions(); 63 64 65 /** sets the description texts for all rows. 66 67 @param aRowDescriptions 68 a sequence of strings which represent a description for 69 each row. 70 */ 71 void setRowDescriptions( [in] sequence< string > aRowDescriptions ); 72 73 74 /** retrieves the description texts for all columns. 75 76 @returns 77 a sequence of strings, each representing the description 78 of a column. 79 */ 80 sequence< string > getColumnDescriptions(); 81 82 83 /** sets the description texts for all columns. 84 85 @param aColumnDescriptions 86 a sequence of strings which represent a description for 87 each column. 88 */ 89 void setColumnDescriptions( [in] sequence< string > aColumnDescriptions ); 90}; 91 92 93}; }; }; }; 94 95#endif 96 97/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ 98