use of org.olat.ims.qti.export.QTIWordExport in project openolat by klemens.
the class QTIEditorMainController method doExportDocx.
private void doExportDocx(UserRequest ureq) {
AssessmentNode rootNode = (AssessmentNode) menuTreeModel.getRootNode();
VFSContainer editorContainer = qtiPackage.getBaseDir();
exportLatch = new CountDownLatch(1);
MediaResource mr = new QTIWordExport(rootNode, editorContainer, getLocale(), "UTF-8", exportLatch);
ureq.getDispatchResult().setResultingMediaResource(mr);
}
use of org.olat.ims.qti.export.QTIWordExport in project OpenOLAT by OpenOLAT.
the class QTIEditorMainController method doExportDocx.
private void doExportDocx(UserRequest ureq) {
AssessmentNode rootNode = (AssessmentNode) menuTreeModel.getRootNode();
VFSContainer editorContainer = qtiPackage.getBaseDir();
exportLatch = new CountDownLatch(1);
MediaResource mr = new QTIWordExport(rootNode, editorContainer, getLocale(), "UTF-8", exportLatch);
ureq.getDispatchResult().setResultingMediaResource(mr);
}
Aggregations