I am creating Topcased tutorials using SysML (http://thinksysml.org/Tutorials/index.html). I now want to use GenDoc2 to export the tutorials in a .docx or .odt format. The problem is that the html formatting and images I am using in the documentation properties are lost in translation. I must use .getDocumentation().clean() to convert to strings. I don't mind losing the text formatting but the images are critical to the tutorial application.
It would seem that I need to write an Acceleo service to provide a more sophisticated getDocumentation function. Has anyone already done this? I am thinking that the service could break the documentation into a list of objects (paragraphs and images) and return the list as a sequence. Then I could use the Acceleo for-loop to go through the list and depending on whether the object is a paragraph or an image, print the string or display the image. Are there any examples of custom sequences like this? Thanks, Peter Peter L. Jackson Director of Graduate Studies, Systems Engineering Program Professor, School of Operations Research and Information Engineering Rhodes Hall 218 (607) 255-9122 [email protected]
_______________________________________________ Topcased-users mailing list [email protected] http://lists.gforge.enseeiht.fr/cgi-bin/mailman/listinfo/topcased-users
