How to display office file(.docx, .ppt, .xlsx) blobs in angular?

Discussão em 'Angular' iniciado por user30646453, Maio 27, 2025.

  1. user30646453

    user30646453 Guest

    I have an Office file (like .docx, .ppt, or .xlsx) available as a Blob object in my Angular app. I do not have a public or downloadable URL for the file — it's fetched from an API and received as a Blob. I want to display the file content inside the browser or open it in a new tab for the user to view. What is the recommended way to handle and display these types of files directly from a Blob by retaining the office styles?

    Continue reading...

Compartilhe esta Página