Adjusting Fixed-Width Regions

If you specify the layout of the file you are converting as fixed-width, Stylus Studio uses a default row length of 80 characters. (If you let Stylus Studio determine the file layout, Stylus Studio will attempt to determine record length based on the line terminating character, if any.) You might need to adjust the row length of a region if your input file uses a different row length, or when converting a line-oriented region, like the one shown in Figure 166, to fixed-width.

There are several ways to specify the row length for a fixed-width region:

l Using the Row Length property - simply change the default value, 80, to the value that is appropriate for the current region and press Enter.
l Dragging the document pane to the left or right - move the pointer to the right border of the document pane. When it changes shape, press and hold mouse button 1 and drag the right border of the grid until the input file's fields are aligned.
l Holding the Shift key and pressing the right arrow (to add width) or the left arrow (to decrease width).

Each of these methods lets you explicitly set the row length. Alternatively, you can specify a Line Terminator character manually, as shown in Figure 167.

 
Free Stylus Studio XML Training: