Version 2.0 release of System Model Generator, which draws 3.x syntax system definition files
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<!-- Generated by Xbuild version: 5.0.20 -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="show-comments" content="" />
<title>Border Shapes Values XML File in Values XML Files</title>
<link href="../../_stock/css/reset.css" rel="stylesheet" type="text/css" />
<link href="../../_stock/css/portal.css" rel="stylesheet" type="text/css" />
<link href="../../_stock/css/iefix.css" rel="stylesheet" type="text/css" />
<link href="../../_stock/css/ui.tabs.css" rel="stylesheet" type="text/css" />
<link href="../../_stock/css/developer.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="../../_stock/css/ui.css" media="screen" />
<link rel="stylesheet" type="text/css" href="../../_stock/css/sysdoc.css" media="screen" />
<link rel="stylesheet" type="text/css" href="../../_stock/css/sdlplugin.css" media="screen" />
</head>
<body>
<div id="main_content">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td valign="top" width="100%">
<div id="main_content_txt">
<div class="main_content_padding">
<div id="main">
<div id="authoredContent">
<div class="section">
<a name="bordershapesxml"></a><h1>Border Shapes Values XML File</h1><div class="section">
<h2>Purpose</h2><p>
The border shapes values XML file is used to define the shapes of
components. The valid values for a border shape can be <code>box</code>,
<code>round</code>, <code>hexagon</code>, <code>box-clipRT</code>,
<code>box-clipRB</code>, <code>box-clipLT</code>, <code>box-clipLB</code>, and
<code>box-clipAll</code>, or a reference (<code>#<var>xxxx</var></code>) to a symbol specified in a
Shapes XML file.
</p><p>
The following figure shows the various predefined shapes:
</p><div class="Figure">
<p class="Image"><a name=""><img src="bordershapes.gif" alt="" border="0"/></a></p><br clear="all"/>
</div><p>
For information about how to define new values for border shapes, see
<a href="../CustomSysmodel/index.html#cust%2eindex" title="This document describes how to customise a System Model diagram using a Shapes XML file to specify the styling of components and generated legend items.">Customizing the System Model Presentation</a>.
</p><p>
</p></div>
<div class="section">
<h2>Syntax</h2>
<p>The Border Shapes files use the common syntax for all <a href="Values-XML-index.html">Values XML files</a>.
However, border shapes can only apply to components, so it is an error to set <code>rank</code> to anything other than <code>*</code> or <code>component</code>.</p>
</div>
<div class="section">
<h2>Example</h2>
<div class="Example"><code class="xml"><?xml version="1.0"?><br><values default="box" label="Sched 12 Category">
<div class="indent"> <item label="Optional Symbian" value="box-clipLT">
<div class="indent"> <m ref="cryptolib"/></div> </item>
<br> <item label="Common Symbian" value="box-clipLB">
<div class="indent"> <m ref="sdcarddrv"/>
<br> <m ref="cldchi1_1"/></div> </item>
<br> <item label="Common Replace&#xad;able" value="#symbol-for-CR">
<div class="indent"> <m ref="ethernetdrv"/></div>
</item><br> <item label="Optional Replace&#xad;able" value="box-clipRT">
<div class="indent"><m ref="omap1623"/>
<br/> <m ref="bootstrap"/>
<br> <m ref="wma1_1"/>
</div> </item></div>
</values></code></div><p>
The following figure shows the generated legend for the preceding
border shapes values XML:
</p><div class="Figure">
<p class="Image"><a name=""><img src="bordershapesoutput.gif" alt="" border="0"/></a></p><br clear="all"/>
</div></div>
<div class="section">
<h2>See also</h2><p>
<a href="Colours-XMLFile.html#coloursxml">Colors Values XML File</a>
</p><p>
<a href="Patterns-XMLFile.html#patternsxml">Patterns Values XML File</a>
</p><p>
<a href="Border-Style-XMLFile.html#borderstylesxml">Border Styles Values XML File</a>
</p></div>
</div>
</div>
<div id="printer_copyright">
<div id="printer_copyright_padding">
Copyright ©2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. License: <a href="http://www.symbianfoundation.org/legal/sfl-v10.html">SFL</a>
</div>
</div>
</div>
</div>
</div>
</td>
</tr>
</table>
<div style="clear: both"></div>
</div>
<div id="includedFooter">
<div id="devnet_footer">
<div style="float: left;">Copyright ©2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. License: <a href="http://www.symbianfoundation.org/legal/sfl-v10.html">SFL</a>. </div>
<div id='BUILD_VERSION'></div>
</div>
</div>
</body>
</html>