Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: monicashishodia on January 06, 2017, 10:33:47 pm
-
Hi All
I am trying to generate rtf file using jscript in document script part of fragment. The function that i am calling is Repository.CreateDocumentGenerator(). After getting elements in required form, i am calling GetDocumentAsRTF() on the document object (created earlier).
I am not able to generate PDF or word file using this script. Is there any way through which i can achieve the same. The RTF is taking time in generation when objects are more (or includes few diagrams).
Please suggest.
Regards,
Monica
-
I have made the most complex documents using only standard templates, fragments and virtual documents.
If you do it like that the user has the choice to generate RTF, DocX or PDF.
Geert
-
Hi Geert
Thanks for reply. We raised the query with EA support and they directed us in document scripts direction. But i guess virtual document might solve our problem since rtf generation is taking too much through jscript.
Regrads,
Monica