[reportlab-users] pdfgen and dotted lines

A.M. cuberootva at gmail.com
Tue Feb 6 12:24:23 EST 2007


Great! Thanks a lot!

On 2/6/07, Tim Roberts <timr at probo.com> wrote:

>

> A.M. wrote:

> > Hi all,

> >

> > I am fairly new to using pdfgen but quickly gaining experience. I am

> > currently creating a document that requires the use of dotted lines

> > that connect to bodies of text. This is exactly like using a word

> > processor and custom tab stops with trailing periods. If that does not

> > make sense then a quick example:

> >

> > Some text goes

> >

> here.......................................................................followed

> > by the trailing dot.

> > Text

> >

> 1......................................................................................................

> > this is right aligned.

> > Different widths should be

> >

> handled.............................................................................correctly.

> >

> > Is that possible? I was doing it before by drawing directly on the

> > canvas, however, I think using flowables is a better design and way

> > more maintainable in the long run. Any help would be appreciated!

>

> A month or so ago, I posted a version of Paragraph that could expand

> left, right, and centered tabs with space, dot, and dash fills. You

> might check the archive.

>

> Of course, internally all it does is "draw directly on the canvas", but

> hiding it inside another class makes it feel more encapsulated.

>

> --

> Tim Roberts, timr at probo.com

> Providenza & Boekelheide, Inc.

>

> _______________________________________________

> reportlab-users mailing list

> reportlab-users at reportlab.com

> http://two.pairlist.net/mailman/listinfo/reportlab-users

>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://two.pairlist.net/pipermail/reportlab-users/attachments/20070206/80985d00/attachment.html


More information about the reportlab-users mailing list