The Office File Preview plugin is used to preview Office format files in NocoBase applications, such as Word, Excel, and PowerPoint.
It is based on a public online service provided by Microsoft, which allows files accessible via a public URL to be embedded in a preview interface, enabling users to view these files in a browser without downloading or using Office applications.
By default, the plugin is in a disabled state. It can be used after being enabled in the plugin manager, with no additional configuration required.

After successfully uploading an Office file (Word / Excel / PowerPoint) to a file field in a collection, click the corresponding file icon or link to view the file content in the popup or embedded preview interface.

The preview embedded by this plugin relies on Microsoft's public online service (Office Web Viewer). The main process is as follows:
The frontend generates a publicly accessible URL for the file uploaded by the user (including S3 signed URLs);
The plugin loads the file preview in an iframe using the following address:
Microsoft's service requests the file content from this URL, renders it, and returns a viewable page.
The plugin only supports previews for the following Office file formats, based on the file's MIME type or file extension:
application/vnd.openxmlformats-officedocument.wordprocessingml.document (.docx) or application/msword (.doc)application/vnd.openxmlformats-officedocument.spreadsheetml.sheet (.xlsx) or application/vnd.ms-excel (.xls)application/vnd.openxmlformats-officedocument.presentationml.presentation (.pptx) or application/vnd.ms-powerpoint (.ppt)application/vnd.oasis.opendocument.text (.odt)Other file formats will not enable the preview function of this plugin.