CurReportDocument = new ReportDocument(xMSF, true, false, ReportMessages);
if (CurReportDocument.CurDBMetaData.DataSourceNames.length > 0){ // 1
CurReportDocument.xProgressBar.setValue(20);
CurReportDocument.loadStyleTemplates(CurReportPaths.ReportPath + "/stl-default.stw", "LoadPageStyles");
WidthList = DBMetaData.InitializeWidthList();
CurUNODialog = new UNODialogs(xMSF, new String[] {"Height", "HelpURL", "Step", "Title", "Width"},
new Object[] {new Integer(210), "HID:34320", new Integer(1), WizardTitle[0], new Integer(270)});
CurReportDocument.xProgressBar.setValue(30);
fillFirstStep(CurReportDocument, CurPropertyValue, CurReportDocument.CurDBMetaData);
CurReportDocument.xProgressBar.setValue(40);
fillSecondStep();