PD4ML defined the following rendering switch:
/**
* "pd4ml.document.view.mode" defines default view mode for generated document, one from:
* "SinglePage", "OneColumn", "TwoColumnLeft", "TwoColumnRight", "TwoPageLeft", "TwoPageRight";
* @see PD4ML#setDynamicParams(java.util.Map)
*/
public static final String PD4ML_DOCUMENT_VIEW_MODE = "pd4ml.document.view.mode";
In Java it can be defined with the code:
Map m = new HashMap();
m.put(PD4Constants.PD4ML_DOCUMENT_VIEW_MODE, "TwoColumnLeft");
pd4ml.setDynamicParams(m);
PD4ML JSP custom tags do the same that way:
<pd4ml:parameters>
<pd4ml:parameter key="pd4ml.document.view.mode" value="TwoColumnLeft"/>
</pd4ml:parameters>