diff options
author | Kurt Zenker <kz@openoffice.org> | 2008-03-05 15:54:46 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2008-03-05 15:54:46 +0000 |
commit | 3cadb65c2e2c93340af52f471f7cff89dda69ad5 (patch) | |
tree | 9ded66a5468df5e631ab56e5d58bd3d46485f36d /offapi/com/sun/star/report | |
parent | b49a441fad13a1ac4709fbf1a532263f15c9e44f (diff) |
INTEGRATION: CWS rptchart01_DEV300 (1.2.124); FILE MERGED
2008/02/19 07:38:56 oj 1.2.124.2: #i85225# move detail and master field into upper interface
2008/01/25 13:55:28 oj 1.2.124.1: #i85225# add two new attributes
Diffstat (limited to 'offapi/com/sun/star/report')
-rw-r--r-- | offapi/com/sun/star/report/XReportDefinition.idl | 51 |
1 files changed, 14 insertions, 37 deletions
diff --git a/offapi/com/sun/star/report/XReportDefinition.idl b/offapi/com/sun/star/report/XReportDefinition.idl index 5e5f876bfb75..8575d83dd5c6 100644 --- a/offapi/com/sun/star/report/XReportDefinition.idl +++ b/offapi/com/sun/star/report/XReportDefinition.idl @@ -4,9 +4,9 @@ * * $RCSfile: XReportDefinition.idl,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: rt $ $Date: 2007-07-06 07:22:19 $ + * last change: $Author: kz $ $Date: 2008-03-05 16:54:46 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -220,41 +220,6 @@ interface XReportDefinition */ [attribute,bound] short PageFooterOption; - /** is used for subreports and contains the names of columns of the parent report. - <p> These columns are typically the foreign key fields of the parent report. - The values of theses columns are used to identify the data for the subreport. - Each time the parent report changes it's current row, the subreport requeries - it's data based on the values of the master fields.</p> - <p>If the report is no sub report (e.g. it's parent is not a report itself), this - property is not evaluated.</p> - - */ - [attribute,bound] sequence<string> MasterFields; - - /**is used for subreports and contains the names of the columns of the subreport - which are related to the master fields of the parent report. - <p>Entries in this sequence can either denote column names in the sub report, - or paramater names.<br/> - For instance, you could base the report on the SQL statement - <code>SELECT * FROM invoices WHERE cust_ref = :cid</code>, and add <code>cid</code> - to the DetailFields property. In this case, the parameter will be filled from - the corresponding master field.<br/> - Alternatively, you could simply base your report on the table <code>invoices</code>, - and add the column name <code>cust_ref</code> to the DetailFields. In this case, - and implicit filter clause <code>WHERE cust_ref = :<new_param_name></code> will - be created, and the artificial parameter will be filled from the corresponding - master field.<br/> - If a string in this property denotes both a column name and a parameter name, it - is undefined which way it is interpreted, but implementations of the service are required - to either decide for the paramter or the column, and proceed as usual. - </p> - <p>The columns specified herein typically represent a part of the primary key - fields or their aliases of the detail report.</p> - <p>If the report is no sub report (e.g. it's parent is not a report itself), this - property is not evaluated.</p> - * - */ - [attribute,bound] sequence<string> DetailFields; /** is the command which should be executed, the type of command depends on the CommandType. @@ -312,6 +277,18 @@ interface XReportDefinition */ [attribute,bound] boolean EscapeProcessing; + /** specifies the active connection which is used to create the resulting report. + */ + [attribute,bound] com::sun::star::sdbc::XConnection ActiveConnection + { + set raises (com::sun::star::lang::IllegalArgumentException); + }; + + /** is the name of the datasource to use, this could be a named datasource + or the URL of a data access component. + */ + [attribute,bound] string DataSourceName; + /** Defines that the report header is on. Default is <FALSE/>. */ |