예제 #1
0
        /// <summary>
        /// Initializes a new instance of the SurveyBasedReport class.
        /// </summary>
        public SurveyBasedReport()
        {
            Surveys         = new BindingList <ReportSurvey>();
            CompareWordings = true;

            Formatting    = new ReportFormatting();
            LayoutOptions = new ReportLayout();

            ColorSubs = true;

            // intialize the column order collection with the default columns
            ColumnOrder = new List <ReportColumn>
            {
                new ReportColumn("Qnum", 1),
                new ReportColumn("VarName", 2)
            };

            Numbering = Enumeration.Qnum;
            NrFormat  = ReadOutOptions.Neither;

            ReportType = ReportTypes.Standard;

            VarChangesCol      = false;
            ExcludeTempChanges = true;

            FileName     = "";
            Details      = "";
            ReportStatus = "Generating report...";
            ShowQuestion = true;
        }
예제 #2
0
        public VarNameBasedReport()
        {
            VarNames  = new BindingList <VariableName>();
            questions = new List <SurveyQuestion>();

            Formatting    = new ReportFormatting();
            LayoutOptions = new ReportLayout();
        }
예제 #3
0
파일: SurveyReport.cs 프로젝트: Eedz/ITCLib
        public SurveyReport()
        {
            SurveyReportData = new DataSet("Survey Report");
            sql = new SqlDataAdapter();
            SqlConnection conn = new SqlConnection(ConfigurationManager.ConnectionStrings["ISISConnectionString"].ConnectionString);

            layoutoptions = new ReportLayout();
            formatting    = new ReportFormatting();
            surveycompare = new Comparison();
            surveys       = new List <Survey>();
        }
예제 #4
0
        // TODO last wave only
        // TODO implement a range option so you can see the unused vars
        // TODO show selected surveys only option

        // TODO color differences
        // TODO display surveys vs. projects

        // TODO rename group by column to specific field names

        public HarmonyReport()
        {
            VarNames      = new BindingList <VariableName>();
            matchFields   = new List <string>();
            LayoutOptions = new ReportLayout();

            HasLang        = false;
            HasLabels      = false;
            ShowGroupOn    = false;
            LastWaveOnly   = false;
            SeparateLabels = false;
        }