Write FO PDF

Description

Write a PDF file using XSL formatting object (FO) data.

Input

<WriteFOPDF>
<data>.. fo ..</data> <nodeVersionReference/> <nodeVersionReferenceType/> <nodeName/> <nodeDescription/>
<fileName/>
</WriteFOPDF>

The data to be written out is represented as XSL-FO that has been escaped and passed in the field <data>.

Details of the file are written to the node identified by nodeVersionReference. If this does not exist, it will be created using the type identifier by nodeVersionReferenceType, which defaults to system.FILE_TYPE. Optionally, a name, description and fileName can be set in the output. nodeVersionReference can use a .$auto local reference, to create a new node.

Output

<WriteFOPDF>
<errorNumber>0</errorNumber> <nodeVersionReference/>
</WriteFOPDF>

Errors

101 - Not authorised

102 - Not found

103 - Parameter error

Class

com.metrici.xerula.WriteFOPDFService