Re: Re: Re: Create pdf of form

Posted by Einar Moos on
URL: https://discuss.orbeon.com/Create-pdf-of-form-tp44595p44601.html

John,

I found this practical and intuitive:

pdf-model.xml

<?xml version="1.0" encoding="UTF-8"?>
<config>
    <template href="oxf:/apps/dir/pdf/names.pdf" show-grid="false"/>
<!-- set to "true" to show grid -->

    <group ref="/*" font-pitch="6.1" font-family="Helvetica" font-size="9">
        <group ref="names" font-pitch="4.8">
            <field left="60" top="300" size="70"
                value="concat('Hello', substring(name, 1, 70))"/>
        </group>
</group>
</config>

Merit where merit is due, it's all thanks to Orbeon xforms!

-- einar




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws