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 .
20 module com
{ module sun
{ module star
{ module report
{
23 /** identifies a XSection inside a report.
25 <p>A section acts like a container of report components. This generic
26 construction allows the definition of hierarchies of reports and their
27 dependent subreports.</p>
29 @see XReportDefinition
34 /** allows to navigate to group or report definition.
36 interface com
::sun
::star
::container
::XChild
;
37 /** allows to register listeners to be notified of changes in the container.
39 interface com
::sun
::star
::container
::XContainer
;
41 /** gives access to the elements by index.
43 interface com
::sun
::star
::drawing
::XShapes
;
45 /** creates an enumeration of the elements.
47 interface com
::sun
::star
::container
::XEnumerationAccess
;
49 /** provides generic access to the instance properties
51 interface com
::sun
::star
::beans
::XPropertySet
;
53 /** allows life-time control of sections.
55 interface com
::sun
::star
::lang
::XComponent
;
58 /** Defines if the section should be visible in report.
60 [attribute
,bound
] boolean Visible
;
62 /** Defines the name of the section.
64 [attribute
,bound
] string Name
;
66 /** Defines the height of the section.
68 [attribute
,bound
] unsigned long Height
;
70 /** Defines the background color of the section.
72 [attribute
,bound
] com
::sun
::star
::util
::Color BackColor
;
74 /** determines if the background color is set to transparent.
76 [attribute
,bound
] boolean BackTransparent
;
78 /** Defines the expression which is executed before printing the section.
79 If the return value of the expression is `TRUE` then the section will be printed.
81 [attribute
,bound
] string ConditionalPrintExpression
;
83 /** Specifies whether the section is printed on a separate page.
84 <p>Not valid for page header or page footer.</p>
87 [attribute
,bound
] short ForceNewPage
89 set raises
( com
::sun
::star
::lang
::IllegalArgumentException
,com
::sun
::star
::beans
::UnknownPropertyException
);
90 get raises
( com
::sun
::star
::beans
::UnknownPropertyException
);
93 /** Specifies whether the section is printed in a new row or column within a multi column report.
94 <p>Not valid for page header or page footer.</p>
97 [attribute
,bound
] short NewRowOrCol
99 set raises
( com
::sun
::star
::lang
::IllegalArgumentException
,com
::sun
::star
::beans
::UnknownPropertyException
);
100 get raises
( com
::sun
::star
::beans
::UnknownPropertyException
);
103 /** Specifies that the section is printed on one page.
104 <p>Not valid for page header or page footer.</p>
106 [attribute
,bound
] boolean KeepTogether
108 set raises
( com
::sun
::star
::lang
::IllegalArgumentException
,com
::sun
::star
::beans
::UnknownPropertyException
);
109 get raises
( com
::sun
::star
::beans
::UnknownPropertyException
);
112 /** Specifies that elements with dynamic state will be expanded vertically when then content of the element is larger than it's container.
113 If this property is disabled the content will be truncated when its size is larger than the container.
115 [attribute
,bound
] boolean CanGrow
117 set raises
( com
::sun
::star
::lang
::IllegalArgumentException
,com
::sun
::star
::beans
::UnknownPropertyException
);
118 get raises
( com
::sun
::star
::beans
::UnknownPropertyException
);
122 <p>Represents ...</p>
125 [attribute
,bound
] boolean CanShrink
127 set raises
( com
::sun
::star
::lang
::IllegalArgumentException
,com
::sun
::star
::beans
::UnknownPropertyException
);
128 get raises
( com
::sun
::star
::beans
::UnknownPropertyException
);
131 /** Defines that the group header should be repeated on the next page when a group spans more than one page.
132 It only applies to group headers.
134 [attribute
,bound
] boolean RepeatSection
136 set raises
( com
::sun
::star
::lang
::IllegalArgumentException
,com
::sun
::star
::beans
::UnknownPropertyException
);
137 get raises
( com
::sun
::star
::beans
::UnknownPropertyException
);
140 /** Specifies the parent of the section if it is a group header or group footer.
142 [attribute
,readonly] com
::sun
::star
::report
::XGroup Group
;
144 /** Specifies the parent of the section if it is a page header or page footer.
146 [attribute
,readonly] com
::sun
::star
::report
::XReportDefinition ReportDefinition
;
152 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */