<Job>
<Name>Convert to PDF</Name>
<FileModifier>
<FileFilter
includeFormats="generic,other"
excludeFileNames="*.pdf"/>
<!-- or
<FileFilter
excludeFormats="PDF"
includeFileNames="*.*"/> -->
<UpdateProperties>
<PropertyHandler>com.acme.foo.MyPropertyHandler</PropertyHandler>
<Property name="Property 1" selectExpression="type"/>
<Property name="Property 2" selectExpression="attribute[attribute_Foo]"/>
</UpdateProperties>
<CreatePDF>
<ExcelOptions>
<MarginTop>10</MarginTop>
<MarginRight>10</MarginRight>
<ScaleToFit>true</ScaleToFit>
</ExcelOptions>
</CreatePDF>
<PDFWatermark>
<Definition if="current == Released">
<Text>${current}</Text>
<FontSize>72</FontSize>
<FontColor>rgb(0,255,0)</FontColor>
<TextRotation>45</TextRotation>
</Definition>
<Definition>
<Text>NOT RELEASED (${current})</Text>
<FontSize>144</FontSize>
<FontColor>rgb(255,0,0)</FontColor>
</Definition>
<Checkin format="PDF" fileName="${name}.pdf"/>
</PDFWatermark>
</FileModifier>
<Events>
<Error>
...
</Error>
</Events>
</Job>