prova


<!ELEMENT row #PCDATA><br> <!ATTLIST row vpos CDATA #IMPLIED><br> <!ATTLIST row rowpos CDATA #IMPLIED><br> <!ATTLIST row align CDATA #IMPLIED><br> <!ATTLIST row colpos CDATA #IMPLIED> <br> <!ATTLIST row fontid CDATA #IMPLIED> <br> <!ATTLIST row columnset CDATA #IMPLIED><br> <!ATTLIST row column CDATA #IMPLIED><br>

Set the text row

 

Parent:

report
group
endgroup
body
 

Childs:

#PCDATA
 

Attributes:

vpos

Set the vertical position (on the current page) of this row. The admitted values for the attribute are: top, bottom, relative, absolute, newpage.
The values top and bottom specified to print the row at the begin or at the end of the page.
Relative means to print this text n rows (where n is set by rowpos attribute) after or before (it depend if n is greater or lesser then zero) the last printed row.
Absolute means to print this text n rows (where n is set by rowpos attribute) from the begin of the page.
Newpage start a new page and print the text on the first row.

rowpos

Set the row number for the vertical position. This attribute is required when you specify 'relative' or 'absolute' as value for 'vpos'. Rowpos must be a number. You may specify the sign in case of negative value. Valid attribute are 1, +2, -2...

align

Orizontal alignment. The valid values are: left,right,center. The default value is left.

colpos

Set the number of column where start to print the text (orizzontal position). It must be a number.

font

Set the font id for the text. The id must be the id of a font defined by font tag.

columnset

column

 

Note:

This tag set the text to print in many zones of the report.
You may use row as report child to print many text (without repetition) inside the report.
Row is used inside the tag body to set the text that will be printed as many times as the number of rows gotten from the data source.
As group child, you may specify the text to print when the grouping item change its value.
The row child of 'group' will be printed before the body, the row child of endgroup will be printed after the body
The row text may contains fixed text as 'hello world', or many variable reference (i.e. 'contents of foo: {$foo}'), or the output from custom function (i.e. 'output of func: {func()}')
The variable the its value from the Php script (function SetVar), or from database query (see tag block usage block 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}