I have developed a report using JasperReports (iReport tool), which needs to be exported to MS-Word document. I have Word-2007 on my machine and it is working fine with .docx extension (hardcoded). However if any machine has MS-Word 1997-2003 installed which takes .doc version, it will cause problem as I am using harcoded value .docx.
Is there any way to handle this?
If knowing the word version on client machine is the only option how can i know the version installed? I think this part of code should be in javascript/jQuery (to know MS-Word version on client machine).
Please let me know how this can be accomplished.