this.progressDialog = dialog;
this.report = report;
if (swingGuiContext != null)
{
this.statusListener = swingGuiContext.getStatusListener();
this.messages = new Messages(swingGuiContext.getLocale(), HtmlExportGUIModule.BASE_RESOURCE_CLASS,
ObjectUtilities.getClassLoader(HtmlExportGUIModule.class));
}
else
{
this.messages = new Messages(Locale.getDefault(), HtmlExportGUIModule.BASE_RESOURCE_CLASS,
ObjectUtilities.getClassLoader(HtmlExportGUIModule.class));
}
final Configuration config = report.getConfiguration();
final String targetFileName = config.getConfigProperty