stable
Clone or download
Read-only
This contribution does a serie of changes to make the resulting a bit more usable when text field are exported: * column width has been limited so we can avoid gigantic cell * the row height is expanded to fit the multiple lines of the text if needed * "\r\n" is replaced by "\n" to avoid the escaping of "\r" is the cell content The bookSST [0] option has been enabled when creating the XSLX to avoid issues with LibreOffice/OpenOffice [1]. Part of story #15096: export a report of tests for a milestone [0] https://github.com/SheetJS/sheetjs/blob/v0.16.6/README.md#writing-options [1] https://github.com/SheetJS/sheetjs/pull/1916 Change-Id: Iac7215ca7dfe5fee52a0400d58d679fbe8948c99
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/testplan/scripts/test-plan/src/helpers/Export/download-export-document.test.ts | +2 | −1 | Go to diff View file |
M | plugins/testplan/scripts/test-plan/src/helpers/Export/download-export-document.ts | +2 | −1 | Go to diff View file |
M | plugins/testplan/scripts/test-plan/src/helpers/Export/transform-report-to-xlsx-sheet.test.ts | +67 | −1 | Go to diff View file |
M | plugins/testplan/scripts/test-plan/src/helpers/Export/transform-report-to-xlsx-sheet.ts | +39 | −6 | Go to diff View file |