Project

General

Profile

root / branches / sc50 / model / sources / _common / wui / wdl / _common / _xText.wdl @ 76

1
<?xml version="1.0"?>
2
<sm:textWdl xmlns:sm="http://www.utc.fr/ics/scenari/v3/modeling" xmlns:sc="http://www.utc.fr/ics/scenari/v3/core">
3
	<sm:anyTextPrim/>
4
	<sm:editPoints>
5
		<sm:root>
6
			<sm:htmlStyle>
7
				<sm:entryStyle key="border" value="1px solid var(--border-color) !important"/>
8
				<sm:entryStyle key="padding" value="0 0.2rem"/>
9
				<sm:entryStyle key="background" value="var(--edit-bgcolor)"/>
10
				<sm:entryStyle key="border-radius" value="3px"/>
11
			</sm:htmlStyle>
12
			<sm:freeHtmlStyle xml:space="preserve">
13
txt-root {
14
    padding: 0;
15
}
16

    
17
txt-li&gt;txt-para {
18
    margin-top: 0;
19
    margin-bottom: 0;
20
}</sm:freeHtmlStyle>
21
		</sm:root>
22
		<sm:blockTag tag="para">
23
			<sm:htmlStyle>
24
				<sm:entryStyle key="margin-top" value="4px"/>
25
				<sm:entryStyle key="margin-bottom" value="8px"/>
26
				<sm:entryStyle key="line-height" value="1.45em"/>
27
			</sm:htmlStyle>
28
		</sm:blockTag>
29
		<sm:blockTag tag="itemizedList">
30
			<sm:behaviors>
31
				<sm:keyBinding char="*"/>
32
			</sm:behaviors>
33
			<sm:subBlockTag tag="listItem">
34
				<sm:htmlStyle>
35
					<sm:entryStyle key="margin-left" value="1.2em"/>
36
				</sm:htmlStyle>
37
			</sm:subBlockTag>
38
			<sm:htmlStyle>
39
				<sm:entryStyle key="margin-left" value="15px"/>
40
				<sm:entryStyle key="list-style" value="disc"/>
41
			</sm:htmlStyle>
42
		</sm:blockTag>
43
		<sm:blockTag tag="orderedList">
44
			<sm:behaviors>
45
				<sm:keyBinding char="1"/>
46
			</sm:behaviors>
47
			<sm:subBlockTag tag="listItem">
48
				<sm:htmlStyle>
49
					<sm:entryStyle key="margin-left" value="1.2em"/>
50
				</sm:htmlStyle>
51
			</sm:subBlockTag>
52
			<sm:htmlStyle>
53
				<sm:entryStyle key="margin-left" value="12px"/>
54
				<sm:entryStyle key="list-style" value="decimal"/>
55
			</sm:htmlStyle>
56
		</sm:blockTag>
57
		<sm:blockTag tag="table">
58
			<sm:subBlockTag tag="cell">
59
				<sm:htmlStyle>
60
					<sm:entryStyle key="border" value="1px solid var(--edit-color)"/>
61
					<sm:entryStyle key="color" value="var(--edit-color)"/>
62
				</sm:htmlStyle>
63
			</sm:subBlockTag>
64
			<sm:subBlockTag tag="cell" role="word">
65
				<sm:htmlStyle>
66
					<sm:entryStyle key="text-align" value="center"/>
67
				</sm:htmlStyle>
68
			</sm:subBlockTag>
69
			<sm:subBlockTag tag="cell" role="num">
70
				<sm:htmlStyle>
71
					<sm:entryStyle key="text-align" value="right"/>
72
				</sm:htmlStyle>
73
			</sm:subBlockTag>
74
			<sm:subBlockTag tag="column" role="total">
75
				<sm:htmlStyle>
76
					<sm:entryStyle key="background-color" value="var(--inv-alt1-bgcolor)"/>
77
					<sm:entryStyle key="color" value="var(--inv-alt2-color)"/>
78
					<sm:entryStyle key="text-align" value="center"/>
79
				</sm:htmlStyle>
80
			</sm:subBlockTag>
81
			<sm:subBlockTag tag="row" role="total">
82
				<sm:htmlStyle>
83
					<sm:entryStyle key="background-color" value="var(--inv-alt1-bgcolor)"/>
84
					<sm:entryStyle key="color" value="var(--inv-alt2-color)"/>
85
					<sm:entryStyle key="text-align" value="center"/>
86
				</sm:htmlStyle>
87
			</sm:subBlockTag>
88
			<sm:subBlockTag tag="row" role="head">
89
				<sm:htmlStyle>
90
					<sm:entryStyle key="font-weight" value="bold"/>
91
					<sm:entryStyle key="background-color" value="var(--inv-alt1-bgcolor)"/>
92
					<sm:entryStyle key="color" value="var(--inv-alt2-color)"/>
93
					<sm:entryStyle key="text-align" value="center"/>
94
				</sm:htmlStyle>
95
			</sm:subBlockTag>
96
			<sm:subBlockTag tag="caption">
97
				<sm:htmlStyle>
98
					<sm:entryStyle key="margin-bottom" value="0.2em"/>
99
					<sm:entryStyle key="border-bottom" value="1px solid"/>
100
					<sm:entryStyle key="width" value="99.5%"/>
101
					<sm:entryStyle key="color" value="gray"/>
102
					<sm:entryStyle key="text-align" value="center"/>
103
				</sm:htmlStyle>
104
			</sm:subBlockTag>
105
		</sm:blockTag>
106
		<sm:blockTag tag="table" role="layout">
107
			<sm:subBlockTag tag="cell">
108
				<sm:htmlStyle>
109
					<sm:entryStyle key="border-color" value="silver"/>
110
					<sm:entryStyle key="border-style" value="dotted"/>
111
				</sm:htmlStyle>
112
			</sm:subBlockTag>
113
		</sm:blockTag>
114
		<sm:blockTag tag="extBlock" role="img">
115
			<sm:htmlStyle>
116
				<sm:entryStyle key="display" value="flex !important"/>
117
				<sm:entryStyle key="justify-content" value="center"/>
118
			</sm:htmlStyle>
119
		</sm:blockTag>
120
		<sm:blockTag tag="extBlock" role="anim">
121
			<sm:htmlStyle>
122
				<sm:entryStyle key="display" value="flex !important"/>
123
				<sm:entryStyle key="justify-content" value="center"/>
124
			</sm:htmlStyle>
125
		</sm:blockTag>
126
		<sm:inlineTag tag="phrase" role="url">
127
			<sm:behaviors>
128
				<sm:keyBinding char="U"/>
129
			</sm:behaviors>
130
			<sm:toolbar>
131
				<sm:button refMenuId="mnInline" sortKey="0" group="inlineText"/>
132
			</sm:toolbar>
133
			<sm:htmlStyle>
134
				<sm:entryStyle key="text-decoration" value="underline"/>
135
				<sm:entryStyle key="color" value="#c4672a"/>
136
			</sm:htmlStyle>
137
			<sm:handler>
138
				<sm:addAttribute name="title">
139
					<sm:dynamicString>
140
						<sm:freeMetaSelect querySelector="url"/>
141
					</sm:dynamicString>
142
				</sm:addAttribute>
143
			</sm:handler>
144
		</sm:inlineTag>
145
		<sm:inlineTag tag="phrase" role="special">
146
			<sm:behaviors>
147
				<sm:keyBinding char="P"/>
148
			</sm:behaviors>
149
			<sm:toolbar>
150
				<sm:button sortKey="20" group="inlTags">
151
					<sm:icon sc:refUri="/_common/wui/_res/_ico/specific.svg"/>
152
				</sm:button>
153
			</sm:toolbar>
154
			<sm:htmlStyle>
155
				<sm:entryStyle key="font-style" value="italic"/>
156
			</sm:htmlStyle>
157
			<sm:handler>
158
				<sm:addAttribute name="lang">
159
					<sm:dynamicString>
160
						<sm:freeMetaSelect querySelector="code"/>
161
					</sm:dynamicString>
162
				</sm:addAttribute>
163
				<sm:addAttribute name="title">
164
					<sm:dynamicString>
165
						<sm:freeMetaSelect querySelector="code" prefix=";Langue : " defaultValue=";Langue non spécifiée"/>
166
					</sm:dynamicString>
167
				</sm:addAttribute>
168
			</sm:handler>
169
		</sm:inlineTag>
170
		<sm:inlineTag tag="phrase" role="quote">
171
			<sm:behaviors>
172
				<sm:keyBinding char="I"/>
173
			</sm:behaviors>
174
			<sm:toolbar>
175
				<sm:button refMenuId="mnInline" sortKey="10" group="inlineText"/>
176
			</sm:toolbar>
177
			<sm:htmlStyle>
178
				<sm:entryStyle key="font-family" value="&quot;Times New Roman&quot;, Times, serif"/>
179
			</sm:htmlStyle>
180
			<sm:htmlStyle pseudoClass="before">
181
				<sm:entryStyle key="font-weight" value="normal"/>
182
				<sm:entryStyle key="content" value="&quot;\&quot;&quot;"/>
183
				<sm:entryStyle key="color" value="grey"/>
184
			</sm:htmlStyle>
185
			<sm:htmlStyle pseudoClass="after">
186
				<sm:entryStyle key="font-weight" value="normal"/>
187
				<sm:entryStyle key="content" value="&quot;\&quot;&quot;"/>
188
				<sm:entryStyle key="color" value="grey"/>
189
			</sm:htmlStyle>
190
		</sm:inlineTag>
191
		<sm:inlineTag tag="inlineStyle" role="emphasis">
192
			<sm:behaviors>
193
				<sm:keyBinding char="E"/>
194
			</sm:behaviors>
195
			<sm:toolbar>
196
				<sm:button sortKey="10" group="inlTags">
197
					<sm:icon sc:refUri="/_common/wui/_res/_ico/emphasis.svg"/>
198
				</sm:button>
199
			</sm:toolbar>
200
			<sm:htmlStyle>
201
				<sm:entryStyle key="font-weight" value="bold"/>
202
			</sm:htmlStyle>
203
		</sm:inlineTag>
204
		<sm:inlineTag tag="inlineStyle" role="sup">
205
			<sm:behaviors>
206
				<sm:keyBinding char="?key=keyBinding-sup;&lt;"/>
207
			</sm:behaviors>
208
			<sm:toolbar>
209
				<sm:button refMenuId="mnInline" sortKey="20" group="inlineText"/>
210
			</sm:toolbar>
211
			<sm:htmlStyle>
212
				<sm:entryStyle key="font-size" value="70%"/>
213
				<sm:entryStyle key="vertical-align" value="4px"/>
214
			</sm:htmlStyle>
215
		</sm:inlineTag>
216
		<sm:inlineTag tag="inlineStyle" role="sub">
217
			<sm:behaviors>
218
				<sm:keyBinding char="?key=keyBinding-sub;_"/>
219
			</sm:behaviors>
220
			<sm:toolbar>
221
				<sm:button refMenuId="mnInline" sortKey="30" group="inlineText"/>
222
			</sm:toolbar>
223
			<sm:htmlStyle>
224
				<sm:entryStyle key="font-size" value="70%"/>
225
				<sm:entryStyle key="vertical-align" value="-4px"/>
226
			</sm:htmlStyle>
227
		</sm:inlineTag>
228
		<sm:inlineTag tag="uLink" role="def">
229
			<sm:toolbar>
230
				<sm:button refMenuId="mnInline" sortKey="40" group="inlineRef"/>
231
			</sm:toolbar>
232
			<sm:htmlStyle>
233
				<sm:entryStyle key="text-decoration" value="underline"/>
234
				<sm:entryStyle key="color" value="#8f8f8f"/>
235
			</sm:htmlStyle>
236
		</sm:inlineTag>
237
		<sm:inlineTag tag="uLink" role="doc">
238
			<sm:toolbar>
239
				<sm:button refMenuId="mnInline" sortKey="50" group="inlineRef"/>
240
			</sm:toolbar>
241
			<sm:htmlStyle>
242
				<sm:entryStyle key="text-decoration" value="underline"/>
243
				<sm:entryStyle key="color" value="#336666"/>
244
			</sm:htmlStyle>
245
		</sm:inlineTag>
246
		<sm:inlineTag tag="uLink" role="ref">
247
			<sm:toolbar>
248
				<sm:button refMenuId="mnInline" sortKey="60" group="inlineRef"/>
249
			</sm:toolbar>
250
			<sm:htmlStyle>
251
				<sm:entryStyle key="text-decoration" value="underline"/>
252
				<sm:entryStyle key="color" value="#50863b"/>
253
			</sm:htmlStyle>
254
		</sm:inlineTag>
255
		<sm:inlineTag tag="inlineImg" role="ico">
256
			<sm:toolbar>
257
				<sm:button refMenuId="mnInline" sortKey="70" group="inlineImg"/>
258
			</sm:toolbar>
259
			<sm:htmlStyle>
260
				<sm:entryStyle key="display" value="inline-block"/>
261
			</sm:htmlStyle>
262
		</sm:inlineTag>
263
		<sm:inlineTag tag="textLeaf" role="title">
264
			<sm:htmlStyle>
265
				<sm:entryStyle key="font-style" value="italic"/>
266
				<sm:entryStyle key="font-family" value="serif"/>
267
			</sm:htmlStyle>
268
		</sm:inlineTag>
269
		<sm:inlineTag tag="textLeaf" role="auth">
270
			<sm:htmlStyle>
271
				<sm:entryStyle key="color" value="#304375"/>
272
				<sm:entryStyle key="background-color" value="#dde1ed"/>
273
			</sm:htmlStyle>
274
		</sm:inlineTag>
275
		<sm:inlineTag tag="textLeaf" role="date">
276
			<sm:htmlStyle>
277
				<sm:entryStyle key="color" value="#883300"/>
278
			</sm:htmlStyle>
279
		</sm:inlineTag>
280
		<sm:inlineTag tag="textLeaf" role="ed">
281
			<sm:htmlStyle>
282
				<sm:entryStyle key="color" value="#424242"/>
283
				<sm:entryStyle key="font-weight" value="bold"/>
284
			</sm:htmlStyle>
285
		</sm:inlineTag>
286
		<sm:inlineTag tag="inlineStyle" role="loc">
287
			<sm:htmlStyle>
288
				<sm:entryStyle key="font-weight" value="bold"/>
289
			</sm:htmlStyle>
290
			<sm:htmlStyle pseudoClass="after">
291
				<sm:entryStyle key="content" value="' : '"/>
292
			</sm:htmlStyle>
293
		</sm:inlineTag>
294
		<sm:inlineTag tag="inlineStyle" role="desc">
295
			<sm:htmlStyle>
296
				<sm:entryStyle key="font-style" value="italic"/>
297
			</sm:htmlStyle>
298
			<sm:htmlStyle pseudoClass="before">
299
				<sm:entryStyle key="content" value="'['"/>
300
			</sm:htmlStyle>
301
			<sm:htmlStyle pseudoClass="after">
302
				<sm:entryStyle key="content" value="']'"/>
303
			</sm:htmlStyle>
304
		</sm:inlineTag>
305
	</sm:editPoints>
306
</sm:textWdl>
(2-2/2)