Tip: To adjust your documents to your corporate layout you can upload your company logo in preferences. If you wish to further individualize your PDF-Documents please contact us.
You can also adjust your documents yourself. For this go to the menu [START] - [SETTINGS] and click on the button in the block [Edit default patterns] to open the administration for document templates:
You will find templates for all PDF-files generated by Verpura here. You can access the Verpura standard and the currently used template. The letter can be adjusted and tested here.
Verpura generates PDF documents by performing an XSL transformation. The design is defined by so-called Formatting Objects (FO). Further information you will find here. Roughly, Verpura generates the PDF document from a XML file with the content and a stylesheet that defines the appearance. There are also proprietary editors for these stylesheets, eg. www.altova.com/XMLSpy.
XML-file with reference data (e.g. Invoicedata)
XML-file with layout (XSL-Stylesheet)
Generated PDF-file (e.g. finished invoice)
An XML-File with content might look like that:
Figure: XML-File with content (partly)
The corresponding XSL File might look like the following. It contains like xsl:value-of that insert the content from the xml file above in the layout:
Figure: the corresponding XSL-File for the layout
The complete PDF file is generated from these two files. You can adjust and test the XSL file and submit the new XSL file with a click on the button “adopt your pattern“. Be sure to save your last working version of the XSL file before adjusting it so that you can revert to a working version if you made some faulty changes.