context.setExportDescriptor(target.getExportDescriptor());
final DefaultLayoutControllerFactory lcf = new DefaultLayoutControllerFactory();
lcf.initialize(job);
context.setLayoutControllerFactory(lcf);
final DefaultFormulaContext formulaContext = new DefaultFormulaContext();
context.setFormulaContext(formulaContext);
context.setResourceBundleFactory(job.getResourceBundleFactory());
context.setReportStructureRoot(job.getReportStructureRoot());
return context;
}