LibreOffice
LibreOffice 7.2 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 
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 
163 
185  void applyStyle( [in] XDataSeries xSeries,
186  [in] long nChartTypeGroupIndex,
187  [in] long nSeriesIndex,
188  [in] long nSeriesCount );
189 
205  void resetStyles( [in] XDiagram xDiagram );
206 };
207 
208 } ; // chart2
209 } ; // com
210 } ; // sun
211 } ; // star
212 
213 #endif
214 
215 /* 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.
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
offers tooling to interpret different data sources in a structural and chart-type-dependent way.
Definition: XDataInterpreter.idl:41
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