-
Hi, to my knowledge there's no analogue of {openxlsx2} that can write a styled wbWorkbook-like object to an ODS file. So:
For context, I've developed a package called {a11ytables}, whose goal is to create best-practice accessible spreadsheets for publication by the UK government. It's built on {openxlsx} but I'm considering a switch to {openxlsx2}. Our central analytical organisation encourages spreadsheets to be published as ODS, so users of {a11ytables} must manually convert their xlsx output to ODS as things stand. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hi @matt-dray , yes at the moment ods is out of scope. I started openxlsx2 because of buisness requirements and I have not encountered any ods file outside of my own limited libreoffice experiments. Researching one zipped XML format is enough for me at the moment, but it should be possible to use the tools openxlsx2 is built upon to read, modify and create ods files. And if someone wants to provide a pull request or presumably a series of pull requests we will of course consider it. As a workaround I assume that you can write a wrapper function to convert XLSX files to ods files via headless libreoffice. But I'm not sure how well this conversion works. Libreoffice still lacks support for certain Excel specific openxml features (I guess form control and sliders iirc). |
Beta Was this translation helpful? Give feedback.
-
That's great, thank you for the swift response. I appreciate the challenges of working with just one zipped XML format 😅. This may be something I can look into in future and I will keep you updated if so. Thank you for all your efforts on {openxlsx2}. |
Beta Was this translation helpful? Give feedback.
Hi @matt-dray , yes at the moment ods is out of scope. I started openxlsx2 because of buisness requirements and I have not encountered any ods file outside of my own limited libreoffice experiments. Researching one zipped XML format is enough for me at the moment, but it should be possible to use the tools openxlsx2 is built upon to read, modify and create ods files. And if someone wants to provide a pull request or presumably a series of pull requests we will of course consider it.
As a workaround I assume that you can write a wrapper function to convert XLSX files to ods files via headless libreoffice. But I'm not sure how well this conversion works. Libreoffice still lacks support for …