tables in PDF

Author Message

Vivek Chopra

Friday 29 October 2004 4:13:45 pm

How does PDF caculate table size and column size?
Looking at the pdf code, tabel elements do not use column width. I have a problem where the text is wrapped inside table cell.
This document contains more than one tables. While one table appears fine with no text wrapping, other table is all messed up.

Can someone help?

Thanks,
Vivek

K259

Monday 01 November 2004 1:40:28 am

Our users also got some problems with the pdf-convert. Tables, pictures and layout-problems.

I don't think the pdf-functionality has been a priority in the earlier ez versions.
I'm gonna check out this stuff, and try to make it more userfriendly.

Marco Zinn

Monday 01 November 2004 1:26:51 pm

Today, i filed 2 bug reports on PDF-export.
It seems to me, that the templates were copied from the HTML templates and edited then.
This left some things like |wash(xhtml) in the code, where it should be |wash(pdf) .

So, i guess, that "someone" should have a good look at all the PDF templates.
And, btw, one report was, that images in tables dissappeared (while the table with border=1 appeared... kind of "too small" and with empty table cells).

And, btw, where is the "entry point" to the documentation on PDF exports and PDF-on-the-fly on this page? I just found a documentation on the PDF operators, but i think, there is some "how this all works" page, which ie. explains, which is the main PDF template.

Marco
http://www.hyperroad-design.com

Vivek Chopra

Thursday 04 November 2004 10:02:40 am

I guess this is what you are looking for.
http://www.ez.no/ez_publish/documentation/incoming/pdf_export_tutorial

Vivek

Marco Zinn

Thursday 04 November 2004 3:30:52 pm

Thank you, that was it, i think.
Hm, i thought, i had been in the "incoming" section, but must have overseen it.
BTW, why is there no "printable" pagelayout in the current ez.no? Some pages would be better suited for printing and _that_ probably is one of them ;)

Marco

Marco
http://www.hyperroad-design.com

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 18 2025 21:04:53
Script start
Timing: Jan 18 2025 21:04:53
Module start 'layout'
Timing: Jan 18 2025 21:04:53
Module start 'content'
Timing: Jan 18 2025 21:04:53
Module end 'content'
Timing: Jan 18 2025 21:04:53
Script end

Main resources:

Total runtime0.6900 sec
Peak memory usage4,096.0000 KB
Database Queries65

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0056 588.9219152.6094
Module start 'layout' 0.00560.0029 741.531339.3984
Module start 'content' 0.00850.6799 780.9297592.8828
Module end 'content' 0.68840.0015 1,373.812512.2031
Script end 0.6899  1,386.0156 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.4803160.0002
Check MTime0.00140.1995160.0001
Mysql Total
Database connection0.00070.104510.0007
Mysqli_queries0.635192.0543650.0098
Looping result0.00060.0903630.0000
Template Total0.660795.820.3303
Template load0.00220.320020.0011
Template processing0.658495.432220.3292
Template load and register function0.00030.040910.0003
states
state_id_array0.00100.147410.0010
state_identifier_array0.00070.099620.0003
Override
Cache load0.00180.2594310.0001
Sytem overhead
Fetch class attribute can translate value0.00070.098830.0002
Fetch class attribute name0.00130.188260.0002
XML
Image XML parsing0.00060.093330.0002
class_abstraction
Instantiating content class attribute0.00000.002270.0000
General
dbfile0.00090.1349160.0001
String conversion0.00000.001240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 24
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs