* LayoutStrategy is an optional parameter. Set it to null to have the
* system use the default.
* Targets that do not need an OutputStream should set that parameter
* to null.
*/
final LayoutStrategy layout = new PioneerLS(session.getLogger());
final FOrayTarget target = new FOrayTarget(document, outputTarget,
layout, outputStream);
/*
* Everything is now ready to go. There are two different processing