The fp:*cell tags have the following attributes:
Name | Description | Applicable tag |
---|---|---|
filename | A mandatory attribute that specifies the name of the file that contains the image. | fp:imagecell |
align | An optional attribute that determines the horizontal alignment (left, right, or center). The default value is left. | fp:textcell and fp:complexcell |
border | An optional attribute that determines the border
of the cell. The total border value is the sum of the values of each
of the borders. The default value is 0. For example, the borders
of a cell have the following values:
|
All fp*cell tags |
colspan | An optional attribute that determines the number of table columns that a cell occupies. When the colspan attribute is used, the information about the number of cells required is incorrect. For example, a colspan="2" is counted as two cells. The default value is 1. | All fp*cell tags |
headingstyle | An optional attribute that determines the heading styles to use in the cell. The default value is Normal. | All fp*cell tags |
scalepercent | An optional attribute that determines the scaling of the image. The default value is 100. To create the best quality image, create the image approximately five times larger than the intended size. Then scale down the image to the intended size. Images often are better quality on paper than on screen. For a standard screen size, scalepercent="100". | fp:imagecell |
Name | Description |
---|---|
fp:newline | Inserts a line break |
fp:stringParam fp:intParam fp:checkboxParam |
Inserts the plain text that is the result of evaluating the fp:*Param tag |
fp:text | Inserts plain text |
Attribute | Description |
---|---|
cols | A mandatory attribute that determines the number and size of columns. For example, to create a table with three columns in which the third column is larger than the other columns, enter cols="30,30,40" |
height | A mandatory attribute that determines the height of the header. This attribute affects PDF reports only. For example, to specify a height of 3 cm, enter height="100" |
page | An optional attribute that determines the pages
for which the header is used. This attribute has the following possible
values:
|
percentwidth | An optional attribute that affects the width of the table header. The default value is 100. |
<fp:header cols="16,47,63,23,24" height="70" percentwidth="123"> <fp:cell border="0" headingstyle="NormalMiddle"></fp:cell> <fp:cell border="0" headingstyle="NormalMiddle"></fp:cell> <fp:cell border="2" headingstyle="NormalMiddle"></fp:cell> <fp:cell border="2" headingstyle="NormalMiddle"></fp:cell> <fp:cell border="2" headingstyle="NormalMiddle"></fp:cell> <fp:cell border="0" headingstyle="NormalMini"></fp:cell> <fp:imagecell align="center" colspan="1" border="8" filename="logo.jpg" scalepercent="12" style="NormalMini" /> <fp:complexcell border="15"> <fp:text style="NormalMiniLeft"> Uppgjord -</fp:text> <fp:textstyle="NormalMiniLeftItalic">Prepared</fp:text> <fp:newline style="Normal" /><fp:text style="Normal"> </fp:text> <fp:stringparam name="Uppgjord" descr="Uppgjord" changeable="runtime" id="1" defaultvalue="" /> </fp:complexcell> <fp:complexcell border="15"> <fp:text style="NormalMini"> Datum -</fp:text> <fp:textstyle="NormalMiniItalic">Date</fp:text> <fp:newline style="Normal" /><fp:text style="Normal"> </fp:text> <fp:stringparam name="currentdate" descr="Datum" changeable="fetch" id="2" defaultvalue=""/> </fp:complexcell> <fp:complexcell border="15"> <fp:text style="NormalMini"> Sida -</fp:text> <fp:textstyle="NormalMiniItalic">Page</fp:text> <fp:newline style="Normal" /><fp:text style="Normal"> </fp:text> <fp:intParam name="pageno" descr="Sidnummer" changeable="fetch" defaultvalue="" id="3"/> <fp: text>(</fp:text> <fp:intParam name="numpages" descr="Antal sidor"changeable="fetch" defaultvalue="" id="4"/> <fp:text>)</fp:text> </fp:complexcell> <fp:cell border="0" headingstyle="NormalMini"></fp:cell> <fp:complexcell border="8" headingstyle="NormalMiddle"align="left"> <fp:text style="NormalMiddle">Stockholm</fp:text> <fp:newline /> <fp:text style="NormalMiddle">Sweden</fp:text> </fp:complexcell> <fp:complexcell border="15"> <fp:text style="NormalMiniLeft"> Godkänd -</fp:text><fp:textstyle="NormalMiniLeftItalic">Approved</fp:text> <fp:newline style="Normal" /> <fp:text style="Normal"> </fp:text> <fp:stringparam name="Godkänd"descr="Godkänd av" changeable="runtime" id="5" defaultvalue=""/> </fp:complexcell> <fp:complexcell border="15"> <fp:text style="NormalMini"> Dok nr -</fp:text> <fp:text style="NormalMiniItalic">DocNo</fp:text> <fp:newline style="Normal" /> <fp:text style="Normal"> </fp:text> <fp:stringparam name="Dok Nr" descr="Dokumentnummer" changeable="runtime" id="6" defaultvalue="" /> </fp:complexcell> <fp:complexcell border="15"> <fp:text style="NormalMini"> Revision -</fp:text> <fp:textstyle="NormalMiniItalic">Revision</fp:text> <fp:newline style="Normal" /> <fp:text style="Normal"> </fp:text> <fp:stringparam name="Revision" descr="Revision" changeable="runtime" id="7" defaultvalue=""/> </fp:complexcell> <fp:cell border="0" headingstyle="Normal"></fp:cell> <fp:cell border="0" headingstyle="Normal"></fp:cell> <fp:cell border="1" headingstyle="Normal"></fp:cell> <fp:cell border="1" headingstyle="Normal"></fp:cell> <fp:cell border="1" headingstyle="Normal"></fp:cell> </fp:header>