Project

General

Profile

root / branches / sc40 / model / sources / binaries / png / png_sld.transf @ 2319

1
<?xml version="1.0" encoding="UTF-8"?>
2
<sm:binaryXhtmlTransf xmlns:sc="http://www.utc.fr/ics/scenari/v3/core" xmlns:sm="http://www.utc.fr/ics/scenari/v3/modeling">
3
	<sm:model sc:refUri="/binaries/png/png.model"/>
4
	<sm:fullTitleText>
5
		<sm:returnFirst>
6
			<sm:callBinaryMeta/>
7
			<sm:binaryFileName format="trimExtension"/>
8
		</sm:returnFirst>
9
	</sm:fullTitleText>
10
	<sm:shortTitleText>
11
		<sm:returnFirst>
12
			<sm:callBinaryMeta/>
13
			<sm:binaryFileName format="trimExtension"/>
14
		</sm:returnFirst>
15
	</sm:shortTitleText>
16
	<sm:content>
17
		<sm:Widget sc:refUri="/binaries/_sld/wdt/imgInFlow.uiwidget">
18
			<sm:xhtmlContentZone key="img">
19
				<sm:WImage widgetClass="imgBase">
20
					<sm:binaryUrl>
21
						<sm:imageTransform>
22
							<sm:scaleFromStandardCharSize targetFontSizeInPt="24">
23
								<sm:ifNoStandardCharSize>
24
									<sm:scale ratio="1.5"/>
25
								</sm:ifNoStandardCharSize>
26
							</sm:scaleFromStandardCharSize>
27
							<sm:sizeBounds maxWidthInPx="800" maxHeightInPx="533"/>
28
							<sm:outputPNG/>
29
						</sm:imageTransform>
30
					</sm:binaryUrl>
31
					<sm:declareSize/>
32
				</sm:WImage>
33
			</sm:xhtmlContentZone>
34
			<sm:xhtmlContentZone key="imgOthers">
35
				<sm:chooseOnBinary>
36
					<sm:binary>
37
						<sm:imageSize>
38
							<sm:scaleFromStandardCharSize targetFontSizeInPt="24">
39
								<sm:ifNoStandardCharSize>
40
									<sm:scale ratio="1.5"/>
41
								</sm:ifNoStandardCharSize>
42
							</sm:scaleFromStandardCharSize>
43
						</sm:imageSize>
44
					</sm:binary>
45
					<sm:whenSize widthOver="250" heightOver="167">
46
						<sm:WImage>
47
							<sm:binaryUrl>
48
								<sm:imageTransform>
49
									<sm:scaleFromStandardCharSize targetFontSizeInPt="24">
50
										<sm:ifNoStandardCharSize>
51
											<sm:scale ratio="1.5"/>
52
										</sm:ifNoStandardCharSize>
53
									</sm:scaleFromStandardCharSize>
54
									<sm:sizeBounds minWidthInPx="250" maxWidthInPx="250" maxHeightInPx="167"/>
55
									<sm:outputPNG/>
56
								</sm:imageTransform>
57
							</sm:binaryUrl>
58
							<sm:declareSize/>
59
						</sm:WImage>
60
						<sm:chooseOnBinary>
61
							<sm:binary>
62
								<sm:imageSize>
63
									<sm:scaleFromStandardCharSize targetFontSizeInPt="24">
64
										<sm:ifNoStandardCharSize>
65
											<sm:scale ratio="1.5"/>
66
										</sm:ifNoStandardCharSize>
67
									</sm:scaleFromStandardCharSize>
68
								</sm:imageSize>
69
							</sm:binary>
70
							<sm:whenSize widthOver="400" heightOver="267">
71
								<sm:WImage>
72
									<sm:binaryUrl>
73
										<sm:imageTransform>
74
											<sm:scaleFromStandardCharSize targetFontSizeInPt="24">
75
												<sm:ifNoStandardCharSize>
76
													<sm:scale ratio="1.5"/>
77
												</sm:ifNoStandardCharSize>
78
											</sm:scaleFromStandardCharSize>
79
											<sm:sizeBounds minWidthInPx="400" maxWidthInPx="400" maxHeightInPx="267"/>
80
											<sm:outputPNG/>
81
										</sm:imageTransform>
82
									</sm:binaryUrl>
83
									<sm:declareSize/>
84
								</sm:WImage>
85
								<sm:chooseOnBinary>
86
									<sm:binary>
87
										<sm:imageSize>
88
											<sm:scaleFromStandardCharSize targetFontSizeInPt="24">
89
												<sm:ifNoStandardCharSize>
90
													<sm:scale ratio="1.5"/>
91
												</sm:ifNoStandardCharSize>
92
											</sm:scaleFromStandardCharSize>
93
										</sm:imageSize>
94
									</sm:binary>
95
									<sm:whenSize widthOver="600" heightOver="400">
96
										<sm:WImage>
97
											<sm:binaryUrl>
98
												<sm:imageTransform>
99
													<sm:scaleFromStandardCharSize targetFontSizeInPt="24">
100
														<sm:ifNoStandardCharSize>
101
															<sm:scale ratio="1.5"/>
102
														</sm:ifNoStandardCharSize>
103
													</sm:scaleFromStandardCharSize>
104
													<sm:sizeBounds minWidthInPx="600" maxWidthInPx="600" maxHeightInPx="400"/>
105
													<sm:outputPNG/>
106
												</sm:imageTransform>
107
											</sm:binaryUrl>
108
											<sm:declareSize/>
109
										</sm:WImage>
110
										<sm:chooseOnBinary>
111
											<sm:binary>
112
												<sm:imageSize>
113
													<sm:scaleFromStandardCharSize targetFontSizeInPt="24">
114
														<sm:ifNoStandardCharSize>
115
															<sm:scale ratio="1.5"/>
116
														</sm:ifNoStandardCharSize>
117
													</sm:scaleFromStandardCharSize>
118
												</sm:imageSize>
119
											</sm:binary>
120
											<sm:whenSize widthOver="800" heightOver="533">
121
												<sm:WImage>
122
													<sm:binaryUrl>
123
														<sm:imageTransform>
124
															<sm:scaleFromStandardCharSize targetFontSizeInPt="24">
125
																<sm:ifNoStandardCharSize>
126
																	<sm:scale ratio="1.5"/>
127
																</sm:ifNoStandardCharSize>
128
															</sm:scaleFromStandardCharSize>
129
															<sm:sizeBounds minWidthInPx="800" maxWidthInPx="800" maxHeightInPx="533"/>
130
															<sm:outputPNG/>
131
														</sm:imageTransform>
132
													</sm:binaryUrl>
133
													<sm:declareSize/>
134
												</sm:WImage>
135
												<sm:chooseOnBinary>
136
													<sm:binary>
137
														<sm:imageSize>
138
															<sm:scaleFromStandardCharSize targetFontSizeInPt="24">
139
																<sm:ifNoStandardCharSize>
140
																	<sm:scale ratio="1.5"/>
141
																</sm:ifNoStandardCharSize>
142
															</sm:scaleFromStandardCharSize>
143
														</sm:imageSize>
144
													</sm:binary>
145
													<sm:whenSize widthOver="1000" heightOver="667">
146
														<sm:WImage>
147
															<sm:binaryUrl>
148
																<sm:imageTransform>
149
																	<sm:scaleFromStandardCharSize targetFontSizeInPt="24">
150
																		<sm:ifNoStandardCharSize>
151
																			<sm:scale ratio="1.5"/>
152
																		</sm:ifNoStandardCharSize>
153
																	</sm:scaleFromStandardCharSize>
154
																	<sm:sizeBounds minWidthInPx="1000" maxWidthInPx="1000" maxHeightInPx="667"/>
155
																	<sm:outputPNG/>
156
																</sm:imageTransform>
157
															</sm:binaryUrl>
158
															<sm:declareSize/>
159
														</sm:WImage>
160
														<sm:chooseOnBinary>
161
															<sm:binary>
162
																<sm:imageSize>
163
																	<sm:scaleFromStandardCharSize targetFontSizeInPt="24">
164
																		<sm:ifNoStandardCharSize>
165
																			<sm:scale ratio="1.5"/>
166
																		</sm:ifNoStandardCharSize>
167
																	</sm:scaleFromStandardCharSize>
168
																</sm:imageSize>
169
															</sm:binary>
170
															<sm:whenSize widthOver="1200" heightOver="800">
171
																<sm:WImage>
172
																	<sm:binaryUrl>
173
																		<sm:imageTransform>
174
																			<sm:scaleFromStandardCharSize targetFontSizeInPt="24">
175
																				<sm:ifNoStandardCharSize>
176
																					<sm:scale ratio="1.5"/>
177
																				</sm:ifNoStandardCharSize>
178
																			</sm:scaleFromStandardCharSize>
179
																			<sm:sizeBounds maxWidthInPx="1200" maxHeightInPx="800"/>
180
																			<sm:outputPNG/>
181
																		</sm:imageTransform>
182
																	</sm:binaryUrl>
183
																	<sm:declareSize/>
184
																</sm:WImage>
185
															</sm:whenSize>
186
														</sm:chooseOnBinary>
187
													</sm:whenSize>
188
												</sm:chooseOnBinary>
189
											</sm:whenSize>
190
										</sm:chooseOnBinary>
191
									</sm:whenSize>
192
								</sm:chooseOnBinary>
193
							</sm:whenSize>
194
						</sm:chooseOnBinary>
195
					</sm:whenSize>
196
				</sm:chooseOnBinary>
197
			</sm:xhtmlContentZone>
198
			<sm:xhtmlContentZone key="caption">
199
				<sm:WFreeBlock>
200
					<sm:title>
201
						<sm:binaryMeta/>
202
					</sm:title>
203
				</sm:WFreeBlock>
204
			</sm:xhtmlContentZone>
205
		</sm:Widget>
206
	</sm:content>
207
</sm:binaryXhtmlTransf>
(5-5/18)