ONLYOFFICE / DocumentServer

ONLYOFFICE Docs is a free collaborative online office suite comprising viewers and editors for texts, spreadsheets and presentations, forms and PDF, fully compatible with Office Open XML formats: .docx, .xlsx, .pptx and enabling collaborative editing in real time.
https://www.onlyoffice.com
GNU Affero General Public License v3.0
4.86k stars 1.09k forks source link

Change default templates in Docker #2613

Closed asifbacchus closed 8 months ago

asifbacchus commented 8 months ago

This issue is unique.

Operating System of DocumentServer

Docker

Version information

8.0.0.1

Expected Behavior

Document templates would apply my changes. I have never tried this using previous versions.

Actual Behavior

Document templates are ignored. Defaults persist for new documents.

Reproduction Steps

While there are a few issues that address this problem, none of them have working solutions and if marked as resolved they do not actually include the solution, just "thanks, I figured it out" or some such. Here's what I've tried and what's not working for me:

No matter what, creating a new file and opening it always seems to ignore the template and reverts to the default margins and A4 page size.

Am I replacing the wrong files? Can this not be changed when using the Docker container? ANY help would be greatly appreciated! Thanks!

Additional information

No response

igwyd commented 8 months ago

Hello @asifbacchus, yes this is wrong place. The default document font, size, language etc is stored in the document template in the integration app, not in the documentserver. Here in our test example or in the assets folder in OwnCloud intergation app and the same in other integrations. Duplicate of https://github.com/ONLYOFFICE/DocumentServer/issues/927