mirror of
https://github.com/YunoHost-Apps/webtrees_ynh.git
synced 2024-09-03 18:26:37 +02:00
484 lines
23 KiB
XML
484 lines
23 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
||
<!-- Includes 2010 work done by John Hawthornthwaite(hagershorn1) for an ancestry report in PhpGedView -->
|
||
<Report>
|
||
<Title><var var="I18N::translate('Ancestors')" /></Title>
|
||
<Description><var var="I18N::translate('A report of an individual’s ancestors, in a narrative style.')" /></Description>
|
||
<Input name="pid" lookup="INDI" type="text"><var var="I18N::translate('Individual')" /></Input>
|
||
<Input name="maxgen" type="select" options="3=>I18N::number(3)|4=>I18N::number(4)|5=>I18N::number(5)|6=>I18N::number(6)|7=>I18N::number(7)|8=>I18N::number(8)|9=>I18N::number(9)|10=>I18N::number(10)|*=>I18N::translate('All')"><var var="I18N::translate('Generations')" /></Input>
|
||
<Input name="sources" type="checkbox" default="1"><var var="I18N::translate('Show sources')" /></Input>
|
||
<Input name="notes" type="checkbox" default="0"><var var="I18N::translate('Show notes')" /></Input>
|
||
<Input name="occu" type="checkbox" default="0"><var var="I18N::translate('Show occupations')" /></Input>
|
||
<Input name="resi" type="checkbox" default="0"><var var="I18N::translate('Show residences')" /></Input>
|
||
<Input name="children" type="checkbox" default="0"><var var="I18N::translate('Show children of ancestors')" /></Input>
|
||
<Input name="pageSize" type="select" default="A4" options="letter=>I18N::translateContext('paper size','Letter')|A3=>I18N::translateContext('paper size', 'A3')|A4=>I18N::translateContext('paper size','A4')|legal=>I18N::translateContext('paper size','Legal')"><var var="I18N::translate('Page size')" /></Input>
|
||
<!--
|
||
<Input name="fonts" type="select" default="dejavusans" options="arialunicid0=>I18N::translateContext('font name', 'Arial')|dejavusans=>I18N::translateContext('font name', 'DejaVu')|helvetica=>I18N::translateContext('font name', 'Helvetica')"><var var="I18N::translate('Font')"/></Input>
|
||
-->
|
||
<SetVar name="fonts" value="dejavusans" />
|
||
|
||
<!-- Header -->
|
||
<Style name="header" font="$fonts" size="14" style="b" />
|
||
<!-- Page numbers text -->
|
||
<Style name="pagenum" font="$fonts" size="8"/>
|
||
<!-- Standard text -->
|
||
<Style name="text" font="$fonts" size="10"/>
|
||
<!-- Links to sources - required style name by the generator -->
|
||
<Style name="footnotenum" font="$fonts" size="7"/>
|
||
<!-- Source text - FootnoteTexts - required style name by the generator -->
|
||
<Style name="footnote" font="$fonts" size="8"/>
|
||
<!-- Generated by style - required style name by the generator -->
|
||
<Style name="genby" font="$fonts" size="8" />
|
||
<!-- Date Text-->
|
||
<Style name="date" font="$fonts" size="8"/>
|
||
<!-- Note Text -->
|
||
<Style name="note" font="$fonts" size="9"/>
|
||
<!-- Individual name -->
|
||
<Style name="name" font="$fonts" size="10" style="b" />
|
||
<Style name="namech" font="$fonts" size="8" style="b" />
|
||
<Style name="subheader" font="$fonts" size="12" style="b" />
|
||
<Style name="label1" font="$fonts" size="8"/>
|
||
<Style name="label2" font="$fonts" size="10"/>
|
||
<SetVar name="num" value="1" />
|
||
<SetVar name="generation" value="0" />
|
||
<SetVar name="empty_name" value="f" />
|
||
<SetVar name="empty_start_value" value="0" />
|
||
<SetVar name="nametokeep" value=" " />
|
||
<SetVar name="personNumber" value="1" />
|
||
<SetVar name="individual" value=" " />
|
||
<SetVar name="spouse" value="" />
|
||
<SetVar name="childNumber" value="1" />
|
||
<!-- New Page for Sources controller if SOUR exist -->
|
||
<SetVar name="source_exist" value="0" />
|
||
|
||
<Doc pageSize="$pageSize">
|
||
<Header>
|
||
<Cell align="center" height="30" newline="1" style="header"><var var="I18N::translate('Ancestors of ')" /><GetPersonName id="$pid" /></Cell>
|
||
<Cell align="rightrtl" newline="1" style="pagenum"><var var="I18N::translate('Page')" /> <PageNum /> <var var="I18N::translate('of')" /> <TotalPages /></Cell>
|
||
</Header>
|
||
<Body>
|
||
<Relatives id="$pid" group="direct-ancestors" sortby="none" maxgen="$maxgen">
|
||
<SetVar name="gender" value="m" />
|
||
<if condition="@SEX=='F'">
|
||
<SetVar name="gender" value="f" />
|
||
</if>
|
||
<if condition="$generation!=@generation">
|
||
<if condition="$empty_name=='t'" >
|
||
<TextBox width="50" height="20">
|
||
<SetVar name="empty_end_value" value="$num-1" />
|
||
<Text style="text"><var var="empty_start_value" />-<var var="empty_end_value" />.</Text>
|
||
</TextBox>
|
||
<TextBox width="475" height="12" newline="1" >
|
||
<Text style="text"><br /></Text>
|
||
</TextBox>
|
||
<TextBox width="25" height="20" newline="1">
|
||
<Text style="text"><br /></Text>
|
||
</TextBox>
|
||
<SetVar name="empty_start_value" value="$num" />
|
||
</if>
|
||
<Cell align="center" height="30" newline="1" style="subheader"><var var="I18N::translate('Generation ')" /><Generation /></Cell>
|
||
<SetVar name="generation" value="@generation" />
|
||
</if>
|
||
<SetVar name="indiname" value="@NAME" />
|
||
<if condition="$indiname==''">
|
||
<if condition="$empty_name=='f'">
|
||
<SetVar name="empty_name" value="t" />
|
||
<SetVar name="empty_start_value" value="$num" />
|
||
</if>
|
||
</if>
|
||
<if condition="$indiname!=''">
|
||
<if condition="$empty_name=='t'" >
|
||
<TextBox width="50" height="20">
|
||
<SetVar name="empty_end_value" value="$num-1" />
|
||
<Text style="text"><var var="empty_start_value" />-<var var="empty_end_value" />.</Text>
|
||
</TextBox>
|
||
<TextBox width="475" height="12" newline="1">
|
||
<Text style="text"><br /></Text>
|
||
</TextBox>
|
||
<TextBox width="25" height="20" newline="1">
|
||
<Text style="text"><br /></Text>
|
||
</TextBox>
|
||
<SetVar name="empty_name" value="f" />
|
||
</if>
|
||
<!-- Generation counter -->
|
||
<TextBox width="25" height="30">
|
||
<Text style="text"><var var="num" />.</Text>
|
||
</TextBox>
|
||
<!-- Sentence 1 Individual, name... -->
|
||
<TextBox height="12" newline="1">
|
||
<Text style="name"><GetPersonName id="" /> </Text>
|
||
<if condition="$sources==1">
|
||
<!-- print level 1 sources -->
|
||
<RepeatTag tag="SOUR">
|
||
<Footnote>
|
||
<Gedcom id="@SOUR">
|
||
<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
|
||
«<GedcomValue tag="TITL" />»
|
||
<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
|
||
</Gedcom>
|
||
<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
|
||
<GedcomValue tag="SOUR:DATA:TEXT" />
|
||
</Footnote>
|
||
<SetVar name="source_exist" value="1"/>
|
||
</RepeatTag>
|
||
<!-- print level 2 sources attached to NAME -->
|
||
<RepeatTag tag="NAME:SOUR">
|
||
<Footnote>
|
||
<Gedcom id="@SOUR">
|
||
<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
|
||
«<GedcomValue tag="TITL" />»
|
||
<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
|
||
</Gedcom>
|
||
<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
|
||
<GedcomValue tag="SOUR:DATA:TEXT" />
|
||
</Footnote>
|
||
<SetVar name="source_exist" value="1" />
|
||
</RepeatTag>
|
||
</if>
|
||
<!-- Individual, birth... -->
|
||
<Gedcom id="BIRT">
|
||
<Text style="text">
|
||
<if condition="$gender=='m'"><var var="I18N::translateContext('MALE', 'was born')" /></if>
|
||
<if condition="$gender=='f'"><var var="I18N::translateContext('FEMALE', 'was born')" /></if>
|
||
</Text>
|
||
<if condition="$sources==1">
|
||
<RepeatTag tag="BIRT:SOUR">
|
||
<Footnote>
|
||
<Gedcom id="@SOUR">
|
||
<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
|
||
«<GedcomValue tag="TITL" />»
|
||
<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
|
||
</Gedcom>
|
||
<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
|
||
<GedcomValue tag="SOUR:DATA:TEXT" />
|
||
</Footnote>
|
||
<SetVar name="source_exist" value="1"/>
|
||
</RepeatTag>
|
||
</if>
|
||
<Text style="text">
|
||
<if condition="@DATE!=''"><var var=" " /> <GedcomValue tag="DATE" level="2" /></if>
|
||
<if condition="@PLAC!=''"><var var="I18N::translate(' in ')" /> <GedcomValue tag="PLAC" level="2" /></if>
|
||
<if condition="(@desc=='Y') or (@DATE=='' and @PLAC=='')"><var var="I18N::translate(' but the details are unknown')" /></if>.
|
||
</Text>
|
||
</Gedcom>
|
||
<!-- Sentence 2 Individual, christened... -->
|
||
<Gedcom id="CHR">
|
||
<Text style="text">
|
||
<if condition="$gender=='m'"><var var="I18N::translate('He was christened')" /></if>
|
||
<if condition="$gender=='f'"><var var="I18N::translate('She was christened')" /></if>
|
||
</Text>
|
||
<Text style="label1">
|
||
<if condition="$sources==1">
|
||
<RepeatTag tag="CHR:SOUR">
|
||
<Footnote>
|
||
<Gedcom id="@SOUR">
|
||
<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
|
||
«<GedcomValue tag="TITL" />»
|
||
<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
|
||
</Gedcom>
|
||
<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
|
||
<GedcomValue tag="SOUR:DATA:TEXT" />
|
||
</Footnote>
|
||
<SetVar name="source_exist" value="1"/>
|
||
</RepeatTag>
|
||
</if>
|
||
</Text>
|
||
<Text style="text">
|
||
<if condition="@DATE!=''"><var var=" " /><GedcomValue tag="DATE" level="2" /></if>
|
||
<if condition="@PLAC!=''"><var var="I18N::translate(' in ')" /><GedcomValue tag="PLAC" level="2" /></if>
|
||
<if condition="(@desc=='Y') or (@DATE=='' and @PLAC=='')"><var var="I18N::translate(' but the details are unknown')" /></if>.
|
||
</Text>
|
||
</Gedcom>
|
||
<if condition="$occu==1">
|
||
<!-- Individual, occupation... -->
|
||
<RepeatTag tag="OCCU">
|
||
<Text style="text">
|
||
<if condition="$gender=='m'"><var var="I18N::translate('His occupation was')" /> <GedcomValue tag="OCCU" level="1" /></if>
|
||
<if condition="$gender=='f'"><var var="I18N::translate('Her occupation was')" /> <GedcomValue tag="OCCU" level="1" /></if>
|
||
</Text>
|
||
<if condition="$sources==1">
|
||
<RepeatTag tag="OCCU:SOUR">
|
||
<Footnote>
|
||
<Gedcom id="@SOUR">
|
||
<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
|
||
«<GedcomValue tag="TITL" />»
|
||
<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
|
||
</Gedcom>
|
||
<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
|
||
<GedcomValue tag="SOUR:DATA:TEXT" />
|
||
</Footnote>
|
||
<SetVar name="source_exist" value="1"/>
|
||
</RepeatTag>
|
||
</if>
|
||
<Text style="text">
|
||
<if condition="@DATE!=''"><var var=" " /> <GedcomValue tag="DATE" level="2" /></if>
|
||
<if condition="@PLAC!=''"><var var="I18N::translate(' in ')" /> <GedcomValue tag="PLAC" level="2" /></if>.
|
||
</Text>
|
||
</RepeatTag>
|
||
</if>
|
||
<if condition="$resi==1">
|
||
<!-- Individual, residence... -->
|
||
<RepeatTag tag="RESI">
|
||
<Text style="text">
|
||
<if condition="$gender=='m'"><var var="I18N::translate('He resided at')" /> </if>
|
||
<if condition="$gender=='f'"><var var="I18N::translate('She resided at')" /> </if>
|
||
<if condition="@ADDR!=''"><GedcomValue tag="RESI:ADDR" level="1" /></if>
|
||
<if condition="@ADDR==''"><if condition="@PLAC!=''"><GedcomValue tag="RESI:PLAC" level="1" /></if></if>
|
||
</Text>
|
||
<if condition="$sources==1">
|
||
<RepeatTag tag="RESI:SOUR">
|
||
<Footnote>
|
||
<Gedcom id="@SOUR">
|
||
<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
|
||
«<GedcomValue tag="TITL" />»
|
||
<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
|
||
</Gedcom>
|
||
<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
|
||
<GedcomValue tag="SOUR:DATA:TEXT" />
|
||
</Footnote>
|
||
<SetVar name="source_exist" value="1"/>
|
||
</RepeatTag>
|
||
</if>
|
||
<Text style="text">
|
||
<if condition="@DATE!=''"><var var=" " /> <GedcomValue tag="DATE" level="2" /></if>.
|
||
</Text>
|
||
</RepeatTag>
|
||
</if>
|
||
<SetVar name="cpid" value="@ID" />
|
||
<Gedcom id="@FAMS">
|
||
<SetVar name="hpid" value="@HUSB"/>
|
||
<SetVar name="wpid" value="@WIFE"/>
|
||
<if condition="$cpid==$hpid">
|
||
<SetVar name="spid" value="@WIFE" />
|
||
</if>
|
||
<if condition="$cpid==$wpid">
|
||
<SetVar name="spid" value="@HUSB" />
|
||
</if>
|
||
<Gedcom id="MARR">
|
||
<if condition="(($spid != '') and (@DATE != '' or @PLAC != '' or @desc == 'Y'))">
|
||
<Text style="text">
|
||
<if condition="$gender=='m'"> <var var="I18N::translate('He married')" /> </if>
|
||
<if condition="$gender=='f'"> <var var="I18N::translate('She married')" /> </if>
|
||
</Text>
|
||
<if condition="$sources==1">
|
||
<RepeatTag tag="MARR:SOUR">
|
||
<Footnote>
|
||
<Gedcom id="@SOUR">
|
||
<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
|
||
«<GedcomValue tag="TITL" />»
|
||
<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
|
||
</Gedcom>
|
||
<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
|
||
<GedcomValue tag="SOUR:DATA:TEXT" />
|
||
</Footnote>
|
||
<SetVar name="source_exist" value="1"/>
|
||
</RepeatTag>
|
||
</if>
|
||
<Text style="text">
|
||
<if condition="$spid!=''"><GetPersonName id="$spid" /></if>
|
||
<if condition="@DATE!=''"><var var=" " /> <GedcomValue tag="DATE" level="2" />
|
||
<if condition="@PLAC==''"> </if>
|
||
</if>
|
||
<if condition="@PLAC!=''"><var var="I18N::translate(' in ')" /> <GedcomValue tag="PLAC" level="2" /></if>
|
||
<if condition="((@desc=='Y') or (@DATE=='' and @PLAC=='')) and ($spid=='')"><var var="I18N::translate(' but the details are unknown')" /></if>.
|
||
</Text>
|
||
</if>
|
||
</Gedcom>
|
||
</Gedcom>
|
||
<Gedcom id="DEAT">
|
||
<Text style="text">
|
||
<if condition="$gender=='m'"> <var var="I18N::translate('He died')" /></if>
|
||
<if condition="$gender=='f'"> <var var="I18N::translate('She died')" /></if>
|
||
</Text>
|
||
<if condition="$sources==1">
|
||
<RepeatTag tag="DEAT:SOUR">
|
||
<Footnote>
|
||
<Gedcom id="@SOUR">
|
||
<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
|
||
«<GedcomValue tag="TITL" />»
|
||
<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
|
||
</Gedcom>
|
||
<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
|
||
<GedcomValue tag="SOUR:DATA:TEXT" />
|
||
</Footnote>
|
||
<SetVar name="source_exist" value="1"/>
|
||
</RepeatTag>
|
||
</if>
|
||
<Text style="text">
|
||
<if condition="@DATE!=''"><var var=" " /> <GedcomValue tag="DATE" level="2" /></if>
|
||
<if condition="@PLAC!=''"><var var="I18N::translate(' in ')" /> <GedcomValue tag="PLAC" level="2" /></if>
|
||
<if condition="(@desc=='Y') or (@DATE=='' and @PLAC=='')"><var var="I18N::translate(' but the details are unknown')" /></if>.
|
||
</Text>
|
||
</Gedcom>
|
||
<Gedcom id="CREM">
|
||
<Text style="text">
|
||
<if condition="$gender=='m'"> <var var="I18N::translate('He was cremated')" /></if>
|
||
<if condition="$gender=='f'"> <var var="I18N::translate('She was cremated')" /></if>
|
||
</Text>
|
||
<if condition="$sources==1">
|
||
<RepeatTag tag="CREM:SOUR">
|
||
<Footnote>
|
||
<Gedcom id="@SOUR">
|
||
<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
|
||
«<GedcomValue tag="TITL" />»
|
||
<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
|
||
</Gedcom>
|
||
<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
|
||
<GedcomValue tag="SOUR:DATA:TEXT" />
|
||
</Footnote>
|
||
<SetVar name="source_exist" value="1"/>
|
||
</RepeatTag>
|
||
</if>
|
||
<Text style="text">
|
||
<if condition="@DATE!=''"><var var=" " /> <GedcomValue tag="DATE" level="2" /></if>
|
||
<if condition="@PLAC!=''"><var var="I18N::translate(' in ')" /> <GedcomValue tag="PLAC" level="2" /></if>
|
||
<if condition="(@desc=='Y') or (@DATE=='' and @PLAC=='')"><var var="I18N::translate(' but the details are unknown')" /></if>.
|
||
</Text>
|
||
</Gedcom>
|
||
<Gedcom id="BURI">
|
||
<Text style="text">
|
||
<if condition="$gender=='m'"> <var var="I18N::translate('He was buried')" /></if>
|
||
<if condition="$gender=='f'"> <var var="I18N::translate('She was buried')" /></if>
|
||
</Text>
|
||
<if condition="$sources==1">
|
||
<RepeatTag tag="BURI:SOUR">
|
||
<Footnote>
|
||
<Gedcom id="@SOUR">
|
||
<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
|
||
«<GedcomValue tag="TITL" />»
|
||
<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
|
||
</Gedcom>
|
||
<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
|
||
<GedcomValue tag="SOUR:DATA:TEXT" />
|
||
</Footnote>
|
||
<SetVar name="source_exist" value="1"/>
|
||
</RepeatTag>
|
||
</if>
|
||
<Text style="text">
|
||
<if condition="@DATE!=''"><var var=" " /> <GedcomValue tag="DATE" level="2" /></if>
|
||
<if condition="@PLAC!=''"><var var="I18N::translate(' in ')" /> <GedcomValue tag="PLAC" level="2" /></if>
|
||
<if condition="(@desc=='Y') or (@DATE=='' and @PLAC=='')"><var var="I18N::translate(' but the details are unknown')" /></if>.
|
||
</Text>
|
||
</Gedcom>
|
||
</TextBox>
|
||
<if condition="$notes==1">
|
||
<RepeatTag tag="NOTE">
|
||
<TextBox height="3" newline="1" padding="0"/>
|
||
<Cell height="12" left="30" newline="1" style="note"><GedcomValue tag="NOTE"/></Cell>
|
||
</RepeatTag>
|
||
</if>
|
||
<TextBox height="10" newline="1" padding="0"/>
|
||
</if>
|
||
<SetVar name="num" value="$num+1" />
|
||
<if condition="$children==1">
|
||
<!-- this section gets the children. -->
|
||
<RepeatTag tag="FAMS">
|
||
<SetVar name="individual" value="$cpid" />
|
||
<SetVar name="spouse" value="$spid" />
|
||
<Gedcom id="@FAMS">
|
||
<if condition="@CHIL!=''">
|
||
<SetVar name="numberOfChildren" value="0" />
|
||
<RepeatTag tag="CHIL">
|
||
<Gedcom id="@CHIL">
|
||
<SetVar name="numberOfChildren" value="$numberOfChildren+1" />
|
||
</Gedcom>
|
||
</RepeatTag>
|
||
<if condition="$individual == $spouse">
|
||
<TextBox height="20" left="25" newline="1">
|
||
<if condition="$numberOfChildren==1">
|
||
<Text style="label1"><var var="I18N::translate('Child of ')" /></Text>
|
||
</if>
|
||
<if condition="$numberOfChildren>1">
|
||
<Text style="label1"><var var="I18N::translate('Children of ')" /></Text>
|
||
</if>
|
||
<Text style="namech"><GetPersonName id="@HUSB" /></Text>
|
||
<Text style="label1"> <var var="I18N::translate('and')" /> </Text>
|
||
<Text style="namech"><GetPersonName id="@WIFE" /></Text>
|
||
<Text style="label1">:</Text>
|
||
</TextBox>
|
||
<SetVar name="familyChildNumber" value ="1" />
|
||
<RepeatTag tag="CHIL">
|
||
<Gedcom id="@CHIL">
|
||
<if condition="$familyChildNumber==1"><SetVar name="familyChildRoman" value="i" /></if>
|
||
<if condition="$familyChildNumber==2"><SetVar name="familyChildRoman" value="ii" /></if>
|
||
<if condition="$familyChildNumber==3"><SetVar name="familyChildRoman" value="iii" /></if>
|
||
<if condition="$familyChildNumber==4"><SetVar name="familyChildRoman" value="iv" /></if>
|
||
<if condition="$familyChildNumber==5"><SetVar name="familyChildRoman" value="v" /></if>
|
||
<if condition="$familyChildNumber==6"><SetVar name="familyChildRoman" value="vi" /></if>
|
||
<if condition="$familyChildNumber==7"><SetVar name="familyChildRoman" value="vii" /></if>
|
||
<if condition="$familyChildNumber==8"><SetVar name="familyChildRoman" value="viii" /></if>
|
||
<if condition="$familyChildNumber==9"><SetVar name="familyChildRoman" value="ix" /></if>
|
||
<if condition="$familyChildNumber==10"><SetVar name="familyChildRoman" value="x" /></if>
|
||
<if condition="$familyChildNumber==11"><SetVar name="familyChildRoman" value="xi" /></if>
|
||
<if condition="$familyChildNumber==12"><SetVar name="familyChildRoman" value="xii" /></if>
|
||
<if condition="$familyChildNumber==13"><SetVar name="familyChildRoman" value="xiii" /></if>
|
||
<if condition="$familyChildNumber==14"><SetVar name="familyChildRoman" value="xiv" /></if>
|
||
<if condition="$familyChildNumber==15"><SetVar name="familyChildRoman" value="xv" /></if>
|
||
<if condition="$familyChildNumber==16"><SetVar name="familyChildRoman" value="xvi" /></if>
|
||
<if condition="$familyChildNumber==17"><SetVar name="familyChildRoman" value="xvii" /></if>
|
||
<if condition="$familyChildNumber==18"><SetVar name="familyChildRoman" value="xviii" /></if>
|
||
<if condition="$familyChildNumber==19"><SetVar name="familyChildRoman" value="xix" /></if>
|
||
<if condition="$familyChildNumber==20"><SetVar name="familyChildRoman" value="xx" /></if>
|
||
<TextBox left="25" height="20" newline="1">
|
||
<Text style="label1"><var var="familyChildRoman" /></Text>
|
||
<Text style="namech"> <GetPersonName id="" /> </Text>
|
||
<if condition="$sources==1">
|
||
<RepeatTag tag="SOUR">
|
||
<Footnote>
|
||
<Gedcom id="@SOUR">
|
||
<if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if>
|
||
«<GedcomValue tag="TITL" />»
|
||
<if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if>
|
||
</Gedcom>
|
||
<if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if>
|
||
<GedcomValue tag="SOUR:DATA:TEXT" />
|
||
</Footnote>
|
||
<SetVar name="source_exist" value="1"/>
|
||
</RepeatTag>
|
||
</if>
|
||
<Text style="label1" > <br /></Text>
|
||
<!-- Start BIRT -->
|
||
<Gedcom id="BIRT">
|
||
<Text style="label1" > <var var="I18N::translate('Birth')" /> <GedcomValue tag="DATE" level="2"/> <GedcomValue tag="PLAC" level="2"/> <br /></Text>
|
||
</Gedcom>
|
||
<SetVar name="gender" value="male" />
|
||
<if condition="@SEX=='F'">
|
||
<SetVar name="gender" value="female" />
|
||
</if>
|
||
<RepeatTag tag="FAMS">
|
||
<Gedcom id="@FAMS">
|
||
<Text style="label1"> <var var="I18N::translate('Marriage')" /> </Text>
|
||
<if condition="$gender=='male'"><Text style="namech"><GetPersonName id="@WIFE" /></Text></if>
|
||
<if condition="$gender=='female'"><Text style="namech"><GetPersonName id="@HUSB" /></Text></if>
|
||
<Text style="label1"><Gedcom id="MARR"><if condition="@DATE!=''"> <GedcomValue tag="DATE" level="2" /></if><if condition="@PLAC!=''"> <GedcomValue tag="PLAC" level="2" /></if></Gedcom> <br /></Text>
|
||
</Gedcom>
|
||
</RepeatTag>
|
||
<!-- End BIRT start DEAT -->
|
||
<Gedcom id="DEAT">
|
||
<Text style="label1"> <var var="I18N::translate('Death')" /> <GedcomValue tag="DATE" level="2"/> <GedcomValue tag="PLAC" level="2"/> <br /></Text>
|
||
</Gedcom>
|
||
</TextBox>
|
||
</Gedcom>
|
||
<SetVar name="familyChildNumber" value="$familyChildNumber+1" />
|
||
</RepeatTag>
|
||
</if>
|
||
</if>
|
||
</Gedcom>
|
||
</RepeatTag>
|
||
<SetVar name="personNumber" value="$personNumber + 1" />
|
||
<TextBox height="10" newline="1" padding="0"/>
|
||
</if>
|
||
</Relatives>
|
||
<!-- if the sources were on, print the source citations as footnotes -->
|
||
<if condition="$source_exist==1">
|
||
<NewPage />
|
||
<TextBox width="$width" height="20" newline="1">
|
||
<Text style="subheader"><var var="I18N::translate('Sources')" /><br /><br /></Text>
|
||
<FootnoteTexts />
|
||
</TextBox>
|
||
</if>
|
||
</Body>
|
||
<Footer>
|
||
<Cell align="rightrtl" style="date"><Now /></Cell>
|
||
</Footer>
|
||
</Doc>
|
||
</Report>
|