Add natively on Apex a document viewer for pdf, docx, .xlsx, .pptx, etc.
This is an interesting enhancement, would like to see it but I think it's not really high priority as the browser might have already some extensions or plug-ins (if not natively supported) that can preview some of those files (pdfs for instance, in Chrome).
Not sure if it's worth the effort, tho.
In Chrome, for example, there is essentially no code needed to do this.
A simple static content region will correctly preview the document so long as the browser handles it natively. I know, for example that this works (we do this already) for text/html (inside an iframe), text/plain and application/json.
With extensions (still no coding), you can view Word, Excel, etc.
Yes, It would be a great improvement
my2cents: doc viewer in a region, e.g. left region: report with docs - right region: doc viewer
as explained here: http://apex-de.blogspot.com/2021/08/apex-render-pdf-in-region.html
Thumbnail images for the first page of documents and of photos would be nice too.
By the way; You can use ctx_doc.policy_filter to produce HTML previews of office documents.
The ROADMAP decision on this would be for PDF AS PAGE ITEM would be prioritized.
Meanwhile if you are looking to implement PDF viewer in your app, please check-out this video https://www.youtube.com/watch?v=PoAl_TA0TxA
Which version will this feature be?