[reportlab-users] text justification
andy at reportlab.com
Wed Apr 20 04:13:58 EDT 2005
MIght be some scope change affecting an import
which is not at the top level of a module.
Make sure this line of code appears in the
module you are working in:
from reportlab.lib.enums import TA_JUSTIFY
Or, since there are 4 values,
from reportlab.lib.enums import TA_JUSTIFY, TA_LEFT, TA_RIGHT, TA_CENTER
> -----Original Message-----
> From: reportlab-users-bounces at reportlab.com
> [mailto:reportlab-users-bounces at reportlab.com]On Behalf Of Dan McDaniel
> Sent: 20 April 2005 03:59
> To: reportlab-users at reportlab.com
> Subject: [reportlab-users] text justification
> I copied a file from my home computer that worked
> Took it to work computer now I get an errror message
> "TA_JUSTIFY not defined.
> I have a line of code that sets a style alignment
> parameter like this
> " Mystyle.alignment=TA_JUSTIFY"
> The only difference is Python 2.3 at homw and 2.4 at
> work. I renamed the file brought it home and tried it.
> I still get the same error. I opened the original file
> and tried it and now I even get the error with the
> Any Ideas?
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> reportlab-users mailing list
> reportlab-users at reportlab.com
More information about the reportlab-users