LibreOffice LibreOffice 26.2 SDK API Reference

XChartDocument.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
20module com
21{
22module sun
23{
24module star
25{
26module chart2
27{
28
29 interface XChartDocument : ::com::sun::star::frame::XModel
30{
39 XDiagram getFirstDiagram();
40
49 void setFirstDiagram( [in] XDiagram xDiagram );
50
68 void createInternalDataProvider( [in] boolean bCloneExistingData )
69 raises( com::sun::star::util::CloseVetoException );
70
81 boolean hasInternalDataProvider();
82
89 com::sun::star::chart2::data::XDataProvider getDataProvider();
90
95 void setChartTypeManager( [in] XChartTypeManager xNewManager );
96
101 XChartTypeManager getChartTypeManager();
102
116 com::sun::star::beans::XPropertySet getPageBackground();
117
120 void createDefaultChart();
121
125 XChartStyle getStyles();
126
130 XChartColorStyle getColorStyles();
131};
132
133} ; // chart2
134} ; // com
135} ; // sun
136} ; // star
137
138/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::util::CloseVetoException
this exception can be thrown to prevent the environment of any object from closing
Definition: CloseVetoException.idl:29
com::sun::star::beans::XPropertySet
provides information about and access to the properties from an implementation.
Definition: XPropertySet.idl:46
com::sun::star::chart2::XChartColorStyle
Interface for chart colors.
Definition: XChartColorStyle.idl:19
com::sun::star::chart2::XChartDocument
Definition: XChartDocument.idl:30
com::sun::star::chart2::XChartDocument::getStyles
XChartStyle getStyles()
Get style information.
com::sun::star::chart2::XChartDocument::getDataProvider
com::sun::star::chart2::data::XDataProvider getDataProvider()
Returns the currently set data provider.
com::sun::star::chart2::XChartDocument::getPageBackground
com::sun::star::beans::XPropertySet getPageBackground()
Gives access to the page background appearance.
com::sun::star::chart2::XChartDocument::setFirstDiagram
void setFirstDiagram([in] XDiagram xDiagram)
com::sun::star::chart2::XChartDocument::getChartTypeManager
XChartTypeManager getChartTypeManager()
retrieves the component that is able to create different chart type templates (components of type Cha...
com::sun::star::chart2::XChartDocument::setChartTypeManager
void setChartTypeManager([in] XChartTypeManager xNewManager)
sets a new component that is able to create different chart type templates (components of type ChartT...
com::sun::star::chart2::XChartDocument::hasInternalDataProvider
boolean hasInternalDataProvider()
com::sun::star::chart2::XChartDocument::createInternalDataProvider
void createInternalDataProvider([in] boolean bCloneExistingData)
creates an internal com::sun::star::chart2::XDataProvider that is handled by the chart document itsel...
com::sun::star::chart2::XChartDocument::getColorStyles
XChartColorStyle getColorStyles()
Get colorstyle information.
com::sun::star::chart2::XChartDocument::getFirstDiagram
XDiagram getFirstDiagram()
com::sun::star::chart2::XChartDocument::createDefaultChart
void createDefaultChart()
Creates a default chart type for a brand-new chart object.
com::sun::star::chart2::XChartStyle
Chart style interface.
Definition: XChartStyle.idl:19
com::sun::star::chart2::XChartTypeManager
Definition: XChartTypeManager.idl:30
com::sun::star::chart2::XDiagram
Definition: XDiagram.idl:30
com::sun::star::chart2::data::XDataProvider
An application that provides data for a chart must implement this interface.
Definition: XDataProvider.idl:35
com::sun::star::frame::XModel
represents a component which is created from a URL and arguments.
Definition: XModel.idl:51
com
Definition: Ambiguous.idl:20