[reportlab-users] Re: SQL ReportLab Example Question..

longoal at optonline.net longoal at optonline.net
Tue Aug 16 14:49:38 EDT 2005


Thanks for your postings...

And special thanks to "John Pywtorak". You are absolutlely correct in your assesment of my particular situation. I investigate on how to get Python to run in my IIS box. I figure it's probably just adding another application to interpret source files.

Thanks again,
AL

----- Original Message -----
From: reportlab-users-request at reportlab.com
Date: Tuesday, August 16, 2005 12:02 pm
Subject: reportlab-users Digest, Vol 11, Issue 16

> Send reportlab-users mailing list submissions to
> 	reportlab-users at reportlab.com
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://two.pairlist.net/mailman/listinfo/reportlab-users
> or, via email, send a message with subject or body 'help' to
> 	reportlab-users-request at reportlab.com
> 
> You can reach the person managing the list at
> 	reportlab-users-owner at reportlab.com
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of reportlab-users digest..."
> 
> 
> Today's Topics:
> 
>   1. Re: using images as bullets (John Pywtorak)
>   2. SQL Platypus Example (longoal at optonline.net)
>   3. SQL ReportLab Example Question.. (longoal at optonline.net)
>   4. Re: SQL ReportLab Example Question.. (Robin Becker)
> 
> 
> -------------------------------------------------------------------
> ---
> 
> Message: 1
> Date: Mon, 15 Aug 2005 10:14:14 -0700
> From: John Pywtorak <jpywtora at calpoly.edu>
> Subject: Re: [reportlab-users] using images as bullets
> To: Support list for users of Reportlab software
> 	<reportlab-users at reportlab.com>
> Message-ID: <4300CD66.4050108 at calpoly.edu>
> Content-Type: text/plain; charset=ISO-8859-15
> 
> Robin Becker wrote:
> > Nicholas Wieland wrote:
> > 
> >>  - Britt Hibbert :
> >>
> >>>   Hi,
> >>>
> >>>   Does anyone have any experience using an image as a bullet when
> >>>   bulleting a list  ( basically a list of Paragraph objects) ? 
> If so,
> >>>   any recommendations on simple methods of doing this would be 
> greatly>>>   appreciated.
> >>
> >>
> >>  
> >> Well, I've posted a ton of silly questions in the last few 
> weeks on
> >> RL, so
> >> take my "advice" with a truckload of salt :p
> >> I'd suggest to subclass the Paragraph flowable, adding an 
> argument to
> >> the initializer with the image you want to use.
> >> Then in the draw method you can use your image as you like, 
> adding extra
> >> padding to the paragraph itself and drawinng the image where 
> you like.
> >> Never tryied with Paragraph, but this is usually what I try 
> when I
> >> want to
> >> personalize a flowable.
> >>
> >> HTH,
> >>   ngw
> > 
> > That's probably good advice. We don't currently have any way to 
> embed> non character boxes etc inside standard paragraphs.
> 
> Just a thought.  I needed this facility and went with a table with two
> cells.  One cell has the bullet image and the other the Paragraph
> flowable.  Also, if you do go the route of a custom flowable there 
> is a
> flowable Paragraph with an image to the right called ParagraphAndImage
> in reportlab.platypus.flowables.
> 
> Johnny P
> -- 
> Windows
> Start Here
> Frustrating Hanging Crashing
> Blue Screen of Death
> Reboot
> 
> 
> 
> ------------------------------
> 
> Message: 2
> Date: Mon, 15 Aug 2005 16:18:55 -0400
> From: longoal at optonline.net
> Subject: [reportlab-users] SQL Platypus Example
> To: reportlab-users at reportlab.com
> Message-ID: <e1f58901670a.4300c06f at optonline.net>
> Content-Type: text/plain; charset="us-ascii"
> 
> An HTML attachment was scrubbed...
> URL: http://two.pairlist.net/pipermail/reportlab-
> users/attachments/20050815/8efee0b3/attachment-0001.html
> 
> ------------------------------
> 
> Message: 3
> Date: Mon, 15 Aug 2005 16:42:58 -0400
> From: longoal at optonline.net
> Subject: [reportlab-users] SQL ReportLab Example Question..
> To: reportlab-users at reportlab.com
> Message-ID: <e129d35f111a.4300c612 at optonline.net>
> Content-Type: text/plain; charset=us-ascii
> 
> I am trying to get an example on how to incorporate a data 
> recordset with ReportLab. 
> 
> One way that I was thinking about doing this was:
> 
>  1. Open a file stream Or Python Report Source(ie; .py file)
>  2. Write all the ReportLab headings i.e; import .....
>  3. Write to the file and open up a DATA declaration.(ie. data = (
>        ('', 'Jan', 
>  4. Open a recordset and iterate and append to the DATA declaration.
>  5. close the DATA declaration and close the .py file
>  6. Shell execute the file which should create the "PDF" file.
> 
> Any ideas on how to do this a different way?
> Thanks in advance,
> AL
> ps. currently getting data from Oracle 10g Database using OCI and 
> ASP/IIS.
> 
> ------------------------------
> 
> Message: 4
> Date: Tue, 16 Aug 2005 11:48:09 +0100
> From: Robin Becker <robin at reportlab.com>
> Subject: Re: [reportlab-users] SQL ReportLab Example Question..
> To: Support list for users of Reportlab software
> 	<reportlab-users at reportlab.com>
> Message-ID: <4301C469.1090101 at chamonix.reportlab.co.uk>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> longoal at optonline.net wrote:
> > I am trying to get an example on how to incorporate a data 
> recordset with ReportLab. 
> > 
> > One way that I was thinking about doing this was:
> > 
> >   1. Open a file stream Or Python Report Source(ie; .py file)
> >   2. Write all the ReportLab headings i.e; import .....
> >   3. Write to the file and open up a DATA declaration.(ie. data 
> = (
> >         ('', 'Jan', 
> >   4. Open a recordset and iterate and append to the DATA 
> declaration.>   5. close the DATA declaration and close the .py file
> >   6. Shell execute the file which should create the "PDF" file.
> > 
> > Any ideas on how to do this a different way?
> > Thanks in advance,
> > AL
> > ps. currently getting data from Oracle 10g Database using OCI 
> and ASP/IIS.
> > _______________________________________________
> 
> .....
> 
> It's not clear what language/environment you are using. Presumably 
> it's not python.
> -- 
> Robin Becker
> 
> 
> ------------------------------
> 
> _______________________________________________
> reportlab-users mailing list
> reportlab-users at reportlab.com
> http://two.pairlist.net/mailman/listinfo/reportlab-users
> 
> 
> End of reportlab-users Digest, Vol 11, Issue 16
> ***********************************************
> 


More information about the reportlab-users mailing list