PDF - images in body / underlining 'label' [message #7307] |
Mon, 24 June 2019 04:59 |
htManager
Messages: 434 Registered: May 2014
|
Senior Member |
|
|
Hi Tony,
1.) is there a possibility to show images in the body section of a list view (output2 pattern)? In the title section I have no problems to generate this by using:
$structure['title'][] = array('image' => '%%vereine_logo',
'imagewidth' => 40,
'imageheight' => 40,
'y_relative' => 1);
But this doesn't work in the body section.
2.) is there a possibility to underline the 'labels' in the body section? Such as i.e. $style['body']['labels'] = array('border' => '1'); in the pdf.styles.inc?
Best regards,
Juergen
|
|
|
|
Re: PDF - images in body / underlining 'label' [message #7309 is a reply to message #7308] |
Thu, 27 June 2019 05:16 |
htManager
Messages: 434 Registered: May 2014
|
Senior Member |
|
|
2) If I understand right as explained in RADICORE for PHP - creating PDF output, I can change the border of the head with ['name']['font']['border'] with the value 'B' for showing only the bottom lines. But I only can change the colour of the lines. They were always shown all (L,R,T,B). Here is my pdf.style.inc record:
// column headings Kontakte for LIST view
$style['hdg_kontakte']['font'] = array('family' => 'Times', // Courier, Helvetica, Times
'style' => '', // blank=Regular, B=Bold, I=Italic, U=Underline
'size' => 9, // size in points
'height' => 5, // line height in units
'draw' => .3, // width of drawn lines
'border' => 'B', // position of border lines
'halign' => 'left'); // horizontal text alignment (left, right, center)
$style['hdg_kontakte']['fillcolour'] = array(255,255,255); // colour for background
$style['hdg_kontakte']['textcolour'] = array(0,0,0); // colour for foreground
$style['hdg_kontakte']['drawcolour'] = array(0,0,0); // colour for line drawing
Did I forget something?
|
|
|
|
|
|