Skip to content

template: templating system for docx style #43

@GTPSHAX

Description

@GTPSHAX

Summary

I have implemented a variable-based template selection system in packages/handlers/handle-generate-docx.js. Currently, it is set to original, which dynamically loads the core logic from packages/scripts/docx/template/original/docx-main.js and applies its corresponding styles.

Basic Examples

This implementation allows for various layout styles, such as:

  • Wrapping all content within a table structure.
  • Specialized "Report/Raport" formatting.
  • Custom layouts tailored to specific document types.

Motivation

The current DOCX output is quite basic and lacks visual hierarchy. By adopting this modular template feature, we can provide a much better user experience with more professional and diverse document presentation options.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions