Description of feature or bug
We need to add support for exporting documents in .docx format by integrating the docx gem into the project.
The export flow should reuse as much of the existing .odt export logic as possible. Shared behavior should be extracted into a dedicated helper/service class to keep the implementation clean, maintainable, and DRY.
In addition, users should be able to choose between available export formats directly in the frontend.
TODO
Description of feature or bug
We need to add support for exporting documents in .docx format by integrating the docx gem into the project.
The export flow should reuse as much of the existing .odt export logic as possible. Shared behavior should be extracted into a dedicated helper/service class to keep the implementation clean, maintainable, and DRY.
In addition, users should be able to choose between available export formats directly in the frontend.
TODO
.odtand.docxas DRY as possible.