mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-25 00:03:03 +01:00
57 lines
1.9 KiB
C
57 lines
1.9 KiB
C
|
/*
|
||
|
* 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): ______________________________________.
|
||
|
*/
|
||
|
|
||
|
#ifndef _QLI_REPORT_H_
|
||
|
#define _QLI_REPORT_H_
|
||
|
|
||
|
/* Control break block */
|
||
|
|
||
|
typedef struct brk {
|
||
|
struct blk brk_header;
|
||
|
struct brk *brk_next; /* Next break */
|
||
|
SYN brk_field; /* Field expression for break */
|
||
|
SYN brk_line; /* Print line */
|
||
|
LLS brk_statisticals; /* Statistical expressions */
|
||
|
} *BRK;
|
||
|
|
||
|
/* Report block */
|
||
|
|
||
|
typedef struct rpt {
|
||
|
struct blk rpt_hdr;
|
||
|
struct nod *rpt_detail_line; /* Detail line print list */
|
||
|
BRK rpt_top_page; /* Top of page print list */
|
||
|
BRK rpt_bottom_page; /* Bottom of page print list */
|
||
|
BRK rpt_top_rpt; /* Top of report print list */
|
||
|
BRK rpt_bottom_rpt; /* Bottom of report print list */
|
||
|
BRK rpt_top_breaks; /* Top of <field> break list */
|
||
|
BRK rpt_bottom_breaks; /* Bottom of <field> break list */
|
||
|
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;
|
||
|
|
||
|
#endif /* _QLI_REPORT_H_ */
|