| Tag | Attribute | Allowed values (sample values) | Description |
<HEADER> | - | - | Starting a report header |
<NEXT-HEADER> | - | - | Starting next section header |
</HEADER> | - | - | The end of the header |
<NEXT-ITEM> | - | - | Mark the start of the definition of the next item (for example table) |
<TABLE> | - | - | Getting Started section of the table |
</TABLE> | - | - | The end of the section of the table |
<TR> | - | - | Starting line section |
| Attributes that can be used in the header section (tag <HEADER>) in tag <TR> of the table (tag <TABLE>) |
| | page-format | A3 A4 A5 letter legal or w;h where w=width(in cm)*28.346 and h=height(in cm)*28.346 | Define page format. Default: A4 |
| | orientation | P - portrait L - landscape | Defines whether the printout is to be vertical or horizontal |
| | margins | for example: 0.5;0.5;0.5 | Define page margins. Value is in the format <left>;<top>;<right> in cm. Default is 1;1;1 |
| | foot-font-family | times | The name of the font used in the footer of the report |
| | foot-text | Page_{cb}/{nb} | Define footer of report. NOTE! Instead space use an underscore spaces ! {cb} – current page symbol {nb} – number of pages completely |
| | foot-align | L – left R – right C- center | Defines the position of the feet |
| | foot-space | 0-5 | How many lines are empty before footer |
| | foot-image | The file name specified in quotes, for example „files/logo.png” | Adding an image in the footer at the bottom left |
| | foot-image-width | The numerical value, for exmaple 30 | Image width. The original image will be scaled to the specified width. If you do not specify this parameter, it displays the image in its original size |
| | foot-image-x | The numerical value, for exmaple 10 | Offset X of image in the footer of the report |
| | foot-image-y | The numerical value, for exmaple 10 | Offset Y of image in the footer of the report |
| | add-font-style | string „;<[B|I|BI]>;” B – Bold I – Italic BI – Bold+Italic for exmaple „;B;I;BI” | Add styles, if we use these in the report. Attribute can be used only once in the header section |
| | add-font-family | string ”<name_of_font>;<style>;<file *.ttf>;true” np. „myarial;B;myarial.ttf;true” | Adding the font file. Details – see Adding your own fonts in the Internal report. Attribute can occur repeatedly in the head section |
| | userpass | userpass=Mypassword | Set user password in PDF |
| | ownerpass | ownerpass=Mypassword | Set owner password in PDF |
| | keybits | keybits=128 40 48 56 .. 128 (default) | Set key size in bits |
| | permissions | permissions="allow_print;allow_copy;allow_modify;" allow_print allow_copy allow_modify allow_annot_forms disallow_all | Set permissions in PDF |
| | attachments | attachments="reports/file1.txt,file1.txt,File1;filepath2,filename2,filedesc2;" | Add attachments to PDF |
| | attachpane | attachpane=true false | Open attachments pane in PDF |
| Attributes that can be used in any table section (tag <TABLE>) within the tag <TR> |
| | id | Alphanumeric value, for example id=r1 | Cache id for attributes. Id should be unique within the report |
| | height | The numerical value, for example 8 | Defines the height of a row |
| | height-off | The numerical value, for example 8 (allowed negative values, for example -4) | Defines offset of the height for row - move the row up or down - negative value move row up - positive value move row down |
| | bookmark | bookmark=text_of_bookmark;level;pane | Set bookmark in PDF text - label of bookmark (no spaces allowed, you must replace spaces with "_", for example text_of_bookmark) level - level of bookmark (0..n) pane: true - display pane of bookmarks false - hide pane of bookmarks |
| | border | 0 - without border 1 - border around of fields or: L – left border R – right border T – top border B – bottom border M- multiline mode support (parameter set together with LRTB) | Determines whether the fields in the row to be framed. You can combine several types of frames, for example border=TB resulting in a frame on the top line and the bottom. If you want to get multiline mode (data on several lines) use a value M, for example border=MTB. NOTE! For border=1 multiline mode is automatically switched on. This attribute placed in the tag <TR> makes it relates to each column in a row (to all elements <TD>) but can be replaced individually defined within the section <TD> |
| | brcolor | 0-255 (shades of gray) or color format #xxyyzz, for example #ff0000 | Frame color data cells. You can give each side a different color. The order of the sides :LTRB - brcolor=#ff0000;$00ff00;#ff0000;#00ff00 |
| | brwidth | Fraction, for example 0.3 | The thickness of the sides of the frame. You can specify for each side of a different thickness. The order of the sides: LTRB - brwidth=0.3;0.5;0.3;0.5 (value M must be set in tag border). |
| | font-family | times | The name of the font |
| | font-size | The numerical value, for example 7 | Specifies the font size on the line. This attribute placed in the section <TR> makes it relates to each column in a row (to all elements <TD>) but can be replaced individually defined within section <TD> |
| | font-style | for example B - bold | Specifies the font style in a row. This attribute placed in the section <TR> makes it relates to each column in a row (to all elements <TD>) but can be replaced individually defined within section <TD> |
| | align | L – aligned to the left R – aligned to the right C - center J- justify | Specifies the alignment of each column line. This attribute placed in the section <TR> makes it relates to each column in a row (to all elements <TD>) but can be replaced individually defined within section <TD> |
| | color | 0 – 255 (shade of gray) or color format #xxyyzz, for example #ff0000 | Specifies the font color in a row. This attribute placed in the section <TR> makes it relates to each column in a row (to all elements <TD>) but can be replaced individually defined within section <TD> |
| | bgcolor | 0 – 255 (shade of gray) or color format #xxyyzz, for example #ff0000 or -1 – transparent background | Specifies the background color of the row. This attribute placed in the section <TR> makes it relates to each column in a row (to all elements <TD>) but can be replaced individually defined within section <TD> |
| | nobr | 0 or 1 or 2 or 3 | 0 – disable the tag (as if it was not specified) 1 – no spacing from the next table (next table "appended" to the current) 2 - to force a new page 3 - to force a new page with a new numbering of pages |
| | hdlink | The numerical value, for example 2 | Parameter prevents printing header in the last line of the page: 0 – off control (default mode) 1 – on control n – check whether there is place for n+1 rows – there is no place we start on a new page |
| | hdrsts | 0 - header is hidden 1 - header is showed | Status of header. This tag work only in <NEXT-HEADER> section: 0 – header is hidden 1 – header is showed It's usefull in report with different headers. |
| | sethdrsts | sethdrsts=0;1;0; | Change of initial header status. Thanks to this tag we can change initial setting hdrsts for headers. From the next page the headers are shown according to the new status. We must set status for all elements in section <NEXT-HEADER>, for example if we have 3 elements we set sethdrsts=0;1;0; (first is hidden, second is showed and third is hidden to). |
| | hdrdecode | for example: hdrdecode="{{account}},123;{{number}},321;" | Decoding symbols in headers. Thanks to this tag we can change initial setting symbols used in headers. From the next page the headers are shown according to the new values of symbols used in headers. This feature give possibility to create report with different header, for example number of client in header. |
</TR> | - | - | End of line sections |
<TD> | - | - | Starting a cell section |
| Attributes that can be used within the tag <TD> |
| | id | Alphanumeric value, for example id=c1 | Cache id for attributes. Id should be unique within the report |
| | width | The numerical value, for example 20 (on page corresponds to about 2 cm) | Specifies the width of the cell in mm. This tag must be used in first row defined table in each element <TD> of row |
| | border | 0 - without border 1 - border around of fields or: L – left border R – right border T – top border B – bottom border M- multiline mode support (parameter set together with LRTB) | Determines whether the fields in the row to be framed. You can combine several types of frames, for example border=TB resulting in a frame on the top line and the bottom. If you want to get multiline mode (data on several lines) use a value M, for example border=MTB. NOTE! For border=1 multiline mode is automatically switched on.
|
| | brcolor | 0-255 (shades of gray) or color format #xxyyzz, for example #ff0000 | Frame color data cells. You can give each side a different color. The order of the sides: LTRB - brcolor=#ff0000;$00ff00;#ff0000;#00ff00 |
| | brwidth | Fraction , for example 0.3 | The thickness of the sides of the frame. You can specify for each side of a different thickness. The order of the sides: LTRB - brwidth=0.3;0.5;0.3;0.5 (value M must be set in tag border). |
| | font-family | times | Font name |
| | font-size | The numerical value, for example 7 | Specifies the size of the font in the cell |
| | font-style | for example B - bold | Specifies the style of the font in the cell |
| | align | L – aligned to the left R – aligned to the right C - center J - justify | Specifies the alignment of the text in cell |
| | color | 0 – 255 (shades of gray) or color format #xxyyzz, for example #ff0000 | Specifies the color of the font in the cell |
| | bgcolor | 0 – 255 (shades of gray) or color format #xxyyzz, for example #ff0000 or -1 – transparent background | Specifies the background color of the cell |
| | image | for example „files/<name_of_file>.png” lub „temp/<name_of_file.png” (if the file generated function make_image) | Display the file in the cell |
| | image-width | The numerical value, for example 30 | Determination of the width of the image. If it is different from the original, then there rescaling |
| | image-x | The numerical value, for example 5 | Offset x picture - an offset from the x-axis in the cell image data. Given the value of the upper-left corner of the cell |
| | image-y | The numerical value, for example 5 | Offset y picture - an offset from theyx-axis in the cell image data. Given the value of the upper-left corner of the cell |
| Attributes that allow you to draw polygons within the cell (field) |
| | drcolor | -1 - transparent line 0 - 255 (shades of gray) or color format #xxyyzz | The color of the line drawn. You can specify a different color for each line to be drawn, for example drcolor=#ff00ff;#ff0000;#0000ff |
| | drwidth | Fraction, for example 0.3 | The thickness of the drawn line. You can specify a different thickness for each line to be drawn, for example drwidth=0.3;0.1;0.3 |
| | off-x | The numerical value, for example 3 | Offset x drawn starting point of the line. Given the value of the upper-left corner of the cell |
| | off-y | The numerical value, for example 3 | Offset y drawn starting point of the line. Given the value of the upper-left corner of the cell |
| | points | for example 0,0;3,3;4,4 | Coordinates of the end points of a line drawn |
</TD> | - | - | The end of the section of the cell |