Home
PHP
Application
Php Manual
Pictures
GuestBook
 
 
  Introduction Dlog Aprint SpTpl 
  Yap Xml2Array

 

 

 
 
 
Tag Index

<!ELEMENT column (margin?)>
<!ATTLIST column leftpos CDATA #IMPLIED>
  <!ATTLIST column width CDATA #IMPLIED>
  <!ATTLIST column align CDATA #IMPLIED>
  <!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.

<row>Some text</row>

Second example. It write the text centered

<row align='center'>Some text</row>

Now it write the text two row after the last one

<row vpos='relative' rowpos='2'>Some text</row>

Change page when the variable foo changes its value.

<group key='foo' level='1' name='foo_group'>
  <row vpos='newpage'>Value of foo is: {$foo}</row>
</group>

 

Copyright © 2003-2008 Darvin Andrioli, last change 02/03/2004