home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 5 / 05.iso / a / a009 / 5.ddi / SYS.LIF / FRMDEF.CH < prev    next >
Encoding:
Text File  |  1991-04-14  |  2.2 KB  |  48 lines

  1. /***
  2. *   Frmdef.ch
  3. *   Clipper 5.0 REPORT FORM system definitions.
  4. *   Copyright (c) 1990 Nantucket Corp.  All rights reserved.
  5. */
  6.  
  7. // Report array definitions
  8. #define RP_HEADER   1       // Array of header strings
  9. #define RP_WIDTH    2       // Numeric, report page width
  10. #define RP_LMARGIN  3       // Numeric, report page offset
  11. #define RP_RMARGIN  4       // NIL, Not used
  12. #define RP_LINES    5       // Numeric, number of lines per page
  13. #define RP_SPACING  6       // Numeric, single=1, double=2
  14. #define RP_BEJECT   7       // Logical, eject before 1st page, .T.=Yes .F.=No
  15. #define RP_AEJECT   8       // Logical, eject after last page, .T.=Yes .F.=No
  16. #define RP_PLAIN    9       // Logical, plain report, .T.=Yes .F.=No
  17. #define RP_SUMMARY  10      // Logical, no detail lines, .T.=Yes .F.=No
  18. #define RP_COLUMNS  11      // Array of Column arrays
  19. #define RP_GROUPS   12      // Array of Group arrays
  20. #define RP_HEADING  13      // Character, heading for the report
  21.  
  22. #define RP_COUNT    13      // Number of elements in the Report array
  23.  
  24.  
  25. // Column array definitions ( one array per column definition )
  26. #define RC_EXP      1       // Block, contains compiled column expression
  27. #define RC_TEXT     2       // Character, contains text column expression
  28. #define RC_TYPE     3       // Character, type of expression
  29. #define RC_HEADER   4       // Array of column heading strings
  30. #define RC_WIDTH    5       // Numeric, column width including decimals and
  31.                             // decimal point
  32. #define RC_DECIMALS 6       // Numeric, number of decimal places
  33. #define RC_TOTAL    7       // Logical, total this column, .T.=Yes .F.=No
  34. #define RC_PICT     8       // Character, picture string
  35.  
  36. #define RC_COUNT    8       // Number of elements in the Column array
  37.  
  38.  
  39. // Group array definitions ( one array per group definition )
  40. #define RG_EXP      1       // Block, contains compiled group expression
  41. #define RG_TEXT     2       // Character, contains text group expression
  42. #define RG_TYPE     3       // Character, type of expression
  43. #define RG_HEADER   4       // Character, column heading string
  44. #define RG_AEJECT   5       // Logical, eject after group, .T.=Yes .F.=No
  45.  
  46. #define RG_COUNT    5       // Number of elements in the Group array
  47.  
  48.