I create I did not explain myself correctly, my doubt is if some component exists to visualize a file that is in a server.
Documents of pdf, Word, excel, something like the example of images, the document is read image and it goes the bytes to the component and the image is loaded. To read a Word and to load the data in a component. something like previous view.
You can use the jodConverter, it converts the files to PDF and you can display.
Other than that... I don't know of any other component. If you find one please let me know.