Project

General

Profile

root / branches / sc50-v2.0 / sources2-0-011 / academic / gen / paper / transf / Re / res.transf @ 322

1
<?xml version="1.0"?>
2
<sm:compositionOdtTransf xmlns:sm="http://www.utc.fr/ics/scenari/v3/modeling" xmlns:sc="http://www.utc.fr/ics/scenari/v3/core">
3
	<sm:model sc:refUri="/academic/model/Re/res.model"/>
4
	<!--V initiale avec :
5
- appel du widget "/academic/gen/quadra/paperLight/transf/widg/bkQuote.odwidget" modifié-->
6
	<sm:content>
7
		<sm:inDataOrder>
8
			<sm:for codes="txt txtRes">
9
				<sm:callSubModel/>
10
			</sm:for>
11
			<sm:for codes="listing">
12
				<!--paragraphe vide utile pour créer un leger espace avant le listing (la section ne possède pas de space before dans OO...)-->
13
				<sm:WParagraph globalStyle="spaceBeforeKeep" display="always"/>
14
				<sm:callSubModel/>
15
			</sm:for>
16
			<sm:for codes="bkquote">
17
				<sm:WParagraph globalStyle="spaceBeforeKeep" display="always"/>
18
				<sm:Widget sc:refUri="/academic/gen/paper/widg/bkQuote.odwidget">
19
					<sm:odContentZone key="content">
20
						<sm:callSubModel/>
21
						<sm:WParagraph globalStyle="spaceAfter" display="always"/>
22
					</sm:odContentZone>
23
				</sm:Widget>
24
				<sm:WParagraph globalStyle="spaceAfter" display="always"/>
25
			</sm:for>
26
			<sm:for codes="res int">
27
				<sm:choose>
28
					<sm:when xpath="//op:instructionM">
29
						<sm:callPartMeta/>
30
					</sm:when>
31
				</sm:choose>
32
				<sm:choose>
33
					<!--Présence de ressource alternative-->
34
					<sm:when xpath="string-length(computeStrAgent(concat(computeStrAgent(concat($vContentAgt, '/metaAgt')), '_Aalt', '/getContent')))>0">
35
						<!--# Crédit-->
36
						<sm:dataBlock category="cprRes">
37
							<sm:blockId>
38
								<sm:subModelId/>
39
							</sm:blockId>
40
							<sm:label>
41
								<sm:title>
42
									<sm:subModelTitle/>
43
								</sm:title>
44
							</sm:label>
45
							<sm:data>
46
								<sm:callSubModelMeta axis="credit"/>
47
							</sm:data>
48
						</sm:dataBlock>
49
						<!--# Ressource-->
50
						<sm:dataBlock category="res">
51
							<sm:overrideContentDeclaration>
52
								<sm:callBlockData/>
53
							</sm:overrideContentDeclaration>
54
							<sm:blockId>
55
								<sm:subModelId/>
56
							</sm:blockId>
57
							<sm:label>
58
								<sm:title>
59
									<sm:subModelTitle/>
60
								</sm:title>
61
							</sm:label>
62
							<sm:data>
63
								<sm:callSubModelMeta axis="alt"/>
64
							</sm:data>
65
						</sm:dataBlock>
66
					</sm:when>
67
					<sm:when xpath="typeAgent(normalize-space($vContentAgt))='op_gallery'">
68
						<sm:Widget sc:refUri="/academic/gen/paper/widg/res.odwidget">
69
							<sm:odContentZone key="title">
70
								<sm:title>
71
									<sm:subModelTitle/>
72
								</sm:title>
73
							</sm:odContentZone>
74
							<sm:odContentZone key="content">
75
								<sm:callSubModel/>
76
							</sm:odContentZone>
77
						</sm:Widget>
78
					</sm:when>
79
					<sm:otherwise>
80
						<!--# Crédit-->
81
						<sm:dataBlock category="cprRes">
82
							<sm:blockId>
83
								<sm:subModelId/>
84
							</sm:blockId>
85
							<sm:label>
86
								<sm:title>
87
									<sm:subModelTitle/>
88
								</sm:title>
89
							</sm:label>
90
							<sm:data>
91
								<sm:callSubModelMeta axis="credit"/>
92
							</sm:data>
93
						</sm:dataBlock>
94
						<!--# Ressource-->
95
						<sm:dataBlock category="res">
96
							<sm:overrideContentDeclaration>
97
								<sm:callBlockData/>
98
							</sm:overrideContentDeclaration>
99
							<sm:blockId>
100
								<sm:subModelId/>
101
							</sm:blockId>
102
							<sm:label>
103
								<sm:title>
104
									<sm:subModelTitle/>
105
								</sm:title>
106
							</sm:label>
107
							<sm:data>
108
								<sm:Widget sc:refUri="/academic/gen/paper/widg/res.odwidget">
109
									<sm:odContentZone key="title">
110
										<sm:title>
111
											<sm:subModelTitle format="shortTitleText"/>
112
											<sm:fixedTitle value=" "/>
113
										</sm:title>
114
									</sm:odContentZone>
115
									<sm:odContentZone key="content">
116
										<sm:callSubModel/>
117
									</sm:odContentZone>
118
								</sm:Widget>
119
							</sm:data>
120
						</sm:dataBlock>
121
					</sm:otherwise>
122
				</sm:choose>
123
			</sm:for>
124
			<sm:for codes="filtered">
125
				<sm:choose>
126
					<sm:when sc:refUri="/academic/gen/filters/defaultStandard/include.cond">
127
						<sm:callSubModel/>
128
					</sm:when>
129
				</sm:choose>
130
			</sm:for>
131
		</sm:inDataOrder>
132
	</sm:content>
133
</sm:compositionOdtTransf>
(15-15/33)