Attachment 'skip-one-region.diff'
Download 1 --- CreatePdfDocument2_0_5.py 2006-10-09 23:53:05.000000000 +0200
2 +++ CreatePdfDocument.py 2006-10-09 23:55:02.000000000 +0200
3 @@ -787,6 +787,13 @@
4 self.request.http_headers()
5 self.request.write(html)
6 else:
7 + # skip sidebar
8 + sbb='<!-- sidebar begin -->'
9 + sbe='<!-- sidebar end -->'
10 + try:
11 + html = html[0:html.index(sbb)] + html[html.index(sbe)+len(sbe):]
12 + except:
13 + pass
14 pdfdata = self.html2pdf(html)
15 if pdfdata:
16 # Send as application/pdf the generated file by HTMLDOC
Attached Files
To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.You are not allowed to attach a file to this page.