wnabil / ngx-export-as

Angular 2+ / Ionic 2+ HTML/table element to export it as JSON, XML, PNG, CSV, TXT, MS-Word, Ms-Excel, PDF
MIT License
68 stars 40 forks source link

the doc format not working. ERROR: Export type is not supported #76

Closed Sowmya-Sukhanand closed 3 years ago

Sowmya-Sukhanand commented 4 years ago

I use version 1.4.2...with the file download as pdf,png..the library works like a charm.But it is not supporting the doc even though the library's supported extension has doc format. If i use version 1.3.1...it gives me strict code error what might b the issue

wnabil commented 4 years ago

yes its disabled for now until we find a fix for the SSR check version 1.3.1 it should be still working fine https://github.com/wnabil/ngx-export-as#change-logs

haseel2004 commented 3 years ago

The version 1.3.1 doesn't work with latest angular version. Can you suggest how to make it compatible?

wnabil commented 3 years ago

@haseel2004 A pull request with the fix is more than welcome as i am very busy currently and cant do the upgrading part alone

wnabil commented 3 years ago

this is coming to be supported again, once this PR merged https://github.com/privateOmega/html-to-docx/pull/68#issuecomment-851080861

wnabil commented 3 years ago

Added in 1.12.1, please note that your project have to target es2015 in tsconfig.json file or it will throw error Cannot call a class as a function https://github.com/privateOmega/html-to-docx/issues/3#issuecomment-886222607