PDF, creating merged table columns

Author Message

Frode Sørhaug

Monday 13 February 2006 7:05:41 am

I'm trying to create a table within a PDF using the Template function {pdf(table, $rows)}. The tables i created, but I've specified to merge 2 columns, and then the trouble starts. I use ":colspan:2" within the td-tag but it would not work properly. You can view the result at this adress: http://www.hint.no/~frs/eZ/pdf_table_problem.gif. As you can see the last two columns in the top-row is not merged together still if I've used the following tag <td :colspan:2>3. studieår</td>.

Anyone have a solution? Maybe I'm using the wrong attributes in the td-tag?

Fr®dis

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 31 2025 03:30:10
Script start
Timing: Jan 31 2025 03:30:10
Module start 'layout'
Timing: Jan 31 2025 03:30:10
Module start 'content'
Timing: Jan 31 2025 03:30:10
Module end 'content'
Timing: Jan 31 2025 03:30:10
Script end

Main resources:

Total runtime0.0243 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0050 588.1563151.2109
Module start 'layout' 0.00500.0039 739.3672220.6875
Module start 'content' 0.00890.0140 960.0547993.7109
Module end 'content' 0.02290.0014 1,953.765629.9922
Script end 0.0242  1,983.7578 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002610.5645140.0002
Check MTime0.00114.3472140.0001
Mysql Total
Database connection0.00083.332610.0008
Mysqli_queries0.002711.235330.0009
Looping result0.00000.036310.0000
Template Total0.00104.010.0010
Template load0.00083.147910.0008
Template processing0.00020.799510.0002
Override
Cache load0.00052.150010.0005
General
dbfile0.002610.703080.0003
String conversion0.00000.030440.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs