TinyButStrong - the PHP Template Engine
Categories > OpenTBS general >

Generate document preview?

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs

By: Anonyomus
Date: 2014-11-14
Time: 21:16

Generate document preview?

Is currently possible to generate a document preview before download for DOCX or other type of document?
Or a way to instead of downloading sending it to print with file preview?
By: Skrol29
Date: 2014-11-17
Time: 02:39

Re: Generate document preview?

Hi,

I cannot see any preview feature in Ms Word.
So you have to imagine and make your own preview feature. This can be a DOCX more simple, or a plan in HTML, ...
By: Anonymous
Date: 2014-11-17
Time: 16:14

Re: Generate document preview?

Would be possible to generate a PDF and open in a new window?
It would work like a preview.
By: Skrol29
Date: 2014-11-17
Time: 23:05

Re: Generate document preview?

Yes but you have to build the PDF yourself.
The solution I know for doig PDF with TBS is using an HTML template, merge it with TBS and the convert it to PDF using Html2Pdf (http://html2pdf.fr/).
By: Anonymous
Date: 2014-11-19
Time: 19:47

Re: Generate document preview?

Skrol29, does OpenTBS generates HTML?
How could I merge it with TBS?
Thanks for your help.
By: Skrol29
Date: 2014-11-20
Time: 01:43

Re: Generate document preview?

TBS alone can merge any text template, so it can do HTML templates.
OpenTBS is a plug-in for TBS that enables you to merge templates that are LibreOffice and MsOffice documents.