Skip to content

Extending zip output with more sub-files #2938

@adamSherwoodGenieAI

Description

@adamSherwoodGenieAI

Hi @dolanmiu Thanks for this great library.

I'm just running into an issue with trying to add a commentsExtended.xml subfile to the exported zip file (for MS Word compatibility).

From what I can tell, the simplest way to make this possible would be to publicly expose the Compiler class, which is not currently part of the public api. Alternatively the compiler field on the Packer class could be made public.

In either case, it would enable user code to call Compiler.compile directly, get the returned JSZip, ad additional files to the JSZip, and finally generate the zip.

If you're open to the idea, I'm happy to open a PR to make the changes. Let me know what you think

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions