<?xml version="1.0" encoding="UTF-8"?>
<Report>
<!-- $Id$ -->
	<Description>Prints a pedigree chart in portrait mode</Description>
	<Title><var var="i18n::translate('Pedigree Chart')" /> - <var var="i18n::translate('Portrait')" /></Title>
	<Input name="pid" lookup="INDI" type="text" default=""><var var="i18n::translate('Enter Individual ID')" /></Input>
	<Input name="pageSize" type="select" default="A4" options="letter=>i18n::translate_c('paper size','Letter')|A3=>i18n::translate_c('paper size', 'A3')|A4=>i18n::translate_c('paper size','A4')|legal=>i18n::translate_c('paper size','Legal')"><var var="i18n::translate('Page size')" /></Input>
	<Input name="fonts" type="select" default="dejavusans" options="arialunicid0=>i18n::translate_c('font name', 'Arial')|dejavusans=>i18n::translate_c('font name', 'DejaVu')|helvetica=>i18n::translate_c('font name', 'Helvetica')"><var var="i18n::translate('Font')"/></Input>

	<Style name="header" font="$fonts" size="18" />
	<Style name="label1" font="$fonts" size="9" />
	<Style name="name" font="$fonts" size="9" />
	<Style name="text" font="$fonts" size="7" />
	<Style name="genby" font="$fonts" size="8" />
	<!-- Date text -->
	<Style name="date" font="$fonts" size="8"/>
	
	<!-- Horizontal Number/Name/Fact text -->
	<SetVar name="number_1_2_3" value="18" />
	<SetVar name="name_1_2_3" value="32" />
	<SetVar name="number_4_to_7" value="161" />
	<SetVar name="name_4_to_7" value="175" />
	<SetVar name="number_8_to_9" value="299" />
	<SetVar name="number_10_to_15" value="293" />
	<SetVar name="name_8_to_15" value="312" />
	<SetVar name="number_16_to_31" value="444" />
	<SetVar name="name_16_to_31" value="462" />
	
	<!-- Truncate variables -->
	<SetVar name="truncatename" value="25" />
	<SetVar name="trunc_123" value="28" />
	<SetVar name="trunc_123_place" value="33" />
	<SetVar name="trunc_4_to_7_place" value="33" />
	<SetVar name="trunc_place" value="40" />
	<SetVar name="trunc_dateplace" value="33" />

	<Doc pageSize="$pageSize" leftmargin="1" rightmargin="1">
		<Header>
			<Cell height="20" newline="1" left="20" style="header"><var var="i18n::translate('Pedigree Chart')" /></Cell>
			<Cell align="rightrtl" height="10" newline="1" style="date"><Now /></Cell>
		</Header>
		<Body>
			<Line x1="29" y1="370" x2="190" y2="370" />
			<Line x1="29" y1="370" x2="29" y2="570" />
			<Line x1="29" y1="570" x2="172" y2="570" />
			<Line x1="29" y1="220" x2="29" y2="370" />
			<Line x1="29" y1="220" x2="172" y2="220" />

			<Line x1="172" y1="130" x2="172" y2="290" />
			<Line x1="172" y1="450" x2="172" y2="610" />
			<Line x1="172" y1="130" x2="310" y2="130" />
			<Line x1="172" y1="290" x2="310" y2="290" />
			<Line x1="172" y1="450" x2="310" y2="450" />
			<Line x1="172" y1="610" x2="310" y2="610" />

			<Gedcom id="$pid">
			<TextBox padding="0" width="160" height="10" align="left" left="$number_1_2_3" top="360" reseth="1">
				<Text style="label1">1.</Text>
			</TextBox>
			<TextBox padding="0" width="160" height="10" align="left" left="$name_1_2_3" top="360" reseth="1">
				<Text style="name"><GetPersonName id="$pid" truncate="$trunc_place" /></Text>
			</TextBox>
			<TextBox padding="0" width="160" height="10" align="left" left="$name_1_2_3" top="372" reseth="1">
				<Text style="text"><varLetter var="BIRT" /> <GedcomValue tag="BIRT:DATE" truncate="$trunc_place" />
					<br /><varLetter var="BIRT" /> <GedcomValue tag="BIRT:PLAC" truncate="$trunc_place" />
					<Gedcom id="@FAMS">
						<br /><varLetter var="MARR" /> <GedcomValue tag="MARR:DATE" truncate="$trunc_place" />
						<br /><varLetter var="MARR" /> <GedcomValue tag="MARR:PLAC" truncate="$trunc_place" />
					</Gedcom>
					<Gedcom id="DEAT">
						<br /><varLetter var="DEAT" /> <GedcomValue tag="DEAT:DATE" truncate="$trunc_place" />
						<br /><varLetter var="DEAT" /> <GedcomValue tag="DEAT:PLAC" truncate="$trunc_place" />
					</Gedcom>
				</Text>
			</TextBox>

			<TextBox padding="0" width="130" height="10" align="left" left="$number_1_2_3" top="210" reseth="1">
				<Text style="label1">2.</Text>
			</TextBox>
			<TextBox padding="0" width="137" height="10" align="left" left="$name_1_2_3" top="210" reseth="1">
				<Text style="name"><Gedcom id="@FAMC"><GetPersonName id="@HUSB" truncate="$trunc_123" /></Gedcom></Text>
			</TextBox>
			<TextBox padding="0" width="130" height="10" align="left" left="$name_1_2_3" top="222" reseth="1">
				<Gedcom id="@FAMC:@HUSB">
					<Text style="text"><varLetter var="BIRT" /> <GedcomValue tag="BIRT:DATE" truncate="$trunc_123_place" />
						<br /><varLetter var="BIRT" /> <GedcomValue tag="BIRT:PLAC" truncate="$trunc_123_place" />
						<Gedcom id="@FAMS">
							<br /><varLetter var="MARR" /> <GedcomValue tag="MARR:DATE" truncate="$trunc_123_place" />
							<br /><varLetter var="MARR" /> <GedcomValue tag="MARR:PLAC" truncate="$trunc_123_place" />
						</Gedcom>
						<Gedcom id="DEAT">
							<br /><varLetter var="DEAT" /> <GedcomValue tag="DEAT:DATE" truncate="$trunc_123_place" />
							<br /><varLetter var="DEAT" /> <GedcomValue tag="DEAT:PLAC" truncate="$trunc_123_place" />
						</Gedcom>
					</Text>
				</Gedcom>
			</TextBox>

			<TextBox padding="0" width="130" height="10" align="left" left="$number_1_2_3" top="560" reseth="1">
				<Text style="label1">3.</Text>
			</TextBox>
			<TextBox padding="0" width="137" height="10" align="left" left="$name_1_2_3" top="560" reseth="1">
				<Text style="name"><Gedcom id="@FAMC"><GetPersonName id="@WIFE" truncate="$trunc_123" /></Gedcom></Text>
			</TextBox>
			<TextBox padding="0" width="130" height="10" align="left" left="$name_1_2_3" top="572" reseth="1">
				<Gedcom id="@FAMC:@WIFE">
					<Text style="text"><varLetter var="BIRT" /> <GedcomValue tag="BIRT:DATE" truncate="$trunc_123_place" />
						<br /><varLetter var="BIRT" /> <GedcomValue tag="BIRT:PLAC" truncate="$trunc_123_place" />
						<Gedcom id="DEAT">
							<br /><varLetter var="DEAT" /> <GedcomValue tag="DEAT:DATE" truncate="$trunc_123_place" />
							<br /><varLetter var="DEAT" /> <GedcomValue tag="DEAT:PLAC" truncate="$trunc_123_place" />
						</Gedcom>
					</Text>
				</Gedcom>
			</TextBox>

			<TextBox padding="0" width="122" height="10" align="left" left="$number_4_to_7" top="120" reseth="1">
				<Text style="label1">4.</Text>
			</TextBox>
			<TextBox padding="0" width="130" height="10" align="left" left="$name_4_to_7" top="120" reseth="1">
				<Text style="name"><Gedcom id="@FAMC:@HUSB:@FAMC"><GetPersonName id="@HUSB" truncate="$truncatename" /></Gedcom></Text>
			</TextBox>
			<TextBox padding="0" width="122" height="10" align="left" left="$name_4_to_7" top="132" reseth="1">
				<Gedcom id="@FAMC:@HUSB:@FAMC:@HUSB">
					<Text style="text"><varLetter var="BIRT" /> <GedcomValue tag="BIRT:DATE" truncate="$trunc_4_to_7_place" />
						<br /><varLetter var="BIRT" /> <GedcomValue tag="BIRT:PLAC" truncate="$trunc_4_to_7_place" />
						<Gedcom id="@FAMS">
							<br /><varLetter var="MARR" /> <GedcomValue tag="MARR:DATE" truncate="$trunc_4_to_7_place" />
							<br /><varLetter var="MARR" /> <GedcomValue tag="MARR:PLAC" truncate="$trunc_4_to_7_place" />
						</Gedcom>
						<Gedcom id="DEAT">
							<br /><varLetter var="DEAT" /> <GedcomValue tag="DEAT:DATE" truncate="$trunc_4_to_7_place" />
							<br /><varLetter var="DEAT" /> <GedcomValue tag="DEAT:PLAC" truncate="$trunc_4_to_7_place" />
						</Gedcom>
					</Text>
				</Gedcom>
			</TextBox>

			<TextBox padding="0" width="122" height="10" align="left" left="$number_4_to_7" top="280" reseth="1">
				<Text style="label1">5.</Text>
			</TextBox>
			<TextBox padding="0" width="130" height="10" align="left" left="$name_4_to_7" top="280" reseth="1">
				<Text style="name"><Gedcom id="@FAMC:@HUSB:@FAMC"><GetPersonName id="@WIFE" truncate="$truncatename" /></Gedcom></Text>
			</TextBox>
			<TextBox padding="0" width="122" height="10" align="left" left="$name_4_to_7" top="292" reseth="1">
				<Gedcom id="@FAMC:@HUSB:@FAMC:@WIFE">
					<Text style="text"><varLetter var="BIRT" /> <GedcomValue tag="BIRT:DATE" truncate="$trunc_4_to_7_place" />
						<br /><varLetter var="BIRT" /> <GedcomValue tag="BIRT:PLAC" truncate="$trunc_4_to_7_place" />
						<Gedcom id="DEAT">
							<br /><varLetter var="DEAT" /> <GedcomValue tag="DEAT:DATE" truncate="$trunc_4_to_7_place" />
							<br /><varLetter var="DEAT" /> <GedcomValue tag="DEAT:PLAC" truncate="$trunc_4_to_7_place" />
						</Gedcom>
					</Text>
				</Gedcom>
			</TextBox>


			<TextBox padding="0" width="122" height="10" align="left" left="$number_4_to_7" top="440" reseth="1">
				<Text style="label1">6.</Text>
			</TextBox>
			<TextBox padding="0" width="130" height="10" align="left" left="$name_4_to_7" top="440" reseth="1">
				<Text style="name"><Gedcom id="@FAMC:@WIFE:@FAMC"><GetPersonName id="@HUSB" truncate="$truncatename" /></Gedcom></Text>
			</TextBox>
			<TextBox padding="0" width="122" height="10" align="left" left="$name_4_to_7" top="452" reseth="1">
				<Gedcom id="@FAMC:@WIFE:@FAMC:@HUSB">
					<Text style="text"><varLetter var="BIRT" /> <GedcomValue tag="BIRT:DATE" truncate="$trunc_4_to_7_place" />
						<br /><varLetter var="BIRT" /> <GedcomValue tag="BIRT:PLAC" truncate="$trunc_4_to_7_place" />
						<Gedcom id="@FAMS">
							<br /><varLetter var="MARR" /> <GedcomValue tag="MARR:DATE" truncate="$trunc_4_to_7_place" />
							<br /><varLetter var="MARR" /> <GedcomValue tag="MARR:PLAC" truncate="$trunc_4_to_7_place" />
						</Gedcom>
						<Gedcom id="DEAT">
							<br /><varLetter var="DEAT" /> <GedcomValue tag="DEAT:DATE" truncate="$trunc_4_to_7_place" />
							<br /><varLetter var="DEAT" /> <GedcomValue tag="DEAT:PLAC" truncate="$trunc_4_to_7_place" />
						</Gedcom>
					</Text>
				</Gedcom>
			</TextBox>

			<TextBox padding="0" width="122" height="10" align="left" left="$number_4_to_7" top="600" reseth="1">
				<Text style="label1">7.</Text>
			</TextBox>
			<TextBox padding="0" width="130" height="10" align="left" left="$name_4_to_7" top="600" reseth="1">
				<Text style="name"><Gedcom id="@FAMC:@WIFE:@FAMC"><GetPersonName id="@WIFE" truncate="$truncatename" /></Gedcom></Text>
			</TextBox>
			<TextBox padding="0" width="122" height="10" align="left" left="$name_4_to_7" top="612" reseth="1">
				<Gedcom id="@FAMC:@WIFE:@FAMC:@WIFE">
					<Text style="text"><varLetter var="BIRT" /> <GedcomValue tag="BIRT:DATE" truncate="$trunc_4_to_7_place" />
						<br /><varLetter var="BIRT" /> <GedcomValue tag="BIRT:PLAC" truncate="$trunc_4_to_7_place" />
						<Gedcom id="DEAT">
							<br /><varLetter var="DEAT" /> <GedcomValue tag="DEAT:DATE" truncate="$trunc_4_to_7_place" />
							<br /><varLetter var="DEAT" /> <GedcomValue tag="DEAT:PLAC" truncate="$trunc_4_to_7_place" />
						</Gedcom>
					</Text>
				</Gedcom>
			</TextBox>



			<Line x1="310" y1="90" x2="310" y2="170" />
			<Line x1="310" y1="90" x2="460" y2="90" />
			<Line x1="310" y1="170" x2="460" y2="170" />
			<TextBox padding="0" width="130" height="10" align="left" left="$number_8_to_9" top="80" reseth="1">
				<Text style="label1">8.</Text>
			</TextBox>
			<TextBox padding="0" width="140" height="10" align="left" left="$name_8_to_15" top="80" reseth="1">
				<Text style="name"><Gedcom id="@FAMC:@HUSB:@FAMC:@HUSB:@FAMC"><GetPersonName id="@HUSB" truncate="$truncatename" /></Gedcom></Text>
			</TextBox>
			<TextBox padding="0" width="130" height="10" align="left" left="$name_8_to_15" top="92" reseth="1">
				<Gedcom id="@FAMC:@HUSB:@FAMC:@HUSB:@FAMC:@HUSB">
					<Text style="text"><varLetter var="BIRT" /> <GedcomValue tag="BIRT:DATE" truncate="$trunc_dateplace" />
						<br /><varLetter var="BIRT" /> <GedcomValue tag="BIRT:PLAC" truncate="$trunc_dateplace" />
						<Gedcom id="@FAMS">
							<br /><varLetter var="MARR" /> <GedcomValue tag="MARR:DATE" truncate="$trunc_dateplace" />
							<br /><varLetter var="MARR" /> <GedcomValue tag="MARR:PLAC" truncate="$trunc_dateplace" />
						</Gedcom>
						<Gedcom id="DEAT">
							<br /><varLetter var="DEAT" /> <GedcomValue tag="DEAT:DATE" truncate="$trunc_dateplace" />
							<br /><varLetter var="DEAT" /> <GedcomValue tag="DEAT:PLAC" truncate="$trunc_dateplace" />
						</Gedcom>
					</Text>
				</Gedcom>
			</TextBox>

			<TextBox padding="0" width="130" height="10" align="left" left="$number_8_to_9" top="160" reseth="1">
				<Text style="label1">9.</Text>
			</TextBox>
			<TextBox padding="0" width="140" height="10" align="left" left="$name_8_to_15" top="160" reseth="1">
				<Text style="name"><Gedcom id="@FAMC:@HUSB:@FAMC:@HUSB:@FAMC"><GetPersonName id="@WIFE" truncate="$truncatename" /></Gedcom></Text>
			</TextBox>
			<TextBox padding="0" width="130" height="10" align="left" left="$name_8_to_15" top="172" reseth="1">
				<Gedcom id="@FAMC:@HUSB:@FAMC:@HUSB:@FAMC:@WIFE">
					<Text style="text"><varLetter var="BIRT" /> <GedcomValue tag="BIRT:DATE" truncate="$trunc_dateplace" />
						<br /><varLetter var="BIRT" /> <GedcomValue tag="BIRT:PLAC" truncate="$trunc_dateplace" />
						<Gedcom id="DEAT">
							<br /><varLetter var="DEAT" /> <GedcomValue tag="DEAT:DATE" truncate="$trunc_dateplace" />
							<br /><varLetter var="DEAT" /> <GedcomValue tag="DEAT:PLAC" truncate="$trunc_dateplace" />
						</Gedcom>
					</Text>
				</Gedcom>
			</TextBox>

			<Line x1="310" y1="250" x2="310" y2="330" />
			<Line x1="310" y1="250" x2="460" y2="250" />
			<Line x1="310" y1="330" x2="460" y2="330" />
			<TextBox padding="0" width="130" height="10" align="left" left="$number_10_to_15" top="240" reseth="1">
				<Text style="label1">10.</Text>
			</TextBox>
			<TextBox padding="0" width="140" height="10" align="left" left="$name_8_to_15" top="240" reseth="1">
				<Text style="name"><Gedcom id="@FAMC:@HUSB:@FAMC:@WIFE:@FAMC"><GetPersonName id="@HUSB" truncate="$truncatename" /></Gedcom></Text>
			</TextBox>
			<TextBox padding="0" width="130" height="10" align="left" left="$name_8_to_15" top="252" reseth="1">
				<Gedcom id="@FAMC:@HUSB:@FAMC:@WIFE:@FAMC:@HUSB">
					<Text style="text"><varLetter var="BIRT" /> <GedcomValue tag="BIRT:DATE" truncate="$trunc_dateplace" />
						<br /><varLetter var="BIRT" /> <GedcomValue tag="BIRT:PLAC" truncate="$trunc_dateplace" />
						<Gedcom id="@FAMS">
							<br /><varLetter var="MARR" /> <GedcomValue tag="MARR:DATE" truncate="$trunc_dateplace" />
							<br /><varLetter var="MARR" /> <GedcomValue tag="MARR:PLAC" truncate="$trunc_dateplace" />
						</Gedcom>
						<Gedcom id="DEAT">
							<br /><varLetter var="DEAT" /> <GedcomValue tag="DEAT:DATE" truncate="$trunc_dateplace" />
							<br /><varLetter var="DEAT" /> <GedcomValue tag="DEAT:PLAC" truncate="$trunc_dateplace" />
						</Gedcom>
					</Text>
				</Gedcom>
			</TextBox>

			<TextBox padding="0" width="130" height="10" align="left" left="$number_10_to_15" top="320" reseth="1">
				<Text style="label1">11.</Text>
			</TextBox>
			<TextBox padding="0" width="140" height="10" align="left" left="$name_8_to_15" top="320" reseth="1">
				<Text style="name"><Gedcom id="@FAMC:@HUSB:@FAMC:@WIFE:@FAMC"><GetPersonName id="@WIFE" truncate="$truncatename" /></Gedcom></Text>
			</TextBox>
			<TextBox padding="0" width="130" height="10" align="left" left="$name_8_to_15" top="332" reseth="1">
				<Gedcom id="@FAMC:@HUSB:@FAMC:@WIFE:@FAMC:@WIFE">
					<Text style="text"><varLetter var="BIRT" /> <GedcomValue tag="BIRT:DATE" truncate="$trunc_dateplace" />
						<br /><varLetter var="BIRT" /> <GedcomValue tag="BIRT:PLAC" truncate="$trunc_dateplace" />
						<Gedcom id="DEAT">
							<br /><varLetter var="DEAT" /> <GedcomValue tag="DEAT:DATE" truncate="$trunc_dateplace" />
							<br /><varLetter var="DEAT" /> <GedcomValue tag="DEAT:PLAC" truncate="$trunc_dateplace" />
						</Gedcom>
					</Text>
				</Gedcom>
			</TextBox>

			<Line x1="310" y1="410" x2="310" y2="490" />
			<Line x1="310" y1="410" x2="460" y2="410" />
			<Line x1="310" y1="490" x2="460" y2="490" />
			<TextBox padding="0" width="130" height="10" align="left" left="$number_10_to_15" top="400" reseth="1">
				<Text style="label1">12.</Text>
			</TextBox>
			<TextBox padding="0" width="140" height="10" align="left" left="$name_8_to_15" top="400" reseth="1">
				<Text style="name"><Gedcom id="@FAMC:@WIFE:@FAMC:@HUSB:@FAMC"><GetPersonName id="@HUSB" truncate="$truncatename" /></Gedcom></Text>
			</TextBox>
			<TextBox padding="0" width="130" height="10" align="left" left="$name_8_to_15" top="412" reseth="1">
				<Gedcom id="@FAMC:@WIFE:@FAMC:@HUSB:@FAMC:@HUSB">
					<Text style="text"><varLetter var="BIRT" /> <GedcomValue tag="BIRT:DATE" truncate="$trunc_dateplace" />
						<br /><varLetter var="BIRT" /> <GedcomValue tag="BIRT:PLAC" truncate="$trunc_dateplace" />
						<Gedcom id="@FAMS">
							<br /><varLetter var="MARR" /> <GedcomValue tag="MARR:DATE" truncate="$trunc_dateplace" />
							<br /><varLetter var="MARR" /> <GedcomValue tag="MARR:PLAC" truncate="$trunc_dateplace" />
						</Gedcom>
						<Gedcom id="DEAT">
							<br /><varLetter var="DEAT" /> <GedcomValue tag="DEAT:DATE" truncate="$trunc_dateplace" />
							<br /><varLetter var="DEAT" /> <GedcomValue tag="DEAT:PLAC" truncate="$trunc_dateplace" />
						</Gedcom>
					</Text>
				</Gedcom>
			</TextBox>

			<TextBox padding="0" width="130" height="10" align="left" left="$number_10_to_15" top="480" reseth="1">
				<Text style="label1">13.</Text>
			</TextBox>
			<TextBox padding="0" width="140" height="10" align="left" left="$name_8_to_15" top="480" reseth="1">
				<Text style="name"><Gedcom id="@FAMC:@WIFE:@FAMC:@HUSB:@FAMC"><GetPersonName id="@WIFE" truncate="$truncatename" /></Gedcom></Text>
			</TextBox>
			<TextBox padding="0" width="130" height="10" align="left" left="$name_8_to_15" top="492" reseth="1">
				<Gedcom id="@FAMC:@WIFE:@FAMC:@HUSB:@FAMC:@WIFE">
					<Text style="text"><varLetter var="BIRT" /> <GedcomValue tag="BIRT:DATE" truncate="$trunc_dateplace" />
						<br /><varLetter var="BIRT" /> <GedcomValue tag="BIRT:PLAC" truncate="$trunc_dateplace" />
						<Gedcom id="DEAT">
							<br /><varLetter var="DEAT" /> <GedcomValue tag="DEAT:DATE" truncate="$trunc_dateplace" />
							<br /><varLetter var="DEAT" /> <GedcomValue tag="DEAT:PLAC" truncate="$trunc_dateplace" />
						</Gedcom>
					</Text>
				</Gedcom>
			</TextBox>

			<Line x1="310" y1="570" x2="310" y2="650" />
			<Line x1="310" y1="570" x2="460" y2="570" />
			<Line x1="310" y1="650" x2="460" y2="650" />
			<TextBox padding="0" width="130" height="10" align="left" left="$number_10_to_15" top="560" reseth="1">
				<Text style="label1">14.</Text>
			</TextBox>
			<TextBox padding="0" width="140" height="10" align="left" left="$name_8_to_15" top="560" reseth="1">
				<Text style="name"><Gedcom id="@FAMC:@WIFE:@FAMC:@WIFE:@FAMC"><GetPersonName id="@HUSB" truncate="$truncatename" /></Gedcom></Text>
			</TextBox>
			<TextBox padding="0" width="130" height="10" align="left" left="$name_8_to_15" top="572" reseth="1">
				<Gedcom id="@FAMC:@WIFE:@FAMC:@WIFE:@FAMC:@HUSB">
					<Text style="text"><varLetter var="BIRT" /> <GedcomValue tag="BIRT:DATE" truncate="$trunc_dateplace" />
						<br /><varLetter var="BIRT" /> <GedcomValue tag="BIRT:PLAC" truncate="$trunc_dateplace" />
						<Gedcom id="@FAMS">
							<br /><varLetter var="MARR" /> <GedcomValue tag="MARR:DATE" truncate="$trunc_dateplace" />
							<br /><varLetter var="MARR" /> <GedcomValue tag="MARR:PLAC" truncate="$trunc_dateplace" />
						</Gedcom>
						<Gedcom id="DEAT">
							<br /><varLetter var="DEAT" /> <GedcomValue tag="DEAT:DATE" truncate="$trunc_dateplace" />
							<br /><varLetter var="DEAT" /> <GedcomValue tag="DEAT:PLAC" truncate="$trunc_dateplace" />
						</Gedcom>
					</Text>
				</Gedcom>
			</TextBox>

			<TextBox padding="0" width="130" height="10" align="left" left="$number_10_to_15" top="640" reseth="1">
				<Text style="label1">15.</Text>
			</TextBox>
			<TextBox padding="0" width="140" height="10" align="left" left="$name_8_to_15" top="640" reseth="1">
				<Text style="name"><Gedcom id="@FAMC:@WIFE:@FAMC:@WIFE:@FAMC"><GetPersonName id="@WIFE" truncate="$truncatename" /></Gedcom></Text>
			</TextBox>
			<TextBox padding="0" width="130" height="10" align="left" left="$name_8_to_15" top="652" reseth="1">
				<Gedcom id="@FAMC:@WIFE:@FAMC:@WIFE:@FAMC:@WIFE">
					<Text style="text"><varLetter var="BIRT" /> <GedcomValue tag="BIRT:DATE" truncate="$trunc_dateplace" />
						<br /><varLetter var="BIRT" /> <GedcomValue tag="BIRT:PLAC" truncate="$trunc_dateplace" />
						<Gedcom id="DEAT">
							<br /><varLetter var="DEAT" /> <GedcomValue tag="DEAT:DATE" truncate="$trunc_dateplace" />
							<br /><varLetter var="DEAT" /> <GedcomValue tag="DEAT:PLAC" truncate="$trunc_dateplace" />
						</Gedcom>
					</Text>
				</Gedcom>
			</TextBox>



			<Line x1="460" y1="70" x2="460" y2="110" />
			<Line x1="460" y1="70" x2="590" y2="70" />
			<Line x1="460" y1="110" x2="590" y2="110" />
			<TextBox padding="0" width="150" height="10" align="left" left="$number_16_to_31" top="60" reseth="1">
				<Text style="label1">16.</Text>
			</TextBox>
			<TextBox padding="0" width="150" height="10" align="left" left="$name_16_to_31" top="60" reseth="1">
				<Text style="name"><Gedcom id="@FAMC:@HUSB:@FAMC:@HUSB:@FAMC:@HUSB:@FAMC"><GetPersonName id="@HUSB" truncate="$truncatename" /></Gedcom></Text>
			</TextBox>
			<TextBox padding="0" width="135" height="10" align="left" left="$name_16_to_31" top="72" reseth="1">
				<Gedcom id="@FAMC:@HUSB:@FAMC:@HUSB:@FAMC:@HUSB:@FAMC:@HUSB">
					<Text style="text"><varLetter var="BIRT" /> <GedcomValue tag="BIRT:DATE" truncate="30" />
						<Gedcom id="@FAMS">
							<br /><varLetter var="MARR" /> <GedcomValue tag="MARR:DATE" truncate="30" />
						</Gedcom>
						<Gedcom id="DEAT">
							<br /><varLetter var="DEAT" /> <GedcomValue tag="DEAT:DATE" truncate="30" />
						</Gedcom>
					</Text>
				</Gedcom>
			</TextBox>

			<TextBox padding="0" width="150" height="10" align="left" left="$number_16_to_31" top="100" reseth="1">
				<Text style="label1">17.</Text>
			</TextBox>
			<TextBox padding="0" width="150" height="10" align="left" left="$name_16_to_31" top="100" reseth="1">
				<Text style="name"><Gedcom id="@FAMC:@HUSB:@FAMC:@HUSB:@FAMC:@HUSB:@FAMC"><GetPersonName id="@WIFE" truncate="$truncatename" /></Gedcom></Text>
			</TextBox>
			<TextBox padding="0" width="135" height="10" align="left" left="$name_16_to_31" top="112" reseth="1">
				<Gedcom id="@FAMC:@HUSB:@FAMC:@HUSB:@FAMC:@HUSB:@FAMC:@WIFE">
					<Text style="text"><varLetter var="BIRT" /> <GedcomValue tag="BIRT:DATE" truncate="30" />
						<Gedcom id="DEAT">
							<br /><varLetter var="DEAT" /> <GedcomValue tag="DEAT:DATE" truncate="30" />
						</Gedcom>
					</Text>
				</Gedcom>
			</TextBox>

			<Line x1="460" y1="150" x2="460" y2="190" />
			<Line x1="460" y1="150" x2="590" y2="150" />
			<Line x1="460" y1="190" x2="590" y2="190" />
			<TextBox padding="0" width="150" height="10" align="left" left="$number_16_to_31" top="140" reseth="1">
				<Text style="label1">18.</Text>
			</TextBox>
			<TextBox padding="0" width="150" height="10" align="left" left="$name_16_to_31" top="140" reseth="1">
				<Text style="name"><Gedcom id="@FAMC:@HUSB:@FAMC:@HUSB:@FAMC:@WIFE:@FAMC"><GetPersonName id="@HUSB" truncate="$truncatename" /></Gedcom></Text>
			</TextBox>
			<TextBox padding="0" width="135" height="10" align="left" left="$name_16_to_31" top="152" reseth="1">
				<Gedcom id="@FAMC:@HUSB:@FAMC:@HUSB:@FAMC:@WIFE:@FAMC:@HUSB">
					<Text style="text"><varLetter var="BIRT" /> <GedcomValue tag="BIRT:DATE" truncate="30" />
						<Gedcom id="@FAMS">
							<br /><varLetter var="MARR" /> <GedcomValue tag="MARR:DATE" truncate="30" />
						</Gedcom>
						<Gedcom id="DEAT">
							<br /><varLetter var="DEAT" /> <GedcomValue tag="DEAT:DATE" truncate="30" />
						</Gedcom>
					</Text>
				</Gedcom>
			</TextBox>

			<TextBox padding="0" width="150" height="10" align="left" left="$number_16_to_31" top="180" reseth="1">
				<Text style="label1">19.</Text>
			</TextBox>
			<TextBox padding="0" width="150" height="10" align="left" left="$name_16_to_31" top="180" reseth="1">
				<Text style="name"><Gedcom id="@FAMC:@HUSB:@FAMC:@HUSB:@FAMC:@WIFE:@FAMC"><GetPersonName id="@WIFE" truncate="$truncatename" /></Gedcom></Text>
			</TextBox>
			<TextBox padding="0" width="135" height="10" align="left" left="$name_16_to_31" top="192" reseth="1">
				<Gedcom id="@FAMC:@HUSB:@FAMC:@HUSB:@FAMC:@WIFE:@FAMC:@WIFE">
					<Text style="text"><varLetter var="BIRT" /> <GedcomValue tag="BIRT:DATE" truncate="30" />
						<Gedcom id="DEAT">
							<br /><varLetter var="DEAT" /> <GedcomValue tag="DEAT:DATE" truncate="30" />
						</Gedcom>
					</Text>
				</Gedcom>
			</TextBox>

			<Line x1="460" y1="230" x2="460" y2="270" />
			<Line x1="460" y1="230" x2="590" y2="230" />
			<Line x1="460" y1="270" x2="590" y2="270" />
			<TextBox padding="0" width="150" height="10" align="left" left="$number_16_to_31" top="220" reseth="1">
				<Text style="label1">20.</Text>
			</TextBox>
			<TextBox padding="0" width="150" height="10" align="left" left="$name_16_to_31" top="220" reseth="1">
				<Text style="name"><Gedcom id="@FAMC:@HUSB:@FAMC:@WIFE:@FAMC:@HUSB:@FAMC"><GetPersonName id="@HUSB" truncate="$truncatename" /></Gedcom></Text>
			</TextBox>
			<TextBox padding="0" width="135" height="10" align="left" left="$name_16_to_31" top="232" reseth="1">
				<Gedcom id="@FAMC:@HUSB:@FAMC:@WIFE:@FAMC:@HUSB:@FAMC:@HUSB">
					<Text style="text"><varLetter var="BIRT" /> <GedcomValue tag="BIRT:DATE" truncate="30" />
						<Gedcom id="@FAMS">
							<br /><varLetter var="MARR" /> <GedcomValue tag="MARR:DATE" truncate="30" />
						</Gedcom>
						<Gedcom id="DEAT">
							<br /><varLetter var="DEAT" /> <GedcomValue tag="DEAT:DATE" truncate="30" />
						</Gedcom>
					</Text>
				</Gedcom>
			</TextBox>

			<TextBox padding="0" width="150" height="10" align="left" left="$number_16_to_31" top="260" reseth="1">
				<Text style="label1">21.</Text>
			</TextBox>
			<TextBox padding="0" width="150" height="10" align="left" left="$name_16_to_31" top="260" reseth="1">
				<Text style="name"><Gedcom id="@FAMC:@HUSB:@FAMC:@WIFE:@FAMC:@HUSB:@FAMC"><GetPersonName id="@WIFE" truncate="$truncatename" /></Gedcom></Text>
			</TextBox>
			<TextBox padding="0" width="135" height="10" align="left" left="$name_16_to_31" top="272" reseth="1">
				<Gedcom id="@FAMC:@HUSB:@FAMC:@WIFE:@FAMC:@HUSB:@FAMC:@WIFE">
					<Text style="text"><varLetter var="BIRT" /> <GedcomValue tag="BIRT:DATE" truncate="30" />
						<Gedcom id="DEAT">
							<br /><varLetter var="DEAT" /> <GedcomValue tag="DEAT:DATE" truncate="30" />
						</Gedcom>
					</Text>
				</Gedcom>
			</TextBox>

			<Line x1="460" y1="310" x2="460" y2="350" />
			<Line x1="460" y1="310" x2="590" y2="310" />
			<Line x1="460" y1="350" x2="590" y2="350" />
			<TextBox padding="0" width="150" height="10" align="left" left="$number_16_to_31" top="300" reseth="1">
				<Text style="label1">22.</Text>
			</TextBox>
			<TextBox padding="0" width="150" height="10" align="left" left="$name_16_to_31" top="300" reseth="1">
				<Text style="name"><Gedcom id="@FAMC:@HUSB:@FAMC:@WIFE:@FAMC:@WIFE:@FAMC"><GetPersonName id="@HUSB" truncate="$truncatename" /></Gedcom></Text>
			</TextBox>
			<TextBox padding="0" width="135" height="10" align="left" left="$name_16_to_31" top="312" reseth="1">
				<Gedcom id="@FAMC:@HUSB:@FAMC:@WIFE:@FAMC:@WIFE:@FAMC:@HUSB">
					<Text style="text"><varLetter var="BIRT" /> <GedcomValue tag="BIRT:DATE" truncate="30" />
						<Gedcom id="@FAMS">
							<br /><varLetter var="MARR" /> <GedcomValue tag="MARR:DATE" truncate="30" />
						</Gedcom>
						<Gedcom id="DEAT">
							<br /><varLetter var="DEAT" /> <GedcomValue tag="DEAT:DATE" truncate="30" />
						</Gedcom>
					</Text>
				</Gedcom>
			</TextBox>

			<TextBox padding="0" width="150" height="10" align="left" left="$number_16_to_31" top="340" reseth="1">
				<Text style="label1">23.</Text>
			</TextBox>
			<TextBox padding="0" width="150" height="10" align="left" left="$name_16_to_31" top="340" reseth="1">
				<Text style="name"><Gedcom id="@FAMC:@HUSB:@FAMC:@WIFE:@FAMC:@WIFE:@FAMC"><GetPersonName id="@WIFE" truncate="$truncatename" /></Gedcom></Text>
			</TextBox>
			<TextBox padding="0" width="135" height="10" align="left" left="$name_16_to_31" top="352" reseth="1">
				<Gedcom id="@FAMC:@HUSB:@FAMC:@WIFE:@FAMC:@WIFE:@FAMC:@WIFE">
					<Text style="text"><varLetter var="BIRT" /> <GedcomValue tag="BIRT:DATE" truncate="30" />
						<Gedcom id="DEAT">
							<br /><varLetter var="DEAT" /> <GedcomValue tag="DEAT:DATE" truncate="30" />
						</Gedcom>
					</Text>
				</Gedcom>
			</TextBox>

			<Line x1="460" y1="390" x2="460" y2="430" />
			<Line x1="460" y1="390" x2="590" y2="390" />
			<Line x1="460" y1="430" x2="590" y2="430" />
			<TextBox padding="0" width="150" height="10" align="left" left="$number_16_to_31" top="380" reseth="1">
				<Text style="label1">24.</Text>
			</TextBox>
			<TextBox padding="0" width="150" height="10" align="left" left="$name_16_to_31" top="380" reseth="1">
				<Text style="name"><Gedcom id="@FAMC:@WIFE:@FAMC:@HUSB:@FAMC:@HUSB:@FAMC"><GetPersonName id="@HUSB" truncate="$truncatename" /></Gedcom></Text>
			</TextBox>
			<TextBox padding="0" width="135" height="10" align="left" left="$name_16_to_31" top="392" reseth="1">
				<Gedcom id="@FAMC:@WIFE:@FAMC:@HUSB:@FAMC:@HUSB:@FAMC:@HUSB">
					<Text style="text"><varLetter var="BIRT" /> <GedcomValue tag="BIRT:DATE" truncate="30" />
						<Gedcom id="@FAMS">
							<br /><varLetter var="MARR" /> <GedcomValue tag="MARR:DATE" truncate="30" />
						</Gedcom>
						<Gedcom id="DEAT">
							<br /><varLetter var="DEAT" /> <GedcomValue tag="DEAT:DATE" truncate="30" />
						</Gedcom>
					</Text>
				</Gedcom>
			</TextBox>

			<TextBox padding="0" width="150" height="10" align="left" left="$number_16_to_31" top="420" reseth="1">
				<Text style="label1">25.</Text>
			</TextBox>
			<TextBox padding="0" width="150" height="10" align="left" left="$name_16_to_31" top="420" reseth="1">
				<Text style="name"><Gedcom id="@FAMC:@WIFE:@FAMC:@HUSB:@FAMC:@HUSB:@FAMC"><GetPersonName id="@WIFE" truncate="$truncatename" /></Gedcom></Text>
			</TextBox>
			<TextBox padding="0" width="135" height="10" align="left" left="$name_16_to_31" top="432" reseth="1">
				<Gedcom id="@FAMC:@WIFE:@FAMC:@HUSB:@FAMC:@HUSB:@FAMC:@WIFE">
					<Text style="text"><varLetter var="BIRT" /> <GedcomValue tag="BIRT:DATE" truncate="30" />
						<Gedcom id="DEAT">
							<br /><varLetter var="DEAT" /> <GedcomValue tag="DEAT:DATE" truncate="30" />
						</Gedcom>
					</Text>
				</Gedcom>
			</TextBox>

			<Line x1="460" y1="470" x2="460" y2="510" />
			<Line x1="460" y1="470" x2="590" y2="470" />
			<Line x1="460" y1="510" x2="590" y2="510" />
			<TextBox padding="0" width="150" height="10" align="left" left="$number_16_to_31" top="460" reseth="1">
				<Text style="label1">26.</Text>
			</TextBox>
			<TextBox padding="0" width="150" height="10" align="left" left="$name_16_to_31" top="460" reseth="1">
				<Text style="name"><Gedcom id="@FAMC:@WIFE:@FAMC:@HUSB:@FAMC:@WIFE:@FAMC"><GetPersonName id="@HUSB" truncate="$truncatename" /></Gedcom></Text>
			</TextBox>
			<TextBox padding="0" width="135" height="10" align="left" left="$name_16_to_31" top="472" reseth="1">
				<Gedcom id="@FAMC:@WIFE:@FAMC:@HUSB:@FAMC:@WIFE:@FAMC:@HUSB">
					<Text style="text"><varLetter var="BIRT" /> <GedcomValue tag="BIRT:DATE" truncate="30" />
						<Gedcom id="@FAMS">
							<br /><varLetter var="MARR" /> <GedcomValue tag="MARR:DATE" truncate="30" />
						</Gedcom>
						<Gedcom id="DEAT">
							<br /><varLetter var="DEAT" /> <GedcomValue tag="DEAT:DATE" truncate="30" />
						</Gedcom>
					</Text>
				</Gedcom>
			</TextBox>

			<TextBox padding="0" width="150" height="10" align="left" left="$number_16_to_31" top="500" reseth="1">
				<Text style="label1">27.</Text>
			</TextBox>
			<TextBox padding="0" width="150" height="10" align="left" left="$name_16_to_31" top="500" reseth="1">
				<Text style="name"><Gedcom id="@FAMC:@WIFE:@FAMC:@HUSB:@FAMC:@WIFE:@FAMC"><GetPersonName id="@WIFE" truncate="$truncatename" /></Gedcom></Text>
			</TextBox>
			<TextBox padding="0" width="135" height="10" align="left" left="$name_16_to_31" top="512" reseth="1">
				<Gedcom id="@FAMC:@WIFE:@FAMC:@HUSB:@FAMC:@WIFE:@FAMC:@WIFE">
					<Text style="text"><varLetter var="BIRT" /> <GedcomValue tag="BIRT:DATE" truncate="30" />
						<Gedcom id="DEAT">
							<br /><varLetter var="DEAT" /> <GedcomValue tag="DEAT:DATE" truncate="30" />
						</Gedcom>
					</Text>
				</Gedcom>
			</TextBox>

			<Line x1="460" y1="550" x2="460" y2="590" />
			<Line x1="460" y1="550" x2="590" y2="550" />
			<Line x1="460" y1="590" x2="590" y2="590" />
			<TextBox padding="0" width="150" height="10" align="left" left="$number_16_to_31" top="540" reseth="1">
				<Text style="label1">28.</Text>
			</TextBox>
			<TextBox padding="0" width="150" height="10" align="left" left="$name_16_to_31" top="540" reseth="1">
				<Text style="name"><Gedcom id="@FAMC:@WIFE:@FAMC:@WIFE:@FAMC:@HUSB:@FAMC"><GetPersonName id="@HUSB" truncate="$truncatename" /></Gedcom></Text>
			</TextBox>
			<TextBox padding="0" width="135" height="10" align="left" left="$name_16_to_31" top="552" reseth="1">
				<Gedcom id="@FAMC:@WIFE:@FAMC:@WIFE:@FAMC:@HUSB:@FAMC:@HUSB">
					<Text style="text"><varLetter var="BIRT" /> <GedcomValue tag="BIRT:DATE" truncate="30" />
						<Gedcom id="@FAMS">
							<br /><varLetter var="MARR" /> <GedcomValue tag="MARR:DATE" truncate="30" />
						</Gedcom>
						<Gedcom id="DEAT">
							<br /><varLetter var="DEAT" /> <GedcomValue tag="DEAT:DATE" truncate="30" />
						</Gedcom>
					</Text>
				</Gedcom>
			</TextBox>

			<TextBox padding="0" width="150" height="10" align="left" left="$number_16_to_31" top="580" reseth="1">
				<Text style="label1">29.</Text>
			</TextBox>
			<TextBox padding="0" width="150" height="10" align="left" left="$name_16_to_31" top="580" reseth="1">
				<Text style="name"><Gedcom id="@FAMC:@WIFE:@FAMC:@WIFE:@FAMC:@HUSB:@FAMC"><GetPersonName id="@WIFE" truncate="$truncatename" /></Gedcom></Text>
			</TextBox>
			<TextBox padding="0" width="135" height="10" align="left" left="$name_16_to_31" top="592" reseth="1">
				<Gedcom id="@FAMC:@WIFE:@FAMC:@WIFE:@FAMC:@HUSB:@FAMC:@WIFE">
					<Text style="text"><varLetter var="BIRT" /> <GedcomValue tag="BIRT:DATE" truncate="30" />
						<Gedcom id="DEAT">
							<br /><varLetter var="DEAT" /> <GedcomValue tag="DEAT:DATE" truncate="30" />
						</Gedcom>
					</Text>
				</Gedcom>
			</TextBox>

			<Line x1="460" y1="630" x2="460" y2="670" />
			<Line x1="460" y1="630" x2="590" y2="630" />
			<Line x1="460" y1="670" x2="590" y2="670" />
			<TextBox padding="0" width="150" height="10" align="left" left="$number_16_to_31" top="620" reseth="1">
				<Text style="label1">30.</Text>
			</TextBox>
			<TextBox padding="0" width="150" height="10" align="left" left="$name_16_to_31" top="620" reseth="1">
				<Text style="name"><Gedcom id="@FAMC:@WIFE:@FAMC:@WIFE:@FAMC:@WIFE:@FAMC"><GetPersonName id="@HUSB" truncate="$truncatename" /></Gedcom></Text>
			</TextBox>
			<TextBox padding="0" width="135" height="10" align="left" left="$name_16_to_31" top="632" reseth="1">
				<Gedcom id="@FAMC:@WIFE:@FAMC:@WIFE:@FAMC:@WIFE:@FAMC:@HUSB">
					<Text style="text"><varLetter var="BIRT" /> <GedcomValue tag="BIRT:DATE" truncate="30" />
						<Gedcom id="@FAMS">
							<br /><varLetter var="MARR" /> <GedcomValue tag="MARR:DATE" truncate="30" />
						</Gedcom>
						<Gedcom id="DEAT">
							<br /><varLetter var="DEAT" /> <GedcomValue tag="DEAT:DATE" truncate="30" />
						</Gedcom>
					</Text>
				</Gedcom>
			</TextBox>

			<TextBox padding="0" width="150" height="10" align="left" left="$number_16_to_31" newline="1" top="660" reseth="1">
				<Text style="label1">31.</Text>
			</TextBox>
			<TextBox padding="0" width="150" height="10" align="left" left="$name_16_to_31" newline="1" top="660" reseth="1">
				<Text style="name"><Gedcom id="@FAMC:@WIFE:@FAMC:@WIFE:@FAMC:@WIFE:@FAMC"><GetPersonName id="@WIFE" truncate="$truncatename" /></Gedcom></Text>
			</TextBox>
			<TextBox padding="0" width="135" height="10" align="left" left="$name_16_to_31" top="672" reseth="1">
				<Gedcom id="@FAMC:@WIFE:@FAMC:@WIFE:@FAMC:@WIFE:@FAMC:@WIFE">
					<Text style="text"><varLetter var="BIRT" /> <GedcomValue tag="BIRT:DATE" truncate="30" />
						<Gedcom id="DEAT">
							<br /><varLetter var="DEAT" /> <GedcomValue tag="DEAT:DATE" truncate="30" />
						</Gedcom>
					</Text>
				</Gedcom>
			</TextBox>

				<SetVar name="my" value="440" />
				<RepeatTag tag="FAMS">
					<Gedcom id="@FAMS">
						<if condition="$my LT 560">
							<TextBox padding="0" width="125" height="10" align="left" left="38" top="$my" reseth="1">
								<if condition="$pid==@HUSB">
									<Text style="name"><GetPersonName id="@WIFE" truncate="$trunc_123" /></Text>
								</if>
								<if condition="$pid==@WIFE">
									<Text style="name"><GetPersonName id="@HUSB" truncate="$trunc_123" /></Text>
								</if>
							</TextBox>
							<SetVar name="my" value="$my+10" />
							<Line x1="38" y1="$my" x2="160" y2="$my" />
						</if>
						<SetVar name="my" value="$my+2" />
						<RepeatTag tag="CHIL">
							<if condition="$my LT 560">
								<TextBox padding="0" width="120" height="10" align="left" left="48" top="$my" reseth="1">
									<Text style="text"><GetPersonName id="@CHIL" truncate="32" /></Text>
								</TextBox>
								<SetVar name="my" value="$my+10" />
							</if>
						</RepeatTag>
					</Gedcom>
				</RepeatTag>
			</Gedcom>
		</Body>
	</Doc>
</Report>
