/// <summary> /// Constructor /// </summary> /// <param name="fileFormatsNode">XML-node for the General.FileFormats settings</param> public FileFormatsSettings(XmlNode fileFormatsNode) { string xpath; XmlNode node; xpath = "./cellLimitDownloads"; CellLimitDownloads = SettingsHelper.GetSettingValue(xpath, fileFormatsNode, 10000); xpath = "./excel"; node = fileFormatsNode.SelectSingleNode(xpath); _excelSettings = new ExcelSettings(node); }
/// <summary> /// Constructor /// </summary> /// <param name="fileFormatsNode">XML-node for the General.FileFormats settings</param> public FileFormatsSettings(XmlNode fileFormatsNode) { string xpath; XmlNode node; xpath = "./cellLimitDownloads"; CellLimitDownloads = SettingsHelper.GetSettingValue(xpath, fileFormatsNode, 10000); xpath = "./fileBaseName"; FileBaseName = SettingsHelper.GetSettingValue(xpath, fileFormatsNode, PCAxis.Paxiom.FileBaseNameType.Matrix); xpath = "./excel"; node = fileFormatsNode.SelectSingleNode(xpath); _excelSettings = new ExcelSettings(node); }