|
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"><?xml version="1.0"?><br><values> |
|
49 <div class="indent"> <item label="Reference Compo#xad;nent" value="striped-diag-up"> |
|
50 <div class="indent"> <component name="OMAP 1623"/> |
|
51 <br> <component name="SD Card Driver"/> |
|
52 <br> … |
|
53 </div> </item> |
|
54 <br> <item label="New in 9.4" value="radial-grad"> |
|
55 <div class="indent"> <component name="Wireless LAN"/> |
|
56 <br> <component name="Graphics Effects"/> |
|
57 </div> </item> |
|
58 <br> <item label="Depre&#ad;cated" value="#my-pattern"> |
|
59 <div class="indent"> <component name="Word Engine"/> |
|
60 </div> </item> |
|
61 </div></values></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 ©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 ©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> |