1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
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 .
19 #ifndef __com_sun_star_chart_XChartData_idl__
20 #define __com_sun_star_chart_XChartData_idl__
22 #include
<com
/sun
/star
/uno
/XInterface.idl
>
24 #include
<com
/sun
/star
/chart
/XChartDataChangeEventListener.idl
>
28 module com
{ module sun
{ module star
{ module chart
{
31 /** manages the data of the chart.
35 published
interface XChartData
: com
::sun
::star
::uno
::XInterface
38 /** allows a component supporting the
39 XChartDataChangeEventListener interface to
40 register as listener. The component will be notified with a
41 ChartDataChangeEvent every time the chart's data
45 the component that is to be added as listener
47 @see XChartDataChangeEventListener
48 @see ChartDataChangeEvent
50 void addChartDataChangeEventListener
( [in] com
::sun
::star
::chart
::XChartDataChangeEventListener aListener
);
53 /** removes a previously registered listener.
56 the component that is to be removed
58 void removeChartDataChangeEventListener
( [in] com
::sun
::star
::chart
::XChartDataChangeEventListener aListener
);
62 the value which is to be used as an indicator for a
63 missing value in the data.
65 <p>In IEEE arithmetic format it is one of the NaN values, so
66 there are no conflicts with existing numeric values.</p>
68 double getNotANumber
();
71 /** checks whether the value given is equal to the indicator value
74 <p>In IEEE arithmetic format it is one of the NaN values, so
75 there are no conflicts with existing numeric values.</p>
77 <p>Always use this method to check, if a value is <em>not a
78 number</em>. If you compare the value returned by
79 XChartData::getNotANumber() to another double
80 value using the = operator, you may not get the desired
84 `TRUE` if the number given is interpreted by the chart as
88 the number that you want to check for validity.
90 boolean isNotANumber
( [in] double nNumber
);
99 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */