private void ReadGlobals()
        {
            _workbook = new XlsxWorkbook(
                _zipWorker.GetWorkbookStream(),
                _zipWorker.GetWorkbookRelsStream(),
                _zipWorker.GetSharedStringsStream(),
                _zipWorker.GetStylesStream());

            CheckDateTimeNumFmts(_workbook.Styles.NumFmts);
        }
示例#2
0
        private async Task ReadGlobalsAsync()
        {
            _workbook = new XlsxWorkbook(
                await _zipWorker.GetWorkbookStream(),
                await _zipWorker.GetWorkbookRelsStream(),
                await _zipWorker.GetSharedStringsStream(),
                await _zipWorker.GetStylesStream());

            CheckDateTimeNumFmts(_workbook.Styles.NumFmts);
        }