schooltool-developers team mailing list archive
-
schooltool-developers team
-
Mailing list archive
-
Message #00264
Re: Rotating cell text in an rml template
A couple interesting things I found do point to rotating text, but not
within a block table:
The first would mean taking the drawing of the form in another
direction, using linePlots rather than blockTables (this comes from
within z3c.rml source):
http://svn.zope.org/*checkout*/z3c.rml/trunk/src/z3c/rml/tests/input/tag-linePlot.rml
Another thing I found was someone who had used platypus to subclass
Flowable to make their own flowable that draws at a 90% angle, but
that would mean changing (through adaptation?) the zope rml code
itself:
http://two.pairlist.net/pipermail/reportlab-users/2006-October/005381.html
I don't know if we want to consider hard-coding the report with
platypus, but there is always that possibility
On Sat, Oct 16, 2010 at 3:48 PM, Tom Hoffman <tom.hoffman@xxxxxxxxx> wrote:
> You can also ask on the ReportLab mailing list. Just be aware that
> the RML implementation we use isn't ReportLab's. So basically I'd
> just ask if ReportLab can do it. And if the answer is "no," it
> definitely can't be done in RML. I'm not sure who we ask about the
> RML implementation, aside from perhaps Stephan, since he did a lot of
> the work on it.
>
> Also, the POV crew does a lot with ReportLab, so they probably know as
> well as anyone.
>
> --Tom
>
> On Sat, Oct 16, 2010 at 3:32 PM, Alan Elkner <aelkner@xxxxxxxxx> wrote:
>> I've done more than a quick skim, and I haven't found any rotation
>> capability for anything related to text. I was beginning to consider
>> making the headings into a graphic in some graphics tool and then
>> using the graphics on the page, but that would mean text was
>> untranslatable.
>>
>> On Sat, Oct 16, 2010 at 3:09 PM, Tom Hoffman <tom.hoffman@xxxxxxxxx> wrote:
>>> You can look in the ReportLab documentation to see how it works, if at
>>> all in the underlying library (i.e., ReportLab itself).
>>>
>>> http://www.reportlab.com/software/documentation/
>>>
>>> You can rotate graphics, but I don't see text with a quick skim.
>>>
>>> --Tom
>>>
>>> On Sat, Oct 16, 2010 at 2:21 AM, Alan Elkner <aelkner@xxxxxxxxx> wrote:
>>>> Guys,
>>>>
>>>> Does anyone know how to rotate text in a table cell in an rml
>>>> template? I looked over the various user guides for RML including
>>>> z3c.rml itself, and they mention is the self-terminating rotate tag
>>>> which appears to apply to a whole page. I'm looking just to rotate
>>>> text in a particular cell.
>>>>
>>>> Does anyone know have any experience rotating text in cells, and if
>>>> not, is there someone we could ask?
>>>>
>>>> Thanks,
>>>> Alan
>>>>
>>>> _______________________________________________
>>>> Mailing list: https://launchpad.net/~schooltool-developers
>>>> Post to : schooltool-developers@xxxxxxxxxxxxxxxxxxx
>>>> Unsubscribe : https://launchpad.net/~schooltool-developers
>>>> More help : https://help.launchpad.net/ListHelp
>>>>
>>>
>>
>
Follow ups
References