Get the style color and number just once
[LibreOffice.git] / offapi / com / sun / star / report / meta / XFunctionCategory.idl
blob6c194f722f5824d0cc2f656f3cfcb42225e36a31
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 { module sun { module star { module report { module meta {
22 interface XFunctionDescription;
23 /** identifies a XFunctionCategory which allows to retrieve the meta data of all supported functions.
27 interface XFunctionCategory
29 /** gives access to the properties.
31 interface com::sun::star::beans::XPropertySet;
33 /** gives access to all categories
35 interface com::sun::star::container::XIndexAccess;
37 /** same as getByIndex.
38 @see com.sun.star.container.XIndexAccess
40 XFunctionDescription getFunction([in] long position)
41 raises( com::sun::star::lang::IndexOutOfBoundsException,
42 com::sun::star::lang::WrappedTargetException );
44 /** returns the localized category's name.
46 [attribute,readonly] string Name;
48 /** specifies the category number.
50 [attribute,readonly] long Number;
54 }; }; }; }; };
56 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */