prova


<!ELEMENT column (margin?)><br> <!ATTLIST column leftpos CDATA #IMPLIED><br> <!ATTLIST column width CDATA #IMPLIED><br> <!ATTLIST column align CDATA #IMPLIED><br> <!ATTLIST column font CDATA #IMPLIED>

Set the column properties.

 

Parent:

columnset
 

Childs:

margin
 

Attributes:

leftpos

Set the orizontal position of the left border of the column. The passed value may be characters from the left border of the page (if you set CPageManager), or twip from the left order of the page (if you set CPagePinter or CPagePdf). See Unit system page for more details

width

Columns'width.

align

Set the default orizontal alignment for this column. The valid values are: left,right,center. The default value is left. Each text may override the default with its own alignment.

font

Set the font id specified as default font for all text inside this column. Each text may override the default with its own font. The id must be the id of a font defined by font tag.

 

Note:

Added in Sptpl 2.0. See Details about columns page for more details about the columns usage.

 

Examples:

First example. row without any option. The module print the text left aligned.

Some text

Second example. It write the text centered

Some text

Now it write the text two row after the last one

Some text

Change page when the variable foo changes its value.


Value of foo is: {$foo}