pyRTF and cells
Raja Raman Sundararajan
ram0812 at hotmail.com
Wed Mar 15 14:49:43 EST 2006
Yeah, thats a good approach.
I have been fiddling around to implement that feature in elements.py
and RTF specification from msdn
However, I have not been successful thus far.
To answer my first question:
> 1. do an align right of contents inside a cell
Its not possible by speficying alignment in the Cell instance
However, if you really want this feature then create a Paragraph and
then set alignment=2 for the ParagraphPropertySet object
Snippet:
p = Paragraph( ss.ParagraphStyles.Normal, ParagraphPS(alignment=2)
)
p.append(<some text here>)
c1 = Cell(p)
More information about the Python-list
mailing list