Project

General

Profile

« Previous | Next » 

Revision 1445

migration 3.6.003

View differences:

jpeg.transf
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/jpg/jpeg.model"/>
4
	<sm:content>
5
		<sm:Widget sc:refUri="/academic/gen/pres/transf/binaries/wdgt/imgInFlow.uiwidget">
6
			<sm:xhtmlContentZone key="img">
7
				<sm:WImage>
8
					<sm:binaryUrl>
9
						<sm:imageTransform scale="0.45" maxWidth="1200" maxHeight="800" outputType="JPEG"/>
10
					</sm:binaryUrl>
11
					<sm:size/>
12
				</sm:WImage>
13
			</sm:xhtmlContentZone>
14
			<sm:xhtmlContentZone key="imgOthers">
15
				<sm:chooseOnBinary>
16
					<sm:binary outputType="image">
17
						<sm:imageTransform scale="0.45" maxWidth="1200" maxHeight="800" outputType="JPEG"/>
18
					</sm:binary>
19
					<sm:when widthOver="250" heightOver="167">
20
						<sm:WImage>
21
							<sm:binaryUrl>
22
								<sm:imageTransform minWidth="250" maxWidth="250" maxHeight="167" outputType="JPEG"/>
23
							</sm:binaryUrl>
24
							<sm:size/>
25
						</sm:WImage>
26
						<sm:chooseOnBinary>
27
							<sm:binary outputType="image">
28
								<sm:imageTransform scale="0.45" maxWidth="1200" maxHeight="800" outputType="JPEG"/>
29
							</sm:binary>
30
							<sm:when widthOver="400" heightOver="267">
31
								<sm:WImage>
32
									<sm:binaryUrl>
33
										<sm:imageTransform minWidth="400" maxWidth="400" maxHeight="267" outputType="JPEG"/>
34
									</sm:binaryUrl>
35
									<sm:size/>
36
								</sm:WImage>
37
								<sm:chooseOnBinary>
38
									<sm:binary outputType="image">
39
										<sm:imageTransform scale="0.45" maxWidth="1200" maxHeight="800" outputType="JPEG"/>
40
									</sm:binary>
41
									<sm:when widthOver="600" heightOver="400">
42
										<sm:WImage>
43
											<sm:binaryUrl>
44
												<sm:imageTransform minWidth="600" maxWidth="600" maxHeight="400" outputType="JPEG"/>
45
											</sm:binaryUrl>
46
											<sm:size/>
47
										</sm:WImage>
48
										<sm:chooseOnBinary>
49
											<sm:binary outputType="image">
50
												<sm:imageTransform scale="0.45" maxWidth="1200" maxHeight="800" outputType="JPEG"/>
51
											</sm:binary>
52
											<sm:when widthOver="800" heightOver="533">
53
												<sm:WImage>
54
													<sm:binaryUrl>
55
														<sm:imageTransform minWidth="800" maxWidth="800" maxHeight="533" outputType="JPEG"/>
56
													</sm:binaryUrl>
57
													<sm:size/>
58
												</sm:WImage>
59
												<sm:chooseOnBinary>
60
													<sm:binary outputType="image">
61
														<sm:imageTransform scale="0.45" maxWidth="1200" maxHeight="800" outputType="JPEG"/>
62
													</sm:binary>
63
													<sm:when widthOver="1000" heightOver="667">
64
														<sm:WImage>
65
															<sm:binaryUrl>
66
																<sm:imageTransform minWidth="1000" maxWidth="1000" maxHeight="667" outputType="JPEG"/>
67
															</sm:binaryUrl>
68
															<sm:size/>
69
														</sm:WImage>
70
													</sm:when>
71
												</sm:chooseOnBinary>
72
											</sm:when>
73
										</sm:chooseOnBinary>
74
									</sm:when>
75
								</sm:chooseOnBinary>
76
							</sm:when>
77
						</sm:chooseOnBinary>
78
					</sm:when>
79
				</sm:chooseOnBinary>
80
			</sm:xhtmlContentZone>
81
			<sm:xhtmlContentZone key="caption">
82
				<sm:WFreeBlock>
83
					<sm:title>
84
						<sm:binaryTitle/>
85
					</sm:title>
86
				</sm:WFreeBlock>
87
			</sm:xhtmlContentZone>
88
		</sm:Widget>
89
	</sm:content>
1
<?xml version="1.0" encoding="UTF-8"?><sm:binaryXhtmlTransf xmlns:sm="http://www.utc.fr/ics/scenari/v3/modeling" xmlns:sc="http://www.utc.fr/ics/scenari/v3/core">
2
	<sm:model sc:refUri="/binaries/jpg/jpeg.model"/>
3
	<sm:content>
4
		<sm:Widget sc:refUri="/academic/gen/pres/transf/binaries/wdgt/imgInFlow.uiwidget">
5
			<sm:xhtmlContentZone key="img">
6
				<sm:WImage>
7
					<sm:binaryUrl>
8
						<sm:imageTransform><sm:scale ratio="0.45"/><sm:sizeBounds maxWidthInPx="1200" maxHeightInPx="800"/><sm:outputJPEG/></sm:imageTransform>
9
					</sm:binaryUrl>
10
					<sm:declareSize/>
11
				</sm:WImage>
12
			</sm:xhtmlContentZone>
13
			<sm:xhtmlContentZone key="imgOthers">
14
				<sm:chooseOnBinary>
15
					<sm:binary>
16
						<sm:imageSize><sm:scale ratio="0.45"/><sm:sizeBounds maxWidthInPx="1200" maxHeightInPx="800"/></sm:imageSize>
17
					</sm:binary>
18
					<sm:whenSize widthOver="250" heightOver="167">
19
						<sm:WImage>
20
							<sm:binaryUrl>
21
								<sm:imageTransform><sm:sizeBounds minWidthInPx="250" maxWidthInPx="250" maxHeightInPx="167"/><sm:outputJPEG/></sm:imageTransform>
22
							</sm:binaryUrl>
23
							<sm:declareSize/>
24
						</sm:WImage>
25
						<sm:chooseOnBinary>
26
							<sm:binary>
27
								<sm:imageSize><sm:scale ratio="0.45"/><sm:sizeBounds maxWidthInPx="1200" maxHeightInPx="800"/></sm:imageSize>
28
							</sm:binary>
29
							<sm:whenSize widthOver="400" heightOver="267">
30
								<sm:WImage>
31
									<sm:binaryUrl>
32
										<sm:imageTransform><sm:sizeBounds minWidthInPx="400" maxWidthInPx="400" maxHeightInPx="267"/><sm:outputJPEG/></sm:imageTransform>
33
									</sm:binaryUrl>
34
									<sm:declareSize/>
35
								</sm:WImage>
36
								<sm:chooseOnBinary>
37
									<sm:binary>
38
										<sm:imageSize><sm:scale ratio="0.45"/><sm:sizeBounds maxWidthInPx="1200" maxHeightInPx="800"/></sm:imageSize>
39
									</sm:binary>
40
									<sm:whenSize widthOver="600" heightOver="400">
41
										<sm:WImage>
42
											<sm:binaryUrl>
43
												<sm:imageTransform><sm:sizeBounds minWidthInPx="600" maxWidthInPx="600" maxHeightInPx="400"/><sm:outputJPEG/></sm:imageTransform>
44
											</sm:binaryUrl>
45
											<sm:declareSize/>
46
										</sm:WImage>
47
										<sm:chooseOnBinary>
48
											<sm:binary>
49
												<sm:imageSize><sm:scale ratio="0.45"/><sm:sizeBounds maxWidthInPx="1200" maxHeightInPx="800"/></sm:imageSize>
50
											</sm:binary>
51
											<sm:whenSize widthOver="800" heightOver="533">
52
												<sm:WImage>
53
													<sm:binaryUrl>
54
														<sm:imageTransform><sm:sizeBounds minWidthInPx="800" maxWidthInPx="800" maxHeightInPx="533"/><sm:outputJPEG/></sm:imageTransform>
55
													</sm:binaryUrl>
56
													<sm:declareSize/>
57
												</sm:WImage>
58
												<sm:chooseOnBinary>
59
													<sm:binary>
60
														<sm:imageSize><sm:scale ratio="0.45"/><sm:sizeBounds maxWidthInPx="1200" maxHeightInPx="800"/></sm:imageSize>
61
													</sm:binary>
62
													<sm:whenSize widthOver="1000" heightOver="667">
63
														<sm:WImage>
64
															<sm:binaryUrl>
65
																<sm:imageTransform><sm:sizeBounds minWidthInPx="1000" maxWidthInPx="1000" maxHeightInPx="667"/><sm:outputJPEG/></sm:imageTransform>
66
															</sm:binaryUrl>
67
															<sm:declareSize/>
68
														</sm:WImage>
69
													</sm:whenSize>
70
												</sm:chooseOnBinary>
71
											</sm:whenSize>
72
										</sm:chooseOnBinary>
73
									</sm:whenSize>
74
								</sm:chooseOnBinary>
75
							</sm:whenSize>
76
						</sm:chooseOnBinary>
77
					</sm:whenSize>
78
				</sm:chooseOnBinary>
79
			</sm:xhtmlContentZone>
80
			<sm:xhtmlContentZone key="caption">
81
				<sm:WFreeBlock>
82
					<sm:title>
83
						<sm:binaryTitle/>
84
					</sm:title>
85
				</sm:WFreeBlock>
86
			</sm:xhtmlContentZone>
87
		</sm:Widget>
88
	</sm:content>
90 89
</sm:binaryXhtmlTransf>

Also available in: Unified diff