public ReportModel CreateRenderableModel()
		{
			ReportModel m = new ReportModel();
			generator.MergeFormChanges((System.CodeDom.CodeCompileUnit)null);
			XmlDocument doc = new XmlDocument();
			doc.LoadXml(generator.ViewContent.ReportFileContent);
			ReportLoader rl = new ReportLoader();
			object root = rl.Load(doc.DocumentElement);
			m = root as ReportModel;
			
			m.ReportSettings.FileName = generator.ViewContent.PrimaryFileName;
			FilePathConverter.AdjustReportName(m);
			return m;
		}
        public ReportModel CreateRenderableModel()
        {
            ReportModel m = new ReportModel();

            generator.MergeFormChanges((System.CodeDom.CodeCompileUnit)null);
            XmlDocument doc = new XmlDocument();

            doc.LoadXml(generator.ViewContent.ReportFileContent);
            ReportLoader rl   = new ReportLoader();
            object       root = rl.Load(doc.DocumentElement);

            m = root as ReportModel;

            m.ReportSettings.FileName = generator.ViewContent.PrimaryFileName;
            FilePathConverter.AdjustReportName(m);
            return(m);
        }