sysmodellibs/sysmodelgen/doc/sysmodel/SMG-Input-Files/Patterns-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>Patterns 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="patternsxml"></a><h1>Patterns Values XML File</h1><div class="section">
       
    27 <h2>Purpose</h2><p>
       
    28 		The patterns values XML file is used to define the patterns of
       
    29 		components. The valid values for a pattern can be <code>striped-diag-up</code>,
       
    30 		<code>radial-grad</code>, <code>big-X</code> or a reference (<code>#<var>xxxx<var></code>) to a pattern specified
       
    31 		in a Shapes XML file. 
       
    32 	  </p><p>
       
    33 		The following figure shows the various predefined patterns:
       
    34 	  </p><div class="Figure">
       
    35 		<p class="Image"><img src="patterns.gif" alt=""  border="0"/></p><br clear="all"/>
       
    36 
       
    37 	  </div><p>
       
    38 		For information about how to define new values for patterns, see
       
    39 		<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>. 
       
    40 	  </p></div>
       
    41 <div class="section">
       
    42 <h2>Syntax</h2>
       
    43 <p>The Patterns files use the common syntax for all <a href="Values-XML-index.html">Values XML files</a>. </p>
       
    44 </div>
       
    45  
       
    46 <div class="section">
       
    47 <h2>Example</h2>
       
    48 <div class="Example"><code class="xml">&lt;?xml version="1.0"?&gt;<br>&lt;values&gt;
       
    49 <div class="indent">    &lt;item label="Reference Compo#xad;nent" value="striped-diag-up"&gt;
       
    50 <div class="indent">            &lt;component name="OMAP 1623"/&gt;
       
    51 <br>            &lt;component name="SD Card Driver"/&gt;
       
    52 <br>            &#133;
       
    53 </div>    &lt;/item&gt;
       
    54 <br>    &lt;item label="New in 9.4" value="radial-grad"&gt;
       
    55 <div class="indent">           &lt;component name="Wireless LAN"/&gt;
       
    56 <br>            &lt;component name="Graphics Effects"/&gt;
       
    57 </div>    &lt;/item&gt;
       
    58 <br>    &lt;item label="Depre&amp;#ad;cated" value="#my-pattern"&gt;
       
    59 <div class="indent">          &lt;component name="Word Engine"/&gt;
       
    60 </div>    &lt;/item&gt;
       
    61 </div>&lt;/values&gt;</code></div><p>
       
    62 		The following figure shows the generated legend for the preceding
       
    63 		patterns values XML:
       
    64 	  </p><div class="Figure">
       
    65 		<p class="Image"><a name=""><img src="patternsxmloutput.gif" alt=""  border="0"/></a></p><br clear="all"/>
       
    66 
       
    67 	  </div></div>
       
    68 <div class="section">
       
    69 <h2>See also</h2><p>
       
    70 		<a href="Colours-XMLFile.html#coloursxml">Colors Values XML File</a> 
       
    71 	  </p><p>
       
    72 		<a href="Border-Shapes-XMLFile.html#bordershapesxml">Border Shapes Values XML File</a> 
       
    73 	  </p><p>
       
    74 		<a href="Border-Style-XMLFile.html#borderstylesxml">Border Styles Values XML File</a> 
       
    75 	  </p></div>
       
    76 </div>
       
    77 
       
    78                                     </div>
       
    79                                     <div id="printer_copyright">
       
    80                                         <div id="printer_copyright_padding">
       
    81                                             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>
       
    82                                         </div>
       
    83                                     </div>
       
    84                                 </div>
       
    85 			    </div>
       
    86 			</div>
       
    87 		    </td>
       
    88 		</tr>
       
    89 	    </table>
       
    90 	    <div style="clear: both"></div>
       
    91 	</div>
       
    92 	<div id="includedFooter">
       
    93 	    <div id="devnet_footer">
       
    94             <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>
       
    95             <div id='BUILD_VERSION'></div>
       
    96 	    </div>
       
    97 	</div>
       
    98 </body>
       
    99 </html>