[reportlab-users] PythonPoint master slides?

Andy Robinson reportlab-users@reportlab.com
Wed, 5 Feb 2003 20:20:33 -0000


> Hi,
>
> just wondering if anybody was adventurous enough to extend Python-
> Point to make use of master slides? I'm finding myself using tools
> like Preppy or EmPy to fill in values for frame positions, say,
> used across all pages, etc. While that works, the cleaner thing
> to do would be to define and use master slides, I believe...
>
It has always done that - just look at the demo.
Put graphics code and content in a 'section' tag
and it will appear on all enclosed slides. This comes from
pythonpoint.xml....

    <section name="Main">
        <!-- any graphics in the section go on all its pages as a
backdrop -->
        <rectangle height="555" fill="ReportLabBlue" x="20" width="96"
y="20"/>
        <!--fixedimage height="64" filename="leftlogo.gif" x="20" width="96"
y="510"/-->
        <customshape module="customshapes" class="Logo"
initargs="(20,510,96,64)"/>
        <!--infostring size="14" align="right" x="800" y="36">
            &#187;%(title)s, page %(page)s&#171;
        </infostring-->
        <!-- Now for the slides -->
        <slide title="Introduction" id="Slide001" effectname="Wipe">
            <frame height="468" x="120" y="72" rightmargin="36" width="700"
leftmargin="36">
                <para style="Heading1">
                    Welcome to PythonPoint
                </para>

...or have I misunderstood you?

- Andy