Ejemplo n.º 1
0
        private void ReadGlobals()
        {
            _workbook = new XlsxWorkbook(
                _zipWorker.GetWorkbookStream(),
                _zipWorker.GetWorkbookRelsStream(),
                _zipWorker.GetSharedStringsStream(),
                _zipWorker.GetStylesStream());

            CheckDateTimeNumFmts(_workbook.Styles.NumFmts);
        }
Ejemplo n.º 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);
        }