Get JIRA Issue Word export to file/inputstream programatically

Inside a JIRA server add-on (more specifically inside a webworks action) is it possible to get the current issue Word export (the default jira word export) and save it in a temporary file ?
After a long search i know there is a class IssueWordView but i can’t find how it’s being used.