Dismiss
InnovationQ will be updated on Sunday, Oct. 22, from 10am ET - noon. You may experience brief service interruptions during that time.
Browse Prior Art Database

Expand Report Row to Allow Character Wrapping Without Using Multiple Buffers

IP.com Disclosure Number: IPCOM000102702D
Original Publication Date: 1990-Dec-01
Included in the Prior Art Database: 2005-Mar-17
Document File: 1 page(s) / 33K

Publishing Venue

IBM

Related People

Wang, JS: AUTHOR

Abstract

A program is disclosed that displays the report window in Query Manager by using a row buffer to format the report row data. If the user specifies CW or CT edit codes, the data row may be wrapped into multiple lines depending on the displayed column width. A data row is then formatted into a buffer and all the column data, numerical and alphabetical, are converted into character strings ready to be displayed. The row is then expanded by inserting a certain number of blank space into the column data. The row is constructed in the following format:

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 98% of the total text.

Expand Report Row to Allow Character Wrapping Without Using Multiple Buffers

       A program is disclosed that displays the report window in
Query Manager by using a row buffer to format the report row data. If
the user specifies CW or CT edit codes, the data row may be wrapped
into multiple lines depending on the displayed column width. A data
row is then formatted into a buffer and all the column data,
numerical and alphabetical, are converted into character strings
ready to be displayed. The row is then expanded by inserting a
certain number of blank space into the column data. The row is
constructed in the following format:

      (RN) (CW CN) data (CW CN) data (CW CN) data ... where the row
header, RN, contains the total number of wrapping lines.  Each column
header (CW CN) contains the column width after expansion and the
number of lines that the column data is wrapped into. The column data
contains a character string with length equal to a multiple of the
column width. Each time a wrapped line is displayed, the column data
(of length equal to each column width data) is removed from the row
buffer while RN, CWs and CNs are updated to reflect the change.  This
process continues until all the wrapping lines have been displayed
and RN = 0.

      By using the row buffer with row header and column headers
information, and using expanded column data with the right number of
blanks inserted, character wrapping or word wrapping can be achieved
without using m...