1d1766043SAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 3d1766043SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4d1766043SAndrew Rist * or more contributor license agreements. See the NOTICE file 5d1766043SAndrew Rist * distributed with this work for additional information 6d1766043SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7d1766043SAndrew Rist * to you under the Apache License, Version 2.0 (the 8d1766043SAndrew Rist * "License"); you may not use this file except in compliance 9d1766043SAndrew Rist * with the License. You may obtain a copy of the License at 10d1766043SAndrew Rist * 11d1766043SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12d1766043SAndrew Rist * 13d1766043SAndrew Rist * Unless required by applicable law or agreed to in writing, 14d1766043SAndrew Rist * software distributed under the License is distributed on an 15d1766043SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16d1766043SAndrew Rist * KIND, either express or implied. See the License for the 17d1766043SAndrew Rist * specific language governing permissions and limitations 18d1766043SAndrew Rist * under the License. 19d1766043SAndrew Rist * 20d1766043SAndrew Rist *************************************************************/ 21d1766043SAndrew Rist 22d1766043SAndrew Rist 23cdf0e10cSrcweir#ifndef __com_sun_star_chart_Diagram_idl__ 24cdf0e10cSrcweir#define __com_sun_star_chart_Diagram_idl__ 25cdf0e10cSrcweir 26cdf0e10cSrcweir#ifndef __com_sun_star_chart_XDiagram_idl__ 27cdf0e10cSrcweir#include <com/sun/star/chart/XDiagram.idl> 28cdf0e10cSrcweir#endif 29cdf0e10cSrcweir 30cdf0e10cSrcweir#ifndef __com_sun_star_chart_XAxisSupplier_idl__ 31cdf0e10cSrcweir#include <com/sun/star/chart/XAxisSupplier.idl> 32cdf0e10cSrcweir#endif 33cdf0e10cSrcweir 34cdf0e10cSrcweir#ifndef __com_sun_star_chart_XDiagramPositioning_idl__ 35cdf0e10cSrcweir#include <com/sun/star/chart/XDiagramPositioning.idl> 36cdf0e10cSrcweir#endif 37cdf0e10cSrcweir 38cdf0e10cSrcweir#ifndef __com_sun_star_chart_XSecondAxisTitleSupplier_idl__ 39cdf0e10cSrcweir#include <com/sun/star/chart/XSecondAxisTitleSupplier.idl> 40cdf0e10cSrcweir#endif 41cdf0e10cSrcweir 42cdf0e10cSrcweir#ifndef __com_sun_star_beans_XPropertySet_idl__ 43cdf0e10cSrcweir#include <com/sun/star/beans/XPropertySet.idl> 44cdf0e10cSrcweir#endif 45cdf0e10cSrcweir 46cdf0e10cSrcweir#ifndef __com_sun_star_chart_ChartDataRowSource_idl__ 47cdf0e10cSrcweir#include <com/sun/star/chart/ChartDataRowSource.idl> 48cdf0e10cSrcweir#endif 49cdf0e10cSrcweir 50cdf0e10cSrcweir#ifndef _com_sun_star_xml_UserDefinedAttributeSupplier_idl_ 51cdf0e10cSrcweir#include <com/sun/star/xml/UserDefinedAttributeSupplier.idl> 52cdf0e10cSrcweir#endif 53cdf0e10cSrcweir 54cdf0e10cSrcweir//============================================================================= 55cdf0e10cSrcweir 56cdf0e10cSrcweir module com { module sun { module star { module chart { 57cdf0e10cSrcweir 58cdf0e10cSrcweir//============================================================================= 59cdf0e10cSrcweir 60cdf0e10cSrcweir/** the base service for the diagram of the chart document. 61cdf0e10cSrcweir 62cdf0e10cSrcweir <p>The diagram is the object that contains the actual plot.</p> 63cdf0e10cSrcweir 64cdf0e10cSrcweir <p>Different Diagram Types, e.g., <type>PieDiagram</type> or 65cdf0e10cSrcweir <type>LineDiagram</type>, can be instantiated by the 66cdf0e10cSrcweir <type scope="com::sun::star::lang">XMultiServiceFactory</type> of 67cdf0e10cSrcweir the <type>XChartDocument</type>.</p> 68cdf0e10cSrcweir 69cdf0e10cSrcweir */ 70cdf0e10cSrcweirpublished service Diagram 71cdf0e10cSrcweir{ 72cdf0e10cSrcweir 73cdf0e10cSrcweir interface com::sun::star::chart::XDiagram; 74cdf0e10cSrcweir 75cdf0e10cSrcweir /** Provides easier access to the differnet axes and their sub elements. 76*0d3a54ffSJürgen Schmidt @since OpenOffice 3.4 77cdf0e10cSrcweir */ 78cdf0e10cSrcweir [optional] interface com::sun::star::chart::XAxisSupplier; 79cdf0e10cSrcweir 80cdf0e10cSrcweir /** Provides access to the titles of the secondary X axis and Y axis. 81*0d3a54ffSJürgen Schmidt @since OpenOffice 3.0 82cdf0e10cSrcweir */ 83cdf0e10cSrcweir [optional] interface com::sun::star::chart::XSecondAxisTitleSupplier; 84cdf0e10cSrcweir 85cdf0e10cSrcweir /** 86*0d3a54ffSJürgen Schmidt @since OpenOffice 3.3 87cdf0e10cSrcweir */ 88cdf0e10cSrcweir [optional] interface com::sun::star::chart::XDiagramPositioning; 89cdf0e10cSrcweir 90cdf0e10cSrcweir //------------------------------------------------------------------------- 91cdf0e10cSrcweir 92cdf0e10cSrcweir /** If this property is <TRUE/> the position is calculated by the application automatically. 93cdf0e10cSrcweir Setting this property to false will have no effect. Instead use the interface <type scope="com::sun::star::drawing">XShape</type> 94cdf0e10cSrcweir to set a concrete position (note <type scope="com::sun::star::chart">XDiagram</type> is derived from <type scope="com::sun::star::drawing">XShape</type>). 95cdf0e10cSrcweir */ 96cdf0e10cSrcweir [optional, property] boolean AutomaticPosition; 97cdf0e10cSrcweir 98cdf0e10cSrcweir //------------------------------------------------------------------------- 99cdf0e10cSrcweir 100cdf0e10cSrcweir /** If this property is <TRUE/> the size is calculated by the application automatically. 101cdf0e10cSrcweir Setting this property to false will have no effect. Instead use the interface <type scope="com::sun::star::drawing">XShape</type> 102cdf0e10cSrcweir to set a concrete size (note <type scope="com::sun::star::chart">XDiagram</type> is derived from <type scope="com::sun::star::drawing">XShape</type>). 103cdf0e10cSrcweir */ 104cdf0e10cSrcweir [optional, property] boolean AutomaticSize; 105cdf0e10cSrcweir 106cdf0e10cSrcweir //------------------------------------------------------------------------- 107cdf0e10cSrcweir 108cdf0e10cSrcweir interface com::sun::star::beans::XPropertySet; 109cdf0e10cSrcweir 110cdf0e10cSrcweir //------------------------------------------------------------------------- 111cdf0e10cSrcweir 112cdf0e10cSrcweir /** If a <type>Diagram</type> may be stored as XML file, this 113cdf0e10cSrcweir service should be supported in order to preserve unparsed XML 114cdf0e10cSrcweir attributes. 115cdf0e10cSrcweir 116*0d3a54ffSJürgen Schmidt @since OpenOffice 1.1.2 117cdf0e10cSrcweir */ 118cdf0e10cSrcweir [optional] service com::sun::star::xml::UserDefinedAttributeSupplier; 119cdf0e10cSrcweir 120cdf0e10cSrcweir //------------------------------------------------------------------------- 121cdf0e10cSrcweir 122cdf0e10cSrcweir /** determines if the data for a data row is contained in the 123cdf0e10cSrcweir columns or in the rows of the data array. 124cdf0e10cSrcweir 125cdf0e10cSrcweir @see ChartDataRowSource 126cdf0e10cSrcweir @see ChartDataArray 127cdf0e10cSrcweir */ 128cdf0e10cSrcweir [property] com::sun::star::chart::ChartDataRowSource DataRowSource; 129cdf0e10cSrcweir 130cdf0e10cSrcweir //------------------------------------------------------------------------- 131cdf0e10cSrcweir 132cdf0e10cSrcweir /** specifies how the caption of data points is displayed. 133cdf0e10cSrcweir 134cdf0e10cSrcweir @see ChartDataCaption 135cdf0e10cSrcweir */ 136cdf0e10cSrcweir [property] long DataCaption; 137cdf0e10cSrcweir 138cdf0e10cSrcweir //------------------------------------------------------------------------- 139cdf0e10cSrcweir 140cdf0e10cSrcweir /** specifies how empty or invalid cells in the provided data should be handled when displayed 141cdf0e10cSrcweir 142cdf0e10cSrcweir @see MissingValueTreatment 143cdf0e10cSrcweir */ 144cdf0e10cSrcweir [optional, property] long MissingValueTreatment; 145cdf0e10cSrcweir 146cdf0e10cSrcweir}; 147cdf0e10cSrcweir 148cdf0e10cSrcweir//============================================================================= 149cdf0e10cSrcweir 150cdf0e10cSrcweir}; }; }; }; 151cdf0e10cSrcweir 152cdf0e10cSrcweir#endif 153