8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-26 10:03:03 +01:00
firebird-mirror/src/qli/report.h

60 lines
1.9 KiB
C
Raw Normal View History

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): ______________________________________.
*/
#ifndef QLI_REPORT_H
#define QLI_REPORT_H
2001-05-23 15:26:42 +02:00
2008-12-05 01:56:15 +01:00
// Control break block
2001-05-23 15:26:42 +02:00
2009-01-10 11:51:02 +01:00
struct qli_brk
{
2004-02-02 12:02:12 +01:00
blk brk_header;
2008-12-05 01:56:15 +01:00
qli_brk* brk_next; // Next break
qli_syntax* brk_field; // Field expression for break
qli_syntax* brk_line; // Print line
qli_lls* brk_statisticals; // Statistical expressions
2004-02-02 12:02:12 +01:00
};
2001-05-23 15:26:42 +02:00
2008-12-05 01:56:15 +01:00
// Report block
2001-05-23 15:26:42 +02:00
2009-01-10 11:51:02 +01:00
struct qli_rpt
{
blk rpt_hdr;
2008-12-05 01:56:15 +01:00
qli_nod* rpt_detail_line; // Detail line print list
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
2009-05-07 13:32:24 +02:00
qli_brk* rpt_top_breaks; // Top of <field> break list
qli_brk* rpt_bottom_breaks; // Bottom of <field> break list
const TEXT* rpt_column_header;
const TEXT* rpt_name; // Parsed report name
const TEXT* rpt_header; // Expanded report header
2008-12-05 01:56:15 +01:00
UCHAR* rpt_buffer; // Data buffer
USHORT rpt_columns; // Columns per page
USHORT rpt_lines; // Lines per page
2004-02-02 12:02:12 +01:00
};
#endif // QLI_REPORT_H
2001-05-23 15:26:42 +02:00