Change OOXML Standard Templates


I am using Nextcloud on Debian and have a dedicated Collabora Online server installed.

My problem are the templates for OOXML document format. For ODP documents the empty templates are available in the folder data/appdata/richdocuments/empty_templates/.
However, from which templates is an empty OOXML (e.g. docx) file created?

The problem is that the default template for blank OOXML documents has Letter page format instead of A4.

Does anyone have a suggestion on how I can solve my problem and change the default page format? Are there any settings to be made on the Collabora server?

Thanks in advance for the help.

did you try to search the forum? - we had a discussion regarding templates shortly…

Do you mean this post?
I unfortunately overlooked the post because the headline did not fit my problem.

Are the .ott templates used despite the OOXML document format?

yes this is one of the posts related to templates. I didn’t try other formats - you might be lucky give it a try.

I’m also having problems with templates and suspect there’s a bug.

Have opened an issue: Default templates not working - and blank.dotx · Issue #2430 · nextcloud/richdocuments · GitHub