LibreOffice LibreOffice 25.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
22#include <com/sun/star/uno/XInterface.idl>
23#include <com/sun/star/beans/PropertyValue.idl>
24#include <com/sun/star/lang/IllegalArgumentException.idl>
25#include <com/sun/star/chart2/XDiagram.idl>
26#include <com/sun/star/chart2/data/XDataSource.idl>
27#include <com/sun/star/chart2/XChartType.idl>
28#include <com/sun/star/chart2/XDataInterpreter.idl>
29
30module com
31{
32module sun
33{
34module star
35{
36module chart2
37{
38
39 interface XChartTypeTemplate : ::com::sun::star::uno::XInterface
40{
61 XDiagram createDiagramByDataSource(
62 [in] com::sun::star::chart2::data::XDataSource xDataSource,
63 [in] sequence< com::sun::star::beans::PropertyValue > aArguments );
64
68 boolean supportsCategories();
69
82 void changeDiagram( [in] XDiagram xDiagram );
83
116 void changeDiagramData(
117 [in] XDiagram xDiagram,
118 [in] com::sun::star::chart2::data::XDataSource xDataSource,
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
171 com::sun::star::uno::XInterface getDataInterpreter();
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: */
IllegalArgumentException.idl
PropertyValue.idl
XChartType.idl
XInterface.idl
XDiagram.idl
XDataSource.idl
com::sun::star::chart2::XChartTypeTemplate
Definition: XChartTypeTemplate.idl:40
com::sun::star::chart2::XChartTypeTemplate::resetStyles
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...
com::sun::star::chart2::XChartTypeTemplate::changeDiagramData
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.
com::sun::star::chart2::XChartTypeTemplate::changeDiagram
void changeDiagram([in] XDiagram xDiagram)
Analyses the given diagram and reinterprets its DataSeries and Categories and creates a new diagram b...
com::sun::star::chart2::XChartTypeTemplate::supportsCategories
boolean supportsCategories()
com::sun::star::chart2::XChartTypeTemplate::getChartTypeForNewSeries
XChartType getChartTypeForNewSeries([in] sequence< XChartType > aFormerlyUsedChartTypes)
Provides a chart type object that can be used to create new series.
com::sun::star::chart2::XChartTypeTemplate::getDataInterpreter
com::sun::star::uno::XInterface getDataInterpreter()
This used to have a return type of XDataInterpreter.
com::sun::star::chart2::XChartTypeTemplate::createDiagramByDataSource
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 .
com::sun::star::chart2::XChartTypeTemplate::matchesTemplate
boolean matchesTemplate([in] XDiagram xDiagram, [in] boolean bAdaptProperties)
States whether the given diagram could have been created by the template.
com::sun::star::chart2::XChartTypeTemplate::applyStyle
void applyStyle([in] XDataSeries xSeries, [in] long nChartTypeGroupIndex, [in] long nSeriesIndex, [in] long nSeriesCount)
Applies a chart-type specific style (e.g.
com::sun::star::chart2::XChartType
Definition: XChartType.idl:30
com::sun::star::chart2::XDataSeries
A data series represents the object that has all the knowledge to be rendered as a visual data series...
Definition: XDataSeries.idl:33
com::sun::star::chart2::XDiagram
Definition: XDiagram.idl:30
com::sun::star::chart2::data::XDataSource
provides access to sequences of data.
Definition: XDataSource.idl:45
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition: XInterface.idl:46
com
Definition: Ambiguous.idl:20