|
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>Colors 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="coloursxml"></a><h1>Colors Values XML File</h1><div class="section"> |
|
27 <h2>Purpose</h2><p> |
|
28 The colors values XML file is used to define the colors of components. |
|
29 The valid value that can be specified for a color can be any CSS colors type. |
|
30 For example, it can be <code>#cc00aa</code>, <code>rgb(255,18,200)</code>, or |
|
31 <code>blue</code>. |
|
32 </p><p> |
|
33 For information about how to define new values colors, see |
|
34 <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>. |
|
35 </p><p> |
|
36 <b>Note</b>: For more information, see |
|
37 <a href="http://www.w3.org/TR/CSS2/">CSS2 Specification</a>. |
|
38 </p></div> |
|
39 <div class="section"> |
|
40 <h2>Syntax</h2> |
|
41 <p>The Colors files use the common syntax for all <a href="Values-XML-index.html">Values XML files</a>. </p> |
|
42 <p>If a system model item has more than one color applied, the colour will appear as bands across the system model item. |
|
43 </p> |
|
44 |
|
45 </div> |
|
46 <div class="section"> |
|
47 <h2>Example</h2> |
|
48 <div class="Example"><code class="xml"><?xml version="1.0"?> |
|
49 <br><values default="grey" label="Technology Streams"> |
|
50 <div class="indent"><item label="Base Services" value="#8f8fbd"> |
|
51 <div class="indent"> <m ref="apputils"/> |
|
52 <br> <m ref="cafdrm"/> |
|
53 </div> </item> |
|
54 <br> <item label="Persistent Data Services" value="#993366"> |
|
55 <div class="indent"> <m ref="sql"/> |
|
56 <br> <m ref="store"/> |
|
57 <br> <m ref="dbms"/> |
|
58 </div> </item> |
|
59 </div></values></code></div> |
|
60 <p> |
|
61 The following figure shows the generated legend for the preceding |
|
62 colors values XML: |
|
63 </p><div class="Figure"> |
|
64 <p class="Image"><img src="Colorxmloutput.gif" alt=""/></p><br clear="all"/> |
|
65 |
|
66 </div></div> |
|
67 <div class="section"> |
|
68 <h2>See also</h2><p> |
|
69 <a href="Patterns-XMLFile.html#patternsxml">Patterns Values XML File</a> |
|
70 </p><p> |
|
71 <a href="Border-Shapes-XMLFile.html#bordershapesxml">Border Shapes Values XML File</a> |
|
72 </p><p> |
|
73 <a href="Border-Style-XMLFile.html#borderstylesxml">Border Styles Values XML File</a> |
|
74 </p></div> |
|
75 </div> |
|
76 |
|
77 </div> |
|
78 <div id="printer_copyright"> |
|
79 <div id="printer_copyright_padding"> |
|
80 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> |
|
81 </div> |
|
82 </div> |
|
83 </div> |
|
84 </div> |
|
85 </div> |
|
86 </td> |
|
87 </tr> |
|
88 </table> |
|
89 <div style="clear: both"></div> |
|
90 </div> |
|
91 <div id="includedFooter"> |
|
92 <div id="devnet_footer"> |
|
93 <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> |
|
94 <div id='BUILD_VERSION'></div> |
|
95 </div> |
|
96 </div> |
|
97 </body> |
|
98 </html> |