You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
Understood. In that case how about adding an additional argument to the Packer methods that is typed as IXmlifyedFile[]? That array can then be passed to Compiler.compile as an additional argument.
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 thecompiler
field on thePacker
class could be made public.In either case, it would enable user code to call
Compiler.compile
directly, get the returnedJSZip
, ad additional files to theJSZip
, 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
The text was updated successfully, but these errors were encountered: