Project

General

Profile

« Previous | Next » 

Revision 1445

migration 3.6.003

View differences:

png_web@txtRes.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/png/png.model"/>
4
	<sm:axis code="txtRes"/>
5
	<sm:content>
6
		<sm:WCaptionBlock position="bottom" commonClass="txtRes">
7
			<sm:caption>
8
				<sm:title>
9
					<sm:binaryTitle/>
10
				</sm:title>
11
				<sm:chooseOnBinary>
12
					<sm:binary outputType="image">
13
						<sm:imageTransform scale="0.35"/>
14
					</sm:binary>
15
					<sm:when widthOver="350" heightOver="350">
16
						<sm:WLink commonClass="zoom">
17
							<sm:label>
18
								<sm:fixedString>[Zoom...]</sm:fixedString>
19
							</sm:label>
20
							<sm:labelTitle>
21
								<sm:fixedString>Zoom...</sm:fixedString>
22
							</sm:labelTitle>
23
							<sm:link target="newWindow" windowName="zoom">
24
								<sm:position>
25
									<sm:centerScreen/>
26
								</sm:position>
27
								<sm:windowFeatures scrollbars="no"/>
28
								<sm:WImage>
29
									<sm:binaryUrl>
30
										<sm:imageTransform maxWidth="900" maxHeight="700" outputType="PNG"/>
31
									</sm:binaryUrl>
32
									<sm:size/>
33
								</sm:WImage>
34
							</sm:link>
35
						</sm:WLink>
36
					</sm:when>
37
				</sm:chooseOnBinary>
38
				<sm:callBinaryMeta axis="info"/>
39
			</sm:caption>
40
			<sm:content>
41
				<sm:WImage>
42
					<sm:binaryUrl>
43
						<sm:imageTransform scale="0.35" maxWidth="300" maxHeight="300" outputType="PNG"/>
44
					</sm:binaryUrl>
45
					<sm:size/>
46
				</sm:WImage>
47
			</sm:content>
48
		</sm:WCaptionBlock>
49
	</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/png/png.model"/>
3
	<sm:axis code="txtRes"/>
4
	<sm:content>
5
		<sm:WCaptionBlock widgetClass="txtRes" position="bottom">
6
			<sm:caption>
7
				<sm:title>
8
					<sm:binaryTitle/>
9
				</sm:title>
10
				<sm:chooseOnBinary>
11
					<sm:binary>
12
						<sm:imageSize><sm:scale ratio="0.35"/></sm:imageSize>
13
					</sm:binary>
14
					<sm:whenSize widthOver="350" heightOver="350">
15
						<sm:WLink widgetClass="zoom">
16
							<sm:label>
17
								<sm:fixedString>[Zoom...]</sm:fixedString>
18
							</sm:label>
19
							<sm:labelTitle>
20
								<sm:fixedString>Zoom...</sm:fixedString>
21
							</sm:labelTitle>
22
							<sm:link target="newWindow" windowName="zoom">
23
								<sm:position>
24
									<sm:centerScreen/>
25
								</sm:position>
26
								<sm:windowFeatures scrollbars="no"/>
27
								<sm:WImage>
28
									<sm:binaryUrl>
29
										<sm:imageTransform><sm:sizeBounds maxWidthInPx="900" maxHeightInPx="700"/><sm:outputPNG/></sm:imageTransform>
30
									</sm:binaryUrl>
31
									<sm:declareSize/>
32
								</sm:WImage>
33
							</sm:link>
34
						</sm:WLink>
35
					</sm:whenSize>
36
				</sm:chooseOnBinary>
37
				<sm:callBinaryMeta axis="info"/>
38
			</sm:caption>
39
			<sm:content>
40
				<sm:WImage>
41
					<sm:binaryUrl>
42
						<sm:imageTransform><sm:scale ratio="0.35"/><sm:sizeBounds maxWidthInPx="300" maxHeightInPx="300"/><sm:outputPNG/></sm:imageTransform>
43
					</sm:binaryUrl>
44
					<sm:declareSize/>
45
				</sm:WImage>
46
			</sm:content>
47
		</sm:WCaptionBlock>
48
	</sm:content>
50 49
</sm:binaryXhtmlTransf>

Also available in: Unified diff