<html xmlns="http://www.w3.org/TR/REC-html40" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:v="urn:schemas-microsoft-com:vml">
   <head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta>
      <title>Paper SED [[sedNumber]]</title><style>
                            p.MsoHeader, li.MsoHeader, div.MsoHeader
                            {margin-right:0cm;
                            mso-margin-top-alt:auto;
                            mso-margin-bottom-alt:auto;
                            margin-left:0cm;
                            mso-pagination:widow-orphan;
                            tab-stops:center 216.0pt right 432.0pt;
                            font-size:10.0pt;
                            font-family:Times;}
                            @page Section1
                            {size:595.0pt 842.0pt;
                            margin:72.0pt 90.0pt 72.0pt 90.0pt;
                            mso-header-margin:35.4pt;
                            mso-footer-margin:35.4pt;
                            mso-paper-source:0;}
                            div.Section1
                            {page:Section1;}                            
                        </style></head>
	<body>
		<table width="100%">
			<tr>
				<td>[[translate("Administrative Commission")]]
					<br/><br/>
					[[translate("for the Coordination")]]
					<br/><br/>
					[[translate("of Social Security Systems")]]
				</td>
				<td align="right" style="padding:.75pt .75pt .75pt .75pt">
					<p class="MsoHeader" align="right" style="text-align:right"><span style="border:solid windowtext .5pt;padding:0cm;font-size:20.0pt"><b>[[sedNumber]]</b></span></p>
					<img width="102" height="68" src="_forms/paper/img/image001.png" v:shapes="_x0000_i1025"/>
				</td>
			</tr>
		</table>
		<br/><br/>
		<div class="Section1">
			 <table width="100%">
				<tr><td colspan="2">
					  <p align="center"><span style="font-size:14.0pt"><b>[[sedTitle]]</b></span></p>
				</td></tr>
				<tr><td colspan="2">
					  <p align="center"><i>[[article]]</i></p>
				</td></tr>
			</table>
			<div met_repeat='recursive.attributes'>
				<!-- SECTION PREFIX: the table header-->
				<!-- first we add two empty lines -->
				<div met_if="level == 1 && !isEndEvent">
				<br/><br/>
				</div>
				 <!-- here we open the table tag (notice the met_start_tag); this is open for any level==1 item -->
				 <table met_start_tag met_if="!isEndEvent && level==1" frame="border" style="border-collapse:collapse;&#xA;mso-table-layout-alt:fixed;border:none;mso-border-alt:solid" width="100%">
					<colgroup>
					   <col width="300"></col>
					   <col width="400"></col>
					   <col width="100"></col>
					</colgroup>
					<tr met_if='!isEndEvent && paperIfConstraint != null'>
						<td colspan="2" style="text-align:center">[[paperIfConstraint]]</td>
					</tr> 
					<tr><td colspan="2">		
						<p><b>[[headingNumber]] [[label]]<sup met_if='xnoteDistinct != null'>[[xnoteIndex]]</sup></b><sup></sup><b met_if="isMandatory">*</b>
							<span met_if='isRepetition' style="color:red;font-size:18.0pt;font-family:'Wingdings 3'">P</span>
						</p>
					</td></tr>
				</table>
				<tr met_if = '!isEndEvent && isChoice'>
					<td colspan="2">[[headingNumber]] [[choiceLabel]]</td>
                </tr>			
				<tr met_if="!isEndEvent && level > 1">
					<!-- choice: each choice has a "check-box" row that prefix the extension content, instead of a title row (see next comment) -->
					<td met_if='isChoice' colspan="2">
						<p><span style="font-family:Wingdings;mso-char-type:symbol;mso-symbol-font-family:Wingdings">
							<span style="mso-char-type:symbol;mso-symbol-font-family:Wingdings">q</span>
						</span>[[label]]<sup met_if='xnoteDistinct != null'>[[xnoteIndex]]</sup><i met_if="isMandatory">*</i></p>
					</td>
					<tr met_if='!isEndEvent && paperIfConstraint != null'>
						<td colspan="2" style="text-align:center">[[paperIfConstraint]]</td>
					</tr> 
					<!-- here we deal with the title-row of the SUB-section (but we exclude variant extensions)-->
					<td met_if='isSection && !isChoice && level > 1' colspan="2">
						<p>[[headingNumber]] [[label]]<sup met_if='xnoteDistinct != null'>[[xnoteIndex]]</sup><i met_if="isMandatory">*</i>
							<span met_if='isRepetition' style="color:red;font-size:18.0pt;font-family:'Wingdings 3'">P</span>
						</p>
					</td>
					
					<!-- The label of a regular field: note that large enums are dealt as if they were a regular field, whereas the 
					small enums will be treated differently, somewhere else, being expanded in check boxes lists -->
			<td met_if='isField && !isEnum || paperTypeLabel'>
				<p>
					[[headingNumber]] [[label]]<sup met_if='xnoteDistinct != null'>[[xnoteIndex]]</sup><i
						met_if="isMandatory">*</i> <span met_if='isRepetition'
						style="color: red; font-size: 18.0pt; font-family: 'Wingdings 3'">P</span>
				</p>
			</td>
			<!--  for simple text fields (without restrictions)  we use one empty cell-->
					<td met_if='isField && !isEnum && htmlType != "boolean" && maxLength == 0'>
					
					</td>
					
					<!-- The place holder for the value of the regular field, if this is a text value (meaning it has a max length)-->
					<td met_if='isField && maxLength > 0'>
						[ [[maxLength]] ]
					</td>
					<!-- The world countries -->
					<td met_if='paperTypeLabel'>[ [[paperTypeLabel]] ]</td>
					<!-- checkboxes = enums with a single variable that will be either true or false: note the "q" letter that is rendered as checkbox by the specified font -->
					<td met_if='htmlType == "boolean"'>
						<p align="left">
							<span style="font-family:Wingdings;mso-char-type:symbol;mso-symbol-font-family:Wingdings"><span style="mso-char-type:symbol;mso-symbol-font-family:Wingdings">q</span></span>
							[[booleanLabel]]
						</p>
					</td>
				</tr>
				<!-- small enumerations - the header -->
				<tr met_if='isEnum && !paperTypeLabel'>
					<td colspan="2">		
						<p>[[headingNumber]] [[label]]<sup met_if='xnoteDistinct != null'>[[xnoteIndex]]</sup><i met_if="isMandatory">*</i>
							<span met_if='isRepetition' style="color:red;font-size:18.0pt;font-family:'Wingdings 3'">P</span>
						</p>
					</td>
				</tr>				
				<!-- small enumerations - the rows with the checkboxes -->
				<tr met_if='isEnum && !paperTypeLabel' met_repeat="enumCodes">
					<td><p align="right"><span style="font-family:Wingdings;mso-char-type:symbol;mso-symbol-font-family:Wingdings"><span style="mso-char-type:symbol;mso-symbol-font-family:Wingdings">q</span></span></p></td>
					<td><p>[[label]]</p></td>
				</tr>
				<!-- SECTION SUFFIX - CLOSING THE PREFIX TABLE -->
				<table met_end_tag met_if="isEndEvent && level==1"/>
				<!-- SECTION SUFFIX - FOR ENUMS, they do not have isEndEvent, yet they can be at 1-level which means they will start the table as a regular section here we close it as an enum-->
				<table met_end_tag met_if="isEnum && level==1"/>
			</div>
		</div>
   </body>
</html>