Title: Raphaël FAUDOU


[email protected] a écrit :
Hi Raphaël,

Thanks for your reply.  I managed to get it to generate using your content.  I think my problem was that I either specified the modelPath and rootContainer in the tags or didn't link the generatedFragment name properly.

I still see the tags in the output document though. 
did you use the word macros to create your gendoc tags?
One big issue with docx is that when you type words, they are sometimes stored in several XML tags in the internal Word 2007 format, and the algorithm that replaces the gendoc tags is sometimes lost (bugs to fix in this area).
That is why we suggest using the bloc note program to copy/paste the gendoc tags as in that case the tags are stored in one tag in the word 2007 internal format and the gendoc tag replacement is OK.
What text needs to replace your 'source1'?  Is that the Project name, folder name, sysml model name or another?
'source1' is a logical name that is used to connect the "generatedFragment" to a "model source" (gendoc can handle several model sources). The only requirement is to have the same name used for both to connect them. So you can use "mySource" if you want but be careful to use the same value in "registerModelDataSource name " and in all your "generatedFramgent model".

Then the true value of the model (model path) is specified in TOPCASED through the gendoc model editor.

In next release, all necessary information will be available directly in the template document so that you can generate everything without TOPCASED open. It will allows batch mode. So you will have the "modelName" information available in your document template.

regards
raphaël



Thanks for your help.

Regards,
Jason

_______________________________________________ Topcased-users mailing list [email protected] http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users

--

Image Signature IOC Raphaël FAUDOU
Responsable cellule Innovation / bureau méthodes
Head of Innovation & Method Definition
Embedded systems & critical systems
Atos Origin

Tel     : +33 (0)5 34 36 32 89
Tel     : +33 (0)6 10 53 50 44
Mail   : [email protected]
Atos Origin
6, Impasse Alice Guy
BP 43045
31024 Toulouse Cedex 3, France

P Avant d'imprimer cet e-mail, pensez à l'environnement. Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité du groupe Atos Origin ne pourra être recherchée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être recherchée pour tout dommage résultant d'un virus transmis.
P Please consider your environmental responsibility before printing this e-mail. This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos Origin group liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.

_______________________________________________
Topcased-users mailing list
[email protected]
http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users

Reply via email to