Remove Nextcloud menu when in Open Office editor?

Is there a way to remove the Nextcloud header bar when editing a document in Open Office? It’s a bit cramped as it is. There already is a button to go back to documents so that won’t be an issue.

Thank you!