| <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <html> |
| <head> |
| <meta content="text/html; charset=windows-1252" http-equiv="content-type"> |
| <title>Text generation</title> |
| <link rel="stylesheet" type="text/css" href="userguide.css"> |
| </head> |
| <body> |
| <h2>Text generation</h2> |
| <p>Writing scripts inside a worksheet has a lot of inconveniences but the |
| great advantage is to benefit from all edition functionality, mainly |
| column, row and cell formats.</p> |
| <h3>Applying styles to the generation output</h3> |
| <p>The style applied to the text box containing the script inside the |
| template document is kept in the generation output (color, font, size, |
| alignments).</p> |
| <table class="sample" width="650px"> |
| <tbody> |
| <tr class="heading"> |
| <td width="50%"> |
| <p><strong>Template content</strong></p> |
| </td> |
| <td width="50%"> |
| <p><strong>Generation output</strong></p> |
| </td> |
| </tr> |
| <tr valign="top"> |
| <td align="center"> |
| <table class="pptx" align="center" border="solid" width="90%"> |
| <tbody> |
| <tr height="140px" valign="top"> |
| <td> |
| <table class="pptx"> |
| <tbody> |
| <tr height="75"> |
| <td><context model='D:/
/myModel.uml'/><br> |
| <gendoc></td> |
| </tr> |
| <tr height="40"> |
| <td>[for (p:Package | Package.allInstances())]</td> |
| </tr> |
| </tbody> |
| </table> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <br> |
| <table class="pptx" align="center" border="solid" width="90%"> |
| <tbody> |
| <tr height="140px" valign="top"> |
| <td> |
| <table width="90%"> |
| <tbody> |
| <tr> |
| <td> <strong class="blue" style="font-weight:900;">[p.name/]</strong> |
| <br> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <br> |
| <table class="pptx" align="center" border="solid" width="90%"> |
| <tbody> |
| <tr height="140px" valign="top"> |
| <td> |
| <table width="90%"> |
| <tbody> |
| <tr> |
| <td>[/for]<br> |
| </gendoc></td> |
| </tr> |
| </tbody> |
| </table> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </td> |
| <td align="center"> |
| <table class="pptx" align="center" border="solid" width="90%"> |
| <tbody> |
| <tr height="140px" valign="top"> |
| <td> |
| <table width="90%"> |
| <tbody> |
| <tr height="75"> |
| <td> <br> |
| </td> |
| </tr> |
| <tr height="40"> |
| <td> <br> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <br> |
| <table class="pptx" align="center" border="solid" width="90%"> |
| <tbody> |
| <tr height="140px" valign="top"> |
| <td> |
| <table width="90%"> |
| <tbody> |
| <tr> |
| <td><strong class="blue" style="font-weight:900;">Actors</strong></td> |
| </tr> |
| </tbody> |
| </table> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <br> |
| <table class="pptx" align="center" border="solid" width="90%"> |
| <tbody> |
| <tr height="140px" valign="top"> |
| <td> |
| <table width="90%"> |
| <tbody> |
| <tr> |
| <td><strong class="blue" style="font-weight:900;">Use |
| case View</strong></td> |
| </tr> |
| </tbody> |
| </table> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <br> |
| <table class="pptx" align="center" border="solid" width="90%"> |
| <tbody> |
| <tr height="140px" valign="top"> |
| <td> |
| <table width="90%"> |
| <tbody> |
| <tr> |
| <td><strong class="blue" style="font-weight:900;">Logical |
| View</strong></td> |
| </tr> |
| </tbody> |
| </table> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <br> |
| <table class="pptx" align="center" border="solid" width="90%"> |
| <tbody> |
| <tr height="140px" valign="top"> |
| <td> |
| <table width="90%"> |
| <tbody> |
| <tr> |
| <td><strong class="blue" style="font-weight:900;">Deployment |
| View</strong></td> |
| </tr> |
| </tbody> |
| </table> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <br> |
| <table class="pptx" align="center" border="solid" width="90%"> |
| <tbody> |
| <tr height="140px" valign="top"> |
| <td> |
| <table width="90%"> |
| <tbody> |
| <tr> |
| <td><br> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <br> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <p>All other styles from document templates are kept during generation.</p> |
| </body> |
| </html> |