https://github.com/owncloud/core/blob/oc_preview/lib/preview/office.php#L9