P.S. When I said creating the templates in DOCX, I meant using the
LibreOffice. Since it is going to be used to render, you will see exactly
how it is going to look like.  As a bonus, non technical stuff can create
and maintain these templates.

07.05.2017 11:47 "Witold Szczerba" <[email protected]> napisał(a):

> I would try to create these templates in. DOCX instead of HTML. That would
> give you much better control. The DOCX format is just a ZIP file with XML
> inside, so manipulating the content should not be a huge problem.
>
> 05.05.2017 03:53 "Deep SiderZ" <[email protected]> napisał(a):
>
>> Hi everyone,
>>
>> I'm trying to export data to PDF / DOCX files. At present I use a
>> HTML/CSS template that I fill with my data with ejs package. Then when this
>> template is ready I use Libre Office (with soffice command in headless
>> mode) to export it to PDF or DOCX format. It works but the result is ugly
>> ...
>> I would like to be able to have a beautiful result. I want to put
>> pictures, tables, colorized texts in the output format.
>>
>> Do you have an idea on how to achieve this ? It can be a library (one for
>> PDF and one for DOCX or better, juste one for both) or a program that I can
>> exec from my nodejs app. Or it can also be a solution in another language
>> than javascript.
>>
>> Thank you for your help !
>>
>> --
>> Job board: http://jobs.nodejs.org/
>> New group rules: https://gist.github.com/othiym
>> 23/9886289#file-moderation-policy-md
>> Old group rules: https://github.com/joyent/node
>> /wiki/Mailing-List-Posting-Guidelines
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "nodejs" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> To view this discussion on the web visit https://groups.google.com/d/ms
>> gid/nodejs/feedc87b-427a-4807-bb31-fe78809f10db%40googlegroups.com
>> <https://groups.google.com/d/msgid/nodejs/feedc87b-427a-4807-bb31-fe78809f10db%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/CAAWTnth1VVc2nNsyyW2atUOojv1m%3DOz1SVueBk1KQfUuqnbY5w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to