nextcloud / nextcloud/richdocuments

provide templates for ooxml

Open
#3,078 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop bug feature: templates
Dominant language
JavaScript
Stars
453
Forks
147
Avg merge
14h 54m
Merged PRs (30d)
83

Description

Since emptyTemplates/template.docx has paper format US letter this format is always applied to new documents and has to be changed manually if you have a different locale.

A solution could be to have emptyTemplates containing

  • document.dotx
  • spreadsheet.xltx
  • ...

to automatically have the proper paper format applied for new documents according to the locale.

This would be just like the template files in odf format. In my understanding this should be possible since https://github.com/nextcloud/richdocuments/pull/3059

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing emptyTemplates/template.docx and the approach described in pull request 3059, then compare it with the existing ODF template files. The work is complete when OOXML templates such as document.dotx and spreadsheet.xltx apply the appropriate locale-specific paper format to new documents.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
content
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.