Gtk-WARNING gtktreestore.c:1047: Invalid column number 1 added to iter
[LibreOffice.git] / offapi / com / sun / star / chart2 / XCoordinateSystem.idl
blob5d19623f86a67637386cf935b417b7c39e74db79
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
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 .
20 module com
22 module sun
24 module star
26 module chart2
29 interface XCoordinateSystem : ::com::sun::star::uno::XInterface
31 /** the dimension of the coordinate-system.
33 long getDimension();
35 /** identifies the type of coordinate system (e.g. Cartesian, polar ...)
37 string getCoordinateSystemType();
39 /** return a service name from which the view component for this coordinate system can be created
41 string getViewServiceName();
43 /** The dimension says whether it is a x, y or z axis.
44 The index says whether it is a primary or a secondary axis.
45 Use nIndex == 0 for a primary axis.
47 void setAxisByDimension( [in] long nDimension,
48 [in] XAxis xAxis,
49 [in] long nIndex )
50 raises( com::sun::star::lang::IndexOutOfBoundsException );
52 /** The dimension says whether it is a x, y or z axis.
53 The index indicates whether it is a primary or a secondary axis or maybe more in future.
54 Use nIndex == 0 for a primary axis.
55 An empty Reference will be returned if the given nDimension and nIndex are in the valid range but no axis is set for those values.
56 An IndexOutOfBoundsException will be thrown if nDimension is lower than 0 or greater than the value returned by getDimension()
57 and/or if nIndex is lower 0 or greater than the value returned by getMaxAxisIndexByDimension(nDimension).
59 XAxis getAxisByDimension( [in] long nDimension, [in] long nIndex )
60 raises( com::sun::star::lang::IndexOutOfBoundsException );
62 /** In one dimension there could be several axes to enable main and secondary axis and maybe more in future.
63 This method returns the maximum index at which an axis exists for the given dimension.
64 It is allowed that some indexes in between do not have an axis.
66 long getMaximumAxisIndexByDimension( [in] long nDimension )
67 raises( com::sun::star::lang::IndexOutOfBoundsException );
70 } ; // chart2
71 } ; // com
72 } ; // sun
73 } ; // star
76 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */