OnlyOffice (
https://www.onlyoffice.com/) is the only one that I believe comes very close to either of these.
It has several components that can be used individually or together, I believe all AGPL-licensed.
They have fully featured in-browser editors for documents, spreadsheets and presentations that can be used with their document management system (also very good) or integrated into Nextcloud (or similar).
There's also a PMS, CRM, E-mail and calendar.