sysmodellibs/sysmodelgen/doc/sysmodel/SMG-Input-Files/Border-Shapes-XMLFile.html
changeset 7 3c36c452f013
equal deleted inserted replaced
6:5b32dc297d05 7:3c36c452f013
       
     1 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
       
     2     <!-- Generated by Xbuild version: 5.0.20 -->
       
     3     <head>
       
     4         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
       
     5 	<meta name="show-comments" content="" />
       
     6 	<title>Border Shapes Values XML File in Values XML Files</title>    
       
     7 	<link href="../../_stock/css/reset.css" rel="stylesheet" type="text/css" />
       
     8 	<link href="../../_stock/css/portal.css" rel="stylesheet" type="text/css" />
       
     9 	<link href="../../_stock/css/iefix.css" rel="stylesheet" type="text/css" />
       
    10 	<link href="../../_stock/css/ui.tabs.css" rel="stylesheet" type="text/css" />
       
    11 	<link href="../../_stock/css/developer.css" rel="stylesheet" type="text/css" />
       
    12 	<link rel="stylesheet" type="text/css" href="../../_stock/css/ui.css" media="screen" />
       
    13 	<link rel="stylesheet" type="text/css" href="../../_stock/css/sysdoc.css" media="screen" />
       
    14 	<link rel="stylesheet" type="text/css" href="../../_stock/css/sdlplugin.css" media="screen" />
       
    15     </head>
       
    16     <body>
       
    17 	<div id="main_content">
       
    18 	    <table width="100%" cellpadding="0" cellspacing="0" border="0">
       
    19 		<tr>
       
    20 		    <td valign="top" width="100%">
       
    21 			<div id="main_content_txt">
       
    22 			    <div class="main_content_padding">		
       
    23                                 <div id="main">
       
    24                                     <div id="authoredContent">
       
    25                                         <div class="section">
       
    26 <a name="bordershapesxml"></a><h1>Border Shapes Values XML File</h1><div class="section">
       
    27 <h2>Purpose</h2><p>
       
    28 		The border shapes values XML file is used to define the shapes of
       
    29 		components. The valid values for a border shape can be <code>box</code>,
       
    30 		<code>round</code>, <code>hexagon</code>, <code>box-clipRT</code>,
       
    31 		<code>box-clipRB</code>, <code>box-clipLT</code>, <code>box-clipLB</code>, and
       
    32 		<code>box-clipAll</code>, or a reference (<code>#<var>xxxx</var></code>) to a symbol specified in a
       
    33 		Shapes XML file. 
       
    34 	  </p><p>
       
    35 		The following figure shows the various predefined shapes: 
       
    36 	  </p><div class="Figure">
       
    37 		<p class="Image"><a name=""><img src="bordershapes.gif" alt=""  border="0"/></a></p><br clear="all"/>
       
    38  
       
    39 	  </div><p>
       
    40 		For information about how to define new values for border shapes, see
       
    41 		<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>. 
       
    42 	  </p><p>
       
    43 	  </p></div>
       
    44 <div class="section">
       
    45 <h2>Syntax</h2>
       
    46 <p>The Border Shapes files use the common syntax for all <a href="Values-XML-index.html">Values XML files</a>. 
       
    47 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>
       
    48 
       
    49 </div>
       
    50 <div class="section">
       
    51 <h2>Example</h2>
       
    52 <div class="Example"><code class="xml">&lt;?xml version="1.0"?&gt;<br>&lt;values default="box" label="Sched 12 Category"&gt;
       
    53 <div class="indent">    &lt;item label="Optional Symbian" value="box-clipLT"&gt;
       
    54 <div class="indent">         &lt;m ref="cryptolib"/&gt;</div>    &lt;/item&gt;
       
    55 <br>    &lt;item label="Common Symbian" value="box-clipLB"&gt;
       
    56 <div class="indent">         &lt;m ref="sdcarddrv"/&gt;
       
    57 <br>         &lt;m ref="cldchi1_1"/&gt;</div>    &lt;/item&gt;
       
    58 <br>    &lt;item label="Common Replace&amp;#xad;able" value="#symbol-for-CR"&gt;
       
    59 <div class="indent"> &lt;m ref="ethernetdrv"/&gt;</div>
       
    60     &lt;/item&gt;<br>    &lt;item label="Optional Replace&amp;#xad;able" value="box-clipRT"&gt;
       
    61 	<div class="indent">&lt;m ref="omap1623"/&gt;
       
    62 	<br/>         &lt;m ref="bootstrap"/&gt;
       
    63 	<br>         &lt;m ref="wma1_1"/&gt;
       
    64 </div>    &lt;/item&gt;</div> 
       
    65 &lt;/values&gt;</code></div><p>
       
    66 		The following figure shows the generated legend for the preceding
       
    67 		border shapes values XML: 
       
    68 	  </p><div class="Figure">
       
    69 		<p class="Image"><a name=""><img src="bordershapesoutput.gif" alt=""  border="0"/></a></p><br clear="all"/>
       
    70  
       
    71 	  </div></div>
       
    72 <div class="section">
       
    73 <h2>See also</h2><p>
       
    74 		<a href="Colours-XMLFile.html#coloursxml">Colors Values XML File</a> 
       
    75 	  </p><p>
       
    76 		<a href="Patterns-XMLFile.html#patternsxml">Patterns Values XML File</a> 
       
    77 	  </p><p>
       
    78 		<a href="Border-Style-XMLFile.html#borderstylesxml">Border Styles Values XML File</a> 
       
    79 	  </p></div>
       
    80 </div>
       
    81 
       
    82                                     </div>
       
    83                                     <div id="printer_copyright">
       
    84                                         <div id="printer_copyright_padding">
       
    85                                             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>
       
    86                                         </div>
       
    87                                     </div>
       
    88                                 </div>
       
    89 			    </div>
       
    90 			</div>
       
    91 		    </td>
       
    92 		</tr>
       
    93 	    </table>
       
    94 	    <div style="clear: both"></div>
       
    95 	</div>
       
    96 	<div id="includedFooter">
       
    97 	    <div id="devnet_footer">
       
    98             <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>
       
    99             <div id='BUILD_VERSION'></div>
       
   100 	    </div>
       
   101 	</div>
       
   102 </body>
       
   103 </html>