[Zope] RE: html2pdf truncating html content

2006-07-17 Thread Smith, Barrett
I'm using html2pdf and it seems to be truncating the content. The html on which html2pdf is: htmlheadtitleNarrative Report/title/headbodyh1PNG/h1!-- PAGE BREAK --h2Narrative: PNG- Challenge Situation/h2!-- PAGE BREAK --h2Narrative: PNG- Key Accomplishments/h2!-- PAGE BREAK --h2Narrative:

RE: [Zope] RE: html2pdf truncating html content

2006-07-17 Thread Smith, Barrett
Refinement of problem statement: The DTML file on which html2pdf is called is populated by a python script which builds and returns html by processing a list of objects in a for loop. The html content which is missing from the pdf is generated inside the for loop. As said before though, the

RE: [Zope] RE: html2pdf truncating html content

2006-07-17 Thread Smith, Barrett
10:25 AMTo: Smith, Barrett; zope@zope.orgSubject: Re: [Zope] RE: html2pdf truncating html content Just a wag (wild assed guess)... in your BODY loop, if d.title is null could you be embedding a 'null' char in the text string, which may cause html2pdf to choke? Jonathan - Origin

RE: [Zope] RE: html2pdf truncating html content

2006-07-17 Thread Smith, Barrett
Found the problem: context was changing. When called from html2pdf, the parent object was different from when the dtml was called raw. From: Jonathan [mailto:[EMAIL PROTECTED] Sent: Monday, July 17, 2006 10:52 AMTo: Smith, Barrett; zope@zope.orgSubject: Re: [Zope] RE: html2pdf truncating