LibreOffice
LibreOffice 7.4 SDK API Reference
XChartTypeTemplate.idl
Go to the documentation of this file.
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_chart2_XChartTypeTemplate_idl
20 #define com_sun_star_chart2_XChartTypeTemplate_idl
21 
28 #include <com/sun/star/chart2/XDataInterpreter.idl>
29 
30 module com
31 {
32 module sun
33 {
34 module star
35 {
36 module chart2
37 {
38 
40 {
63  [in] sequence< com::sun::star::beans::PropertyValue > aArguments );
64 
68  boolean supportsCategories();
69 
82  void changeDiagram( [in] XDiagram xDiagram );
83 
117  [in] XDiagram xDiagram,
119  [in] sequence< com::sun::star::beans::PropertyValue > aArguments );
120 
150  boolean matchesTemplate( [in] XDiagram xDiagram,
151  [in] boolean bAdaptProperties );
152 
160  XChartType getChartTypeForNewSeries( [in] sequence< XChartType > aFormerlyUsedChartTypes );
161 
172 
194  void applyStyle( [in] XDataSeries xSeries,
195  [in] long nChartTypeGroupIndex,
196  [in] long nSeriesIndex,
197  [in] long nSeriesCount );
198 
214  void resetStyles( [in] XDiagram xDiagram );
215 };
216 
217 } ; // chart2
218 } ; // com
219 } ; // sun
220 } ; // star
221 
222 #endif
223 
224 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Definition: XChartTypeTemplate.idl:40
void resetStyles([in] XDiagram xDiagram)
Resets all styles that were changed from the default at any object in the chart and have not been lat...
void changeDiagramData([in] XDiagram xDiagram, [in] com::sun::star::chart2::data::XDataSource xDataSource, [in] sequence< com::sun::star::beans::PropertyValue > aArguments)
Changes the given diagram xDiagram by using the new data given in xDataSource.
void changeDiagram([in] XDiagram xDiagram)
Analyses the given diagram and reinterprets its DataSeries and Categories and creates a new diagram b...
XChartType getChartTypeForNewSeries([in] sequence< XChartType > aFormerlyUsedChartTypes)
Provides a chart type object that can be used to create new series.
com::sun::star::uno::XInterface getDataInterpreter()
This used to have a return type of XDataInterpreter.
XDiagram createDiagramByDataSource([in] com::sun::star::chart2::data::XDataSource xDataSource, [in] sequence< com::sun::star::beans::PropertyValue > aArguments)
Creates a new diagram based upon the given data .
boolean matchesTemplate([in] XDiagram xDiagram, [in] boolean bAdaptProperties)
States whether the given diagram could have been created by the template.
void applyStyle([in] XDataSeries xSeries, [in] long nChartTypeGroupIndex, [in] long nSeriesIndex, [in] long nSeriesCount)
Applies a chart-type specific style (e.g.
Definition: XChartType.idl:37
A data series represents the object that has all the knowledge to be rendered as a visual data series...
Definition: XDataSeries.idl:39
Definition: XDiagram.idl:40
provides access to sequences of data.
Definition: XDataSource.idl:50
base interface of all UNO interfaces
Definition: XInterface.idl:48
Definition: Ambiguous.idl:22