1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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 .
19 #ifndef __com_sun_star_report_XFunction_idl__
20 #define __com_sun_star_report_XFunction_idl__
22 #include
<com
/sun
/star
/beans
/XPropertySet.idl
>
23 #include
<com
/sun
/star
/beans
/Optional.idl
>
24 #include
<com
/sun
/star
/lang
/XComponent.idl
>
25 #include
<com
/sun
/star
/container
/XChild.idl
>
26 module com
{ module sun
{ module star
{ module report
{
27 /** specifies a format condition for a control.
31 /** gives access to the properties.
33 interface com
::sun
::star
::beans
::XPropertySet
;
35 /** allows life-time control of function instances.
37 interface com
::sun
::star
::lang
::XComponent
;
39 /** allows the navigation to the functions object.
40 The method setParent from XChild is not supported and will throw an exception when called.
42 interface com
::sun
::star
::container
::XChild
;
44 /** specifies if the function should be evaluated before the report element will be executed.
46 [attribute
,bound
] boolean PreEvaluated
;
48 /** specifies if sub reports should be traversed as well.
50 [attribute
,bound
] boolean DeepTraversing
;
52 /** defines the name of the function
54 [attribute
,bound
] string Name
;
56 /** defines the formula of this function
58 [attribute
,bound
] string Formula
;
60 /** defines the formula for the initial value
62 [attribute
,bound
] com
::sun
::star
::beans
::Optional<string> InitialFormula
;
69 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */