Converting Text Files Into Tables
If you've created a table in a text file, you can preserve the format
when you insert the text file into Cosmo Create. For instance, many
spreadsheet applications let you save a spreadsheet as a text file. You
can insert this into Cosmo Create and preserve the formatting.
-
Choose File > Insert > Text File...
The Insert window appears. The Files area of this window shows all
files and directories that are contained in the directory whose full pathname
is shown in the Selection field.
-
Locate the file you want to open, then insert it by double-clicking its
name.
-
In the Insert Text dialog, click Convert to Table..., then
click the Insert button.
-
In the Insert Text dialog, choose how you want to format the table:
-
In your text file, if you used tabs, spaces, or a particular character
to separate table cells, you want to treat each line as a row. Choose
one of the three options:
-
Click Tabs.
-
Click Spaces, then enter the number of spaces you
used to separate the cells (default = 1).
-
Click Other, then enter a character. For instance,
you might have used a comma or colon to separate the cells.
-
If each line contains one item, treat each item as a cell (click a
cell). Enter the number of columns you want to use in your table.
-
Provide additional formatting by completing the Table Attributes
settings.
-
To place a border around the table, type a number in the Border
Size field. The border size is measured in pixels. (A
border of 1 is automatically placed around each cell unless you specify
a table border of zero, in which case there are no cell borders.)
-
Type a number in the Cell Padding field to specify how much
space appears between the text and the edge of a cell. By default,
Cosmo Create uses a cell padding of two pixels.
-
Type a number in the Cell Spacing field to determine how much
blank space surrounds each cell. By default, Cosmo Create uses
a spacing of two pixels.
-
Click the Insert button.
The table appears in your document. Use the table dialog to modify the
table as necessary.
For more information on tables, see the Creating
Tables task card.