def test_pdf2():
 r = S3Request(prefix='gis', name='hierarchy')
 from s3.s3export import S3Exporter
 exporter = S3Exporter().pdf
 return exporter(r.resource, request=r, method='list', pdf_title=T('PDF Test Card II'), pdf_table_autogrow='B', pdf_header=header, pdf_footer=footer)

def test_pdf2 ( ) : r = S3Request ( prefix = 'gis' , name = 'hierarchy' ) from s3 . s3export import S3Exporter exporter = S3Exporter ( ) . pdf return exporter ( r . resource , request = r , method = 'list' , pdf_title = T ( 'PDF Test Card II' ) , pdf_table_autogrow = 'B' , pdf_header = header , pdf_footer = footer )
generate a test pdf that will demonstrate s3rl_pdf functionality .