sysmodellibs/sysmodelgen/doc/sysmodel/SMG-Input-Files/Border-Shapes-XMLFile.html
author terytkon
Sat, 06 Nov 2010 16:59:14 +0200
changeset 9 63964d875993
parent 7 3c36c452f013
permissions -rw-r--r--
Merge changes to system model generator to SF tip.

<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">&lt;?xml version="1.0"?&gt;<br>&lt;values default="box" label="Sched 12 Category"&gt;
<div class="indent">    &lt;item label="Optional Symbian" value="box-clipLT"&gt;
<div class="indent">         &lt;m ref="cryptolib"/&gt;</div>    &lt;/item&gt;
<br>    &lt;item label="Common Symbian" value="box-clipLB"&gt;
<div class="indent">         &lt;m ref="sdcarddrv"/&gt;
<br>         &lt;m ref="cldchi1_1"/&gt;</div>    &lt;/item&gt;
<br>    &lt;item label="Common Replace&amp;#xad;able" value="#symbol-for-CR"&gt;
<div class="indent"> &lt;m ref="ethernetdrv"/&gt;</div>
    &lt;/item&gt;<br>    &lt;item label="Optional Replace&amp;#xad;able" value="box-clipRT"&gt;
	<div class="indent">&lt;m ref="omap1623"/&gt;
	<br/>         &lt;m ref="bootstrap"/&gt;
	<br>         &lt;m ref="wma1_1"/&gt;
</div>    &lt;/item&gt;</div> 
&lt;/values&gt;</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 &copy;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 &copy;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>