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

# Method for Externalizing Table Cell Arrangement for Batch and WYSIWYG Formatting

IP.com Disclosure Number: IPCOM000112212D
Original Publication Date: 1994-Apr-01
Included in the Prior Art Database: 2005-Mar-26
Document File: 4 page(s) / 101K

IBM

## Related People

Sampson, JL: AUTHOR [+2]

## Abstract

Determining the correct ARRANGE attribute values to create the previous table can be tricky. The following steps indicate how it must be done.

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

Method for Externalizing Table Cell Arrangement for Batch and WYSIWYG
Formatting

Determining the correct ARRANGE attribute values to create the
previous table can be tricky.  The following steps indicate how it
must be done.

STEP 1.  Sketch the Row

Sketch your row and number each cell using positive integers.
You do not have to number the cells sequentially, but the process is
easier if you do.

STEP 2.  Form a Grid

Extend all the vertical and horizontal rules to the edges of the
sketch to form a grid.

The extensions are shown in thin rules, and the cells from Step 1 are
shown in thick rules.

STEP 3.  Determine the Widths of the Cells

Determine the horizontal width of each rectangle in the grid
from Step 2.  These are the values to use on the CWIDTHS attribute.
The CWIDTHS attribute for this row would be:

cwidths = '3p 3p 12p 3p 3p'

The CWIDTHS values add up to 24 picas, so the following WIDTH
attribute should be specified on the TABLE tag:

width=25p

STEP 4.  Number Each Box

Number each rectangle in the grid with the number of the cell
from Step 1.  In the first line of the grid, place a "1" in the first
and second rectangles (because they make up cell 1 in Step 1).  Your
grid should look like this:

In the previous example the numbers from 1 to 8 were used in
sequential order.  Remember, you can use any integers, in any order,
as long as the cell composed of grid elements with the same number
form a rectangle.

STEP 5.  List the Numbers

List the numbers as they appear in the grid elements from Step 4:

1  1  5  6  7

2  3  5  8  8

4  4  5  8  8

Then, use these numbers with the ARRANGE attribute:

arrange='1  1  5  6  7'

arrange='2  3  5  8  8'

arrange='4  4  5  8  8'

or

arrange='1  1  5  6  7  /  2  3  5  8  8  /  4  4  5  8  8'

The complete row definition looks like this:

(:)rdef id=myrow arrange='1  1  5  6  7'

arrange='2  3  5  8  8'

arrange='4  4  5  8  8'

...