|
<!ELEMENT openpage #PCDATA>
<!ATTLIST openpage vpos CDATA #IMPLIED>
<!ATTLIST openpage rowpos CDATA #IMPLIED>
<!ATTLIST openpage align CDATA #IMPLIED>
<!ATTLIST openpage colpos CDATA #IMPLIED>
|
|
Set some text to print at the begin of each page
|
| |
|
Parent:
|
| report
|
| |
|
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. |
|
| |
|
Note:
|
|
This tag is developed as CRow object, so each option/note applied to the tag row is
valid to this tag.
|
| |
|
Examples:
|
|
First example. Openpage without any option. The module
print the text left aligned.
<openpage>Some text</openpage>
|
|
|
|
Second example. It write the text centered
<openpage align='center'>Some text</openpage>
|
|
|
|
Now it write the text two row after the last one
<openpage vpos='relative' rowpos='2'>Some text</openpage>
|
|
|