How to preview document before document upload (.pptx,.docx,.xlsx,.mpeg) ?How to preview document before document upload (.pptx,.docx,.xlsx,.mpeg) ?https://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=1204799102024-03-28T13:26:11Z2024-03-28T13:26:11ZRE: RE: How to preview document before document upload (.pptx,.docx,.xlsx,.Christoph Rabelhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1204801772020-11-30T15:44:32Z2020-11-30T15:44:32Z<p>In theory it would be possible to read the file using javascript and
render it. It can be done, with some browsers at least, for pdf files
and images. But I am not sure if there is such a library for office
files (maybe there is and I just don't know it)</p>
<p>If the OP has a javascript library at hand that does that for pptx,
docx, ... it would be doable. You could attach the action to the file
upload button in the document library.</p>Christoph Rabel2020-11-30T15:44:32ZRE: How to preview document before document upload (.pptx,.docx,.xlsx,.mpegOlaf Kockhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1204799742020-11-30T13:52:42Z2020-11-30T13:52:42Z<p>Doubleclick it.<br />Before it's uploaded to the server, the
server-side software can't help you with any preview generation.</p>
<p>Or am I missing something?</p>Olaf Kock2020-11-30T13:52:42ZHow to preview document before document upload (.pptx,.docx,.xlsx,.mpeg) ?Anant Patilhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1204799092020-11-30T13:22:59Z2020-11-30T13:11:40Z