Forums / Setup & design / 3.4 -> pdf export pb.

3.4 -> pdf export pb.

Author Message

laurent le cadet

Friday 12 November 2004 7:29:13 am

Hello,

I have problems with the pdf functionnality :

<ezCall:callHeader:level:1:size:20:justifi
cation:left:label:Pr%E9sident>
Président</ezCall:callHeader>

This is how headers look like.

I checked templates/content/datatype/pdf/ezxmltags/header.pdf and the file seems to be ok according to the pdf export tutorial ( http://www.ez.no/ez_publish/documentation/incoming/pdf_export_tutorial ).

Any suggestion?

Thanks.

Laurent

Kåre Køhler Høvik

Friday 12 November 2004 9:52:41 am

Hi

Is the header placed inside a table or other element ? Do you have a url to the PDF problem ?

Kåre Høvik

laurent le cadet

Friday 12 November 2004 10:13:14 am

hi Kåre,

Yes the header is in table. For the URL it's not online but if you need to see my pb you can change your hosts file (217.147.201.31 www.cc-paysfouesnantais.fr) and go to http://www.cc-paysfouesnantais.fr/la_communaut/bureau_et_commissions/finances .
It's just an article with table and header.

Laurent

Kåre Køhler Høvik

Friday 12 November 2004 10:25:10 am

Try copying the folder lib/ezpdf from the newest 3.4 release. If this does not work, please let me know. This have been fixed in trunk, so it's also possible to use PDF lib from there.

Nice site.

Kåre Høvik

laurent le cadet

Sunday 14 November 2004 11:56:48 pm

Hi Kåre,

Everything is all right now. Thanks for all.
Normaly this site will be online at the end of this week.

Just another question :
I'm trying also to export "home made" class as PDF.
My template looks more or less like this :

  <div class="border_annonce">
  <table cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
    <td class="annonce_left">Objet :</td>
    <td class="annonce_right">{attribute_view_gui attribute=$node.object.data_map.objet}</td>
  </tr>
  <tr>....
</table>

Is it possible to render this table and everything is write in it (like the text "Objet :") with the PDF export system ?

Laurent.

Ps : very impatient to use a 3.5 stable ;)

Kåre Køhler Høvik

Tuesday 16 November 2004 5:12:34 am

Hi

For cerating PDF templates using tables, please see : http://ez.no/ez_publish/documentation/reference/template_operators/pdf/table

Kåre Høvik

laurent le cadet

Tuesday 16 November 2004 5:32:35 am

Thanks Kåre,

I'm already in this section but it's not very eZ to render a real custom PDF.
It should be great (futur ?) that we can use the print friendly option and render PDF like with a virtual printer. But maybe it's science fiction, I can't not even write an php script which make 1+1=2 ;)
eZp is already a great great CMS.

Laurent.