Esempio n. 1
0
        /// <summary>
        /// Save default export parameters for user
        /// </summary>
        /// <param name="rf"></param>

        void SaveDefaultExportParameters(ResultsFormat rf)
        {
            string txt =
                ((int)rf.OpenMode).ToString() + '\t' +
                QnfSplitControl.SerializeQualifiedNumberSplit(rf.QualifiedNumberSplit) + '\t' +
                rf.DuplicateKeyTableValues + '\t' +
                rf.ViewStructures;

            Preferences.Set("SpotfireExportDefaults", txt);
            return;
        }
Esempio n. 2
0
        /// <summary>
        /// Save default export parameters for user
        /// </summary>
        /// <param name="rf"></param>

        void SaveDefaultExportParameters(ResultsFormat rf)
        {
            string txt =
                ((int)rf.StructureFlags).ToString() + '\t' +
                QnfSplitControl.SerializeQualifiedNumberSplit(rf.QualifiedNumberSplit) + '\t' +
                rf.DuplicateKeyTableValues + '\t' +
                rf.AllowExtraLengthFieldNames + '\t' +
                rf.RunInBackground;

            Preferences.Set("SdFileExportDefaults", txt);

            if (SaveAsDefaultFolderOption.Checked)
            {
                SetupExcel.SaveDefaultFolder(rf.OutputFileName);
            }
            return;
        }
Esempio n. 3
0
        /// <summary>
        /// Save default export parameters for user
        /// </summary>
        /// <param name="rf"></param>

        void SaveDefaultExportParameters(ResultsFormat rf)
        {
            string txt =
                rf.HeaderLines.ToString() + '\t' +
                rf.FixedHeightStructures + '\t' +
                QnfSplitControl.SerializeQualifiedNumberSplit(rf.QualifiedNumberSplit) + '\t' +
                rf.DuplicateKeyTableValues + '\t' +
                rf.RunInBackground + '\t' +
                rf.ExportStructureFormat.ToString();

            Preferences.Set("ExcelExportDefaults", txt);

            if (SaveAsDefaultFolderOption.Checked)
            {
                SaveDefaultFolder(rf.OutputFileName);
            }
            return;
        }