Search in sources :

Example 6 with ExportBinderAsPDFResource

use of org.olat.modules.portfolio.ui.export.ExportBinderAsPDFResource in project openolat by klemens.

the class TableOfContentController method doExportBinderAsPdf.

private void doExportBinderAsPdf(UserRequest ureq) {
    MediaResource resource = new ExportBinderAsPDFResource(binder, ureq, getLocale());
    ureq.getDispatchResult().setResultingMediaResource(resource);
}
Also used : ExportBinderAsPDFResource(org.olat.modules.portfolio.ui.export.ExportBinderAsPDFResource) MediaResource(org.olat.core.gui.media.MediaResource)

Aggregations

MediaResource (org.olat.core.gui.media.MediaResource)6 ExportBinderAsPDFResource (org.olat.modules.portfolio.ui.export.ExportBinderAsPDFResource)6