2001-05-23 15:26:42 +02:00
|
|
|
/*
|
|
|
|
* PROGRAM: JRD Command Oriented Query Language
|
|
|
|
* MODULE: report.h
|
|
|
|
* DESCRIPTION: Report writer definitions
|
|
|
|
*
|
|
|
|
* The contents of this file are subject to the Interbase Public
|
|
|
|
* License Version 1.0 (the "License"); you may not use this file
|
|
|
|
* except in compliance with the License. You may obtain a copy
|
|
|
|
* of the License at http://www.Inprise.com/IPL.html
|
|
|
|
*
|
|
|
|
* Software distributed under the License is distributed on an
|
|
|
|
* "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express
|
|
|
|
* or implied. See the License for the specific language governing
|
|
|
|
* rights and limitations under the License.
|
|
|
|
*
|
|
|
|
* The Original Code was created by Inprise Corporation
|
|
|
|
* and its predecessors. Portions created by Inprise Corporation are
|
|
|
|
* Copyright (C) Inprise Corporation.
|
|
|
|
*
|
|
|
|
* All Rights Reserved.
|
|
|
|
* Contributor(s): ______________________________________.
|
|
|
|
*/
|
|
|
|
|
2003-09-25 13:49:12 +02:00
|
|
|
#ifndef QLI_REPORT_H
|
|
|
|
#define QLI_REPORT_H
|
2001-05-23 15:26:42 +02:00
|
|
|
|
|
|
|
/* Control break block */
|
|
|
|
|
2004-01-03 15:12:45 +01:00
|
|
|
typedef struct qli_brk {
|
2003-09-19 12:26:46 +02:00
|
|
|
blk brk_header;
|
2004-01-03 15:12:45 +01:00
|
|
|
qli_brk* brk_next; /* Next break */
|
2001-05-23 15:26:42 +02:00
|
|
|
SYN brk_field; /* Field expression for break */
|
|
|
|
SYN brk_line; /* Print line */
|
|
|
|
LLS brk_statisticals; /* Statistical expressions */
|
2004-01-03 15:12:45 +01:00
|
|
|
} *QLI_BRK;
|
2001-05-23 15:26:42 +02:00
|
|
|
|
|
|
|
/* Report block */
|
|
|
|
|
|
|
|
typedef struct rpt {
|
2003-09-19 12:26:46 +02:00
|
|
|
blk rpt_hdr;
|
|
|
|
qli_nod* rpt_detail_line; /* Detail line print list */
|
2004-01-03 15:12:45 +01:00
|
|
|
QLI_BRK rpt_top_page; /* Top of page print list */
|
|
|
|
QLI_BRK rpt_bottom_page; /* Bottom of page print list */
|
|
|
|
QLI_BRK rpt_top_rpt; /* Top of report print list */
|
|
|
|
QLI_BRK rpt_bottom_rpt; /* Bottom of report print list */
|
|
|
|
QLI_BRK rpt_top_breaks; /* Top of <field> break list */
|
|
|
|
QLI_BRK rpt_bottom_breaks; /* Bottom of <field> break list */
|
2001-05-23 15:26:42 +02:00
|
|
|
TEXT *rpt_column_header;
|
|
|
|
TEXT *rpt_name; /* Parsed report name */
|
|
|
|
TEXT *rpt_header; /* Expanded report header */
|
|
|
|
UCHAR *rpt_buffer; /* Data buffer */
|
|
|
|
USHORT rpt_columns; /* Columns per page */
|
|
|
|
USHORT rpt_lines; /* Lines per page */
|
|
|
|
} *RPT;
|
|
|
|
|
2003-09-25 13:49:12 +02:00
|
|
|
#endif /* QLI_REPORT_H */
|