summaryrefslogtreecommitdiff
path: root/resources/xml/reports
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@webtrees.net>2019-01-25 17:15:10 +0000
committerGreg Roach <fisharebest@webtrees.net>2019-01-25 19:09:59 +0000
commit9cad76450e19b542a70c3dfaef6fe5a028eaee70 (patch)
tree54e8c2173a6a661a19b790dddd73d9d7b68b8e25 /resources/xml/reports
parent37eb8894d5d4381f3fd9b791a53a32f0012b32ec (diff)
downloadwebtrees-9cad76450e19b542a70c3dfaef6fe5a028eaee70.tar.gz
webtrees-9cad76450e19b542a70c3dfaef6fe5a028eaee70.tar.bz2
webtrees-9cad76450e19b542a70c3dfaef6fe5a028eaee70.zip
Refactor core/custom modules
Diffstat (limited to 'resources/xml/reports')
-rw-r--r--resources/xml/reports/ahnentafel_report.xml485
-rw-r--r--resources/xml/reports/bdm_report.xml218
-rw-r--r--resources/xml/reports/birth_report.xml72
-rw-r--r--resources/xml/reports/cemetery_report.xml96
-rw-r--r--resources/xml/reports/change_report.xml134
-rw-r--r--resources/xml/reports/death_report.xml105
-rw-r--r--resources/xml/reports/descendancy_report.xml620
-rw-r--r--resources/xml/reports/fact_sources.xml365
-rw-r--r--resources/xml/reports/family_group_report.xml1127
-rw-r--r--resources/xml/reports/individual_ext_report.xml653
-rw-r--r--resources/xml/reports/individual_report.xml655
-rw-r--r--resources/xml/reports/marriage_report.xml117
-rw-r--r--resources/xml/reports/missing_facts_report.xml611
-rw-r--r--resources/xml/reports/occupation_report.xml100
-rw-r--r--resources/xml/reports/pedigree_report.xml1406
-rw-r--r--resources/xml/reports/relative_ext_report.xml148
16 files changed, 6912 insertions, 0 deletions
diff --git a/resources/xml/reports/ahnentafel_report.xml b/resources/xml/reports/ahnentafel_report.xml
new file mode 100644
index 0000000000..a273ba303d
--- /dev/null
+++ b/resources/xml/reports/ahnentafel_report.xml
@@ -0,0 +1,485 @@
+<?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=='on'">
+ <!-- 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=='on'">
+ <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=='on'">
+ <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=='on'">
+ <!-- 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=='on'">
+ <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=='on'">
+ <!-- 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=='on'">
+ <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=='on'">
+ <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=='on'">
+ <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=='on'">
+ <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=='on'">
+ <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=='on'">
+ <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=='on'">
+ <!-- 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>
+ <!-- Only show children once for each couple -->
+ <if condition="$individual == @WIFE || @WIFE == ''">
+ <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=='on'">
+ <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>
diff --git a/resources/xml/reports/bdm_report.xml b/resources/xml/reports/bdm_report.xml
new file mode 100644
index 0000000000..e030fdfc72
--- /dev/null
+++ b/resources/xml/reports/bdm_report.xml
@@ -0,0 +1,218 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<Report>
+ <Title><var var="I18N::translate('Vital records')" /></Title>
+ <Description><var var="I18N::translate('A report of vital records for a given date or place.')" /></Description>
+ <Input name="name" lookup="NAME" type="text"><var var="I18N::translate('Name')" /></Input>
+ <Input name="bdmplace" lookup="PLAC" type="text"><var var="I18N::translate('Place')" /></Input>
+ <Input name="birthdate1" lookup="DATE" type="text"><var var="I18N::translate('Birth date range start')" /></Input>
+ <Input name="birthdate2" lookup="DATE" type="text"><var var="I18N::translate('Birth date range end')" /></Input>
+ <Input name="deathdate1" lookup="DATE" type="text"><var var="I18N::translate('Death date range start')" /></Input>
+ <Input name="deathdate2" lookup="DATE" type="text"><var var="I18N::translate('Death date range end')" /></Input>
+ <Input name="sortby" type="select" default="BIRT:DATE" options="NAME=>I18N::translate('sort by name')|BIRT:DATE=>I18N::translate('sort by date of birth')|DEAT:DATE=>I18N::translate('sort by date of death')"><var var="I18N::translate('Sort order')" /></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="15" style="b" />
+ <!-- Page numbers text -->
+ <Style name="pagenum" font="$fonts" size="8"/>
+ <!-- Standard text -->
+ <Style name="text" font="$fonts" size="9"/>
+ <!-- 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"/>
+ <Style name="small" font="$fonts" size="7"/>
+ <Style name="label" font="$fonts" size="10" style="b" />
+
+ <Doc pageSize="$pageSize" orientation="landscape">
+ <Header>
+ <Cell align="center" newline="1" style="header">
+ <var var="I18N::translate('Vital records')" />
+ <if condition="$name!=''">
+ : <var var="name" />
+ </if>
+ <if condition="$bdmplace!=''">
+ : <var var="bdmplace" />
+ </if>
+ </Cell>
+ <Cell align="rightrtl" height="10" newline="1" style="pagenum"><var var="I18N::translate('Page')" /> <PageNum /> <var var="I18N::translate('of')" /> <TotalPages /></Cell>
+ <!-- Name -->
+ <SetVar name="fill" value="" />
+ <if condition="$sortby=='NAME'">
+ <SetVar name="fill" value="#AAAAAA" />
+ </if>
+ <TextBox bgcolor="$fill" border="1" height="12" width="205">
+ <Text style="label"><var var="I18N::translate('Name')" /></Text>
+ </TextBox>
+ <!-- Birth -->
+ <SetVar name="fill" value="" />
+ <if condition="$sortby=='BIRT:DATE'">
+ <SetVar name="fill" value="#AAAAAA" />
+ </if>
+ <TextBox bgcolor="$fill" border="1" height="12" width="165">
+ <Text style="label">
+ <var var="I18N::translate('Birth')" />
+ <if condition="$birthdate1!='' or $birthdate2!=''">
+ [
+ <if condition="$birthdate1!=''">
+ <var var="birthdate1" />
+ </if>
+ -
+ <if condition="$birthdate2!=''">
+ <var var="birthdate2" />
+ </if>
+ ]
+ </if>
+ </Text>
+ </TextBox>
+ <!-- Marrige -->
+ <SetVar name="fill" value="" />
+ <if condition="$sortby=='MARR:DATE'">
+ <SetVar name="fill" value="#AAAAAA" />
+ </if>
+ <TextBox bgcolor="$fill" border="1" height="12" width="165">
+ <Text style="label"><var var="I18N::translate('Marriage')" /></Text>
+ </TextBox>
+ <!-- Death -->
+ <SetVar name="fill" value="" />
+ <if condition="$sortby=='DEAT:DATE'">
+ <SetVar name="fill" value="#AAAAAA" />
+ </if>
+ <TextBox bgcolor="$fill" border="1" height="12" newline="1">
+ <Text style="label">
+ <var var="I18N::translate('Death')" />
+ <if condition="$deathdate1!='' or $deathdate2!=''">
+ [
+ <if condition="$deathdate1!=''">
+ <var var="deathdate1" />
+ </if>
+ -
+ <if condition="$deathdate2!=''">
+ <var var="deathdate2" />
+ </if>
+ ]
+ </if>
+ </Text>
+ </TextBox>
+ </Header>
+
+ <Body>
+ <SetVar name="filter1" value="" />
+ <if condition="$bdmplace!=''">
+ <SetVar name="filter1" value=":PLAC CONTAINS $bdmplace" />
+ <!-- todo: print only if BDM place is the searched place - use OR - search also on marriage place and date -->
+ </if>
+
+ <List list="individual" filter1="$filter1" filter2="BIRT:DATE GTE $birthdate1" filter3="BIRT:DATE LTE $birthdate2" filter4="DEAT:DATE GTE $deathdate1" filter5="DEAT:DATE LTE $deathdate2" filter6="NAME CONTAINS $name" sortby="$sortby">
+ <SetVar name="spid" value="@ID" />
+
+ <TextBox width="205" height="46">
+ <Text style="text">
+ <GetPersonName id="" /><br />
+ </Text>
+ <Text style="small">
+ <var var="I18N::translate('Father')" />
+ : <Gedcom id="@FAMC"><GetPersonName id="@HUSB" /></Gedcom>
+ <br /> <var var="I18N::translate('Mother')" />
+ : <Gedcom id="@FAMC"><GetPersonName id="@WIFE" /></Gedcom>
+ </Text>
+ </TextBox>
+
+ <TextBox width="165" height="46" border="0">
+ <SetVar name="moreB" value="0" />
+ <Text style="small">
+ <RepeatTag tag="BIRT">
+ <if condition="$moreB==1">
+ <br />
+ </if>
+ <var var="I18N::translate('Date')" />
+ : <GedcomValue tag="BIRT:DATE" />
+ <br /> <var var="I18N::translate('Place')" />
+ : <GedcomValue tag="BIRT:PLAC" />
+ <br /> <var var="I18N::translate('Source')" />
+ : <RepeatTag tag="BIRT:SOUR">
+ <Gedcom id="@SOUR">
+ <GedcomValue tag="TITL" />
+ </Gedcom>
+ </RepeatTag>
+ <SetVar name="moreB" value="1" />
+ </RepeatTag>
+ </Text>
+ </TextBox>
+
+ <TextBox width="165" height="46" border="0">
+ <SetVar name="more" value="0" />
+ <RepeatTag tag="FAMS">
+ <Text style="small">
+ <Gedcom id="@FAMS">
+ <if condition="$more==1">
+ <br />
+ ________________________________
+ <br />
+ </if>
+ <!-- todo: print the dates, places and sources of all the FAM MARR records -->
+ <var var="I18N::translate('Date')" />
+ : <GedcomValue tag="MARR:DATE" />
+ <br /> <var var="I18N::translate('Place')" />
+ : <GedcomValue tag="MARR:PLAC" />
+ <br /> <var var="I18N::translate('Source')" />
+ : <RepeatTag tag="MARR:SOUR">
+ <Gedcom id="@SOUR">
+ <GedcomValue tag="TITL" />
+ </Gedcom>
+ </RepeatTag>
+ <br />
+ <var var="I18N::translate('Spouse')" />
+ :
+ <SetVar name="hpid" value="@HUSB"/>
+ <SetVar name="wpid" value="@WIFE"/>
+ <if condition="$spid==$wpid">
+ <GetPersonName id="@HUSB" />
+ </if>
+ <if condition="$spid==$hpid">
+ <GetPersonName id="@WIFE" />
+ </if>
+ <SetVar name="more" value="1" />
+ </Gedcom>
+ </Text>
+ </RepeatTag>
+ </TextBox>
+
+ <TextBox border="0" height="46" newline="1">
+ <SetVar name="moreD" value="0" />
+ <Text style="small">
+ <RepeatTag tag="DEAT">
+ <if condition="$moreD==1">
+ <br />
+ </if>
+ <var var="I18N::translate('Date')" />
+ : <GedcomValue tag="DEAT:DATE" />
+ <br /> <var var="I18N::translate('Place')" />
+ : <GedcomValue tag="DEAT:PLAC" />
+ <br /> <var var="I18N::translate('Source')" />
+ : <RepeatTag tag="DEAT:SOUR">
+ <Gedcom id="@SOUR">
+ <GedcomValue tag="TITL" />
+ </Gedcom>
+ </RepeatTag>
+ <SetVar name="moreD" value="1" />
+ </RepeatTag>
+ </Text>
+ </TextBox>
+ <Line />
+ </List>
+
+ <Cell align="rightrtl" height="24" newline="1" style="label"><br />
+ <var var="I18N::translate('Total individuals')" />
+ : <ListTotal />
+ </Cell>
+ </Body>
+ <Footer>
+ <Cell align="rightrtl" newline="1" style="date"><Now /></Cell>
+ </Footer>
+ </Doc>
+</Report>
diff --git a/resources/xml/reports/birth_report.xml b/resources/xml/reports/birth_report.xml
new file mode 100644
index 0000000000..2a65a1c057
--- /dev/null
+++ b/resources/xml/reports/birth_report.xml
@@ -0,0 +1,72 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<Report>
+ <Title><var var="I18N::translate('Births')" /></Title>
+ <Description><var var="I18N::translate('A report of individuals who were born in a given time or place.')" /></Description>
+ <Input name="name" lookup="NAME" type="text"><var var="I18N::translate('Name')" /></Input>
+ <Input name="birthplace" lookup="PLAC" type="text"><var var="I18N::translate('Birthplace contains')" /></Input>
+ <Input name="birthdate1" lookup="DATE" type="text"><var var="I18N::translate('Birth date range start')" /></Input>
+ <Input name="birthdate2" lookup="DATE" type="text"><var var="I18N::translate('Birth date range end')" /></Input>
+ <Input name="sortby" type="select" default="NAME" options="NAME=>I18N::translate('sort by name')|BIRT:DATE=>I18N::translate('sort by date of birth')"><var var="I18N::translate('Sort order')" /></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="16" style="b"/>
+ <!-- Page numbers text -->
+ <Style name="pagenum" font="$fonts" size="8"/>
+ <!-- Generated by style - required style name by the generator -->
+ <Style name="genby" font="$fonts" size="8"/>
+ <!-- Column labels -->
+ <Style name="label" font="$fonts" size="10" style="b"/>
+ <!-- Standard text -->
+ <Style name="text" font="$fonts" size="9"/>
+ <!-- Date text -->
+ <Style name="date" font="$fonts" size="8"/>
+
+ <Doc pageSize="$pageSize" orientation="landscape" >
+ <Header>
+ <Cell align="center" height="20" newline="1" style="header"><var var="I18N::translate('Births')" /></Cell>
+ <Cell align="rightrtl" newline="1" style="pagenum"><var var="I18N::translate('Page')" /> <PageNum /> <var var="I18N::translate('of')" /> <TotalPages /></Cell>
+
+ <SetVar name="fill" value="" />
+ <if condition="$sortby=='NAME'"><SetVar name="fill" value="#AAAAAA" /></if>
+ <Cell bgcolor="$fill" border="1" width="200" style="label"><var var="I18N::translate('Name')" /></Cell>
+
+ <SetVar name="fill" value="" />
+ <if condition="$sortby=='BIRT:DATE'"><SetVar name="fill" value="#AAAAAA" /></if>
+ <Cell bgcolor="$fill" border="1" width="100" style="label"><var var="I18N::translate('Date')" /></Cell>
+
+ <Cell border="1" width="150" style="label"><var var="I18N::translate('Place')" /></Cell>
+ <Cell border="1" newline="1" style="label"><var var="I18N::translate('Source')" /></Cell>
+ </Header>
+
+ <Body>
+ <List list="individual" filter1="BIRT:PLAC CONTAINS $birthplace" filter2="BIRT:DATE GTE $birthdate1" filter3="BIRT:DATE LTE $birthdate2" filter4="NAME CONTAINS $name" sortby="$sortby">
+ <Cell width="200" style="text"><GetPersonName id="" /></Cell>
+ <Cell width="100" style="text"><GedcomValue tag="BIRT:DATE" newline="1" /></Cell>
+ <Cell width="150" style="text"><GedcomValue tag="BIRT:PLAC" /></Cell>
+ <Cell newline="1" style="text">
+ <!-- Only with multiple sources use line feed (br) -->
+ <SetVar name="usebr" value="0"/>
+ <RepeatTag tag="BIRT:SOUR">
+ <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" />
+ <SetVar name="usebr" value="1"/>
+ </RepeatTag>
+ </Cell>
+ </List>
+ <Cell align="rightrtl" height="24" newline="1" style="label"><br/><var var="I18N::translate('Total individuals')"/>: <ListTotal/></Cell>
+ </Body>
+ <Footer>
+ <Cell align="rightrtl" newline="1" style="date"><Now/></Cell>
+ </Footer>
+ </Doc>
+</Report>
diff --git a/resources/xml/reports/cemetery_report.xml b/resources/xml/reports/cemetery_report.xml
new file mode 100644
index 0000000000..0c1d6ab905
--- /dev/null
+++ b/resources/xml/reports/cemetery_report.xml
@@ -0,0 +1,96 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<Report>
+ <Title><var var="I18N::translate('Cemeteries')" /></Title>
+ <Description><var var="I18N::translate('A report of individuals who were buried in a given place.')" /></Description>
+ <Input name="deathplace" lookup="PLAC" type="text"><var var="I18N::translate('Burial place contains')" /> </Input>
+ <Input name="sortby" type="select" default="NAME" options="NAME=>I18N::translate('sort by name')|DEAT:DATE=>I18N::translate('sort by date of death')"><var var="I18N::translate('Sort order')" /></Input>
+ <Input name="adlist" type="select" default="none" options="none=>I18N::translate('None')|_MARNM=>I18N::translate('Married name')|HUSB=>I18N::translate('Husband')"><var var="I18N::translate('Names')" /></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="16" style="b" />
+ <!-- Page numbers text -->
+ <Style name="pagenum" font="$fonts" size="8"/>
+ <!-- Standard text -->
+ <Style name="text" font="$fonts" size="9"/>
+ <!-- Column labels -->
+ <Style name="label" font="$fonts" size="10" style="b" />
+ <!-- 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"/>
+
+ <!-- landscape orientation -->
+ <SetVar name="namewidth" value="185"/>
+ <SetVar name="datewidth" value="95"/>
+ <SetVar name="placewidth" value="325"/>
+
+ <Doc pageSize="$pageSize" orientation="landscape">
+ <Header>
+ <Cell align="center" height="20" newline="1" style="header"><var var="I18N::translate('Burials')" /></Cell>
+ <Cell align="rightrtl" newline="1" style="pagenum"><var var="I18N::translate('Page')" /> <PageNum /> <var var="I18N::translate('of')" /> <TotalPages /></Cell>
+
+ <SetVar name="fill" value="" />
+ <if condition="$sortby=='NAME'"><SetVar name="fill" value="#AAAAAA" /></if>
+ <TextBox bgcolor="$fill" border="1" width="$namewidth">
+ <Text style="label"><var var="I18N::translate('Name')" /></Text>
+ </TextBox>
+
+ <SetVar name="fill" value="" />
+ <if condition="$sortby=='DEAT:DATE'"><SetVar name="fill" value="#AAAAAA" /></if>
+ <TextBox bgcolor="$fill" border="1" width="$datewidth">
+ <Text style="label"><var var="I18N::translate('Date of death')" /></Text>
+ </TextBox>
+
+ <SetVar name="fill" value="" />
+ <if condition="$sortby=='PLAC'"><SetVar name="fill" value="#AAAAAA" /></if>
+ <TextBox bgcolor="$fill" border="1" width="$placewidth">
+ <Text style="label"><var var="I18N::translate('Place')" /></Text>
+ </TextBox>
+
+ <TextBox border="1" newline="1">
+ <Text style="label"><var var="I18N::translate('Note')" /></Text>
+ </TextBox>
+ </Header>
+ <Body>
+ <List list="individual" filter1="BURI:PLAC CONTAINS $deathplace" filter2="REGEXP /\n1 BURI/" sortby="$sortby">
+ <Cell style="text" width="$namewidth"><GetPersonName id="" />
+ <if condition="$adlist=='_MARNM'">
+ <RepeatTag tag="NAME:_MARNM">
+ <br /><GedcomValue tag="_MARNM" />
+ </RepeatTag>
+ </if>
+ <if condition="($adlist=='HUSB') and (@SEX=='F')">
+ <RepeatTag tag="FAMS">
+ <Gedcom id="@FAMS:@HUSB">
+ <br /><GetPersonName id="" />
+ </Gedcom>
+ </RepeatTag>
+ </if>
+ </Cell>
+ <Cell style="text" width="$datewidth">
+ <GedcomValue tag="DEAT:DATE" newline="1" />
+ </Cell>
+ <Cell style="text" width="$placewidth">
+ <GedcomValue tag="BURI:CEME" />
+ <if condition="@BURI:CEME !== ''">, </if>
+ <GedcomValue tag="BURI:PLAC" />
+ </Cell>
+ <Cell newline="1" style="text">
+ <GedcomValue tag="BURI:NOTE" />
+ </Cell>
+ </List>
+ <Cell align="rightrtl" newline="1" style="label">
+ <br />
+ <var var="I18N::translate('Total individuals')" />: <ListTotal />
+ </Cell>
+ </Body>
+ <Footer>
+ <Cell align="rightrtl" newline="1" style="date"><Now /></Cell>
+ </Footer>
+ </Doc>
+</Report>
diff --git a/resources/xml/reports/change_report.xml b/resources/xml/reports/change_report.xml
new file mode 100644
index 0000000000..e98df58de0
--- /dev/null
+++ b/resources/xml/reports/change_report.xml
@@ -0,0 +1,134 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<Report>
+ <Title><var var="I18N::translate('Changes')" /></Title>
+ <Description><var var="I18N::translate('A report of recent and pending changes.')" /></Description>
+ <Input name="changeRangeStart" lookup="DATE" type="text" default="NOW-30"><var var="I18N::translate('Starting range of change dates')" /></Input>
+ <Input name="changeRangeEnd" lookup="DATE" type="text" default="NOW"><var var="I18N::translate('Ending range of change dates')" /></Input>
+ <Input name="sortby" type="select" default="CHAN" options="CHAN=>I18N::translate('sort by date')|NAME=>I18N::translate('sort by name')|BIRT:DATE=>I18N::translate('sort by date of birth')"><var var="I18N::translate('Sort order')" /></Input>
+ <Input name="pending" type="select" options="yes=>I18N::translate('yes')|no=>I18N::translate('no')"><var var="I18N::translate('Show pending changes')" /></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="pageorient" type="select" default="landscape" options="landscape=>I18N::translate('Landscape')|portrait=>I18N::translate('Portrait')"><var var="I18N::translate('Orientation')" /></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="16" style="b" />
+ <!-- Page numbers text -->
+ <Style name="pagenum" font="$fonts" size="8"/>
+ <!-- Standard text -->
+ <Style name="text" font="$fonts" size="9"/>
+ <!-- Column labels -->
+ <Style name="label" font="$fonts" size="10" style="b"/>
+ <!-- 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"/>
+ <Style name="header2" font="$fonts" size="12" style="b" />
+
+ <if condition="$pageorient=='landscape'">
+ <!-- landscape orientation -->
+ <SetVar name="namewidth" value="270"/>
+ <SetVar name="datewidth" value="300"/>
+ </if>
+
+ <if condition="$pageorient=='portrait'">
+ <!-- portrait orientation -->
+ <SetVar name="namewidth" value="210"/>
+ <SetVar name="datewidth" value="190"/>
+ </if>
+
+ <Doc pageSize="$pageSize" orientation="$pageorient" >
+ <Header>
+ <Cell align="center" height="20" newline="1" style="header"><var var="I18N::translate('Changes')" /></Cell>
+ <Cell align="rightrtl" newline="1" style="pagenum"><var var="I18N::translate('Page')" /> <PageNum /> <var var="I18N::translate('of')" /> <TotalPages /></Cell>
+ </Header>
+
+ <Body>
+
+ <!-- Pending changes section Header -->
+ <if condition="$pending=='yes'">
+ <Cell align="center" height="20" newline="1" style="header2"><var var="I18N::translate('Pending changes')" /></Cell>
+ <SetVar name="fill" value="" />
+ <if condition="$sortby=='NAME'"><SetVar name="fill" value="#AAAAAA" /></if>
+ <TextBox bgcolor="$fill" border="1" height="12" width="$namewidth">
+ <Text style="label"><var var="I18N::translate('Name')" /></Text>
+ </TextBox>
+
+ <TextBox border="1" height="12" width="$datewidth">
+ <Text style="label"><var var="I18N::translate('Differences')" /></Text>
+ </TextBox>
+
+ <SetVar name="fill" value="" />
+ <if condition="$sortby=='CHAN'"><SetVar name="fill" value="#AAAAAA" /></if>
+ <TextBox bgcolor="$fill" border="1" height="12" newline="1">
+ <Text style="label"><var var="I18N::translate('Last change')" /></Text>
+ </TextBox>
+
+ <!-- Pending Changes Section Data -->
+ <List list="pending" sortby="$sortby">
+ <TextBox height="12" width="$namewidth">
+ <Text style="text"><GetPersonName id="" /></Text>
+ </TextBox>
+ <TextBox height="12" width="$datewidth">
+ <Facts ignore="CHAN" families="0" diff="true">
+ <Text style="text">
+ <var var="@fact" /> <GedcomValue tag="@fact:DATE" /><br />
+ </Text>
+ </Facts>
+ </TextBox>
+ <TextBox height="12" newline="1">
+ <Text style="text"><GedcomValue tag="CHAN:DATE" /> <GedcomValue tag="CHAN:DATE:TIME" /> - <GedcomValue tag="CHAN:_WT_USER" /></Text>
+ </TextBox>
+
+ </List>
+ <Cell align="rightrtl" height="25" newline="1" style="label">
+ <var var="I18N::translate('Total pending changes: ')" /><ListTotal /><br />
+ </Cell>
+ </if>
+
+ <!-- Recent Changes Section Header -->
+ <Cell align="center" height="20" newline="1" style="header2"><var var="I18N::translate('Recent changes')" /> <var var="changeRangeStart" date="1" /> - <var var="changeRangeEnd" date="1" /></Cell>
+ <SetVar name="fill" value="" />
+ <if condition="$sortby=='NAME'"><SetVar name="fill" value="#AAAAAA" /></if>
+ <TextBox bgcolor="$fill" border="1" height="12" width="$namewidth">
+ <Text style="label"><var var="I18N::translate('Name')" /></Text>
+ </TextBox>
+
+ <SetVar name="fill" value="" />
+ <if condition="$sortby=='BIRT:DATE'"><SetVar name="fill" value="#AAAAAA" /></if>
+ <TextBox bgcolor="$fill" border="1" height="12" width="$datewidth">
+ <Text style="label"><var var="I18N::translate('Birth')" /> - <var var="I18N::translate('Death')" /></Text>
+ </TextBox>
+
+ <SetVar name="fill" value="" />
+ <if condition="$sortby=='CHAN'"><SetVar name="fill" value="#AAAAAA" /></if>
+ <TextBox bgcolor="$fill" border="1" height="12" newline="1">
+ <Text style="label"><var var="I18N::translate('Last change')" /></Text>
+ </TextBox>
+
+ <!-- Recent Changes Section Data -->
+ <List list="individual" filter1="CHAN:DATE LTE $changeRangeEnd" filter2="CHAN:DATE GTE $changeRangeStart" sortby="$sortby">
+ <TextBox height="12" width="$namewidth">
+ <Text style="text"><GetPersonName id="" /></Text>
+ </TextBox>
+
+ <TextBox height="12" width="$datewidth">
+ <Text style="text"><var var="I18N::translate('Birth')" />: <GedcomValue tag="BIRT:DATE" /><br /><var var="I18N::translate('Death')" />: <GedcomValue tag="DEAT:DATE" /></Text>
+ </TextBox>
+
+ <TextBox height="12" newline="1">
+ <Text style="text"><GedcomValue tag="CHAN:DATE" /> <GedcomValue tag="CHAN:DATE:TIME" /> - <GedcomValue tag="CHAN:_WT_USER" /></Text>
+ </TextBox>
+ </List>
+
+ <Cell align="rightrtl" height="25" newline="1" style="label">
+ <var var="I18N::translate('Total accepted changes: ')" /><ListTotal />
+ </Cell>
+ </Body>
+ <Footer>
+ <Cell align="rightrtl" newline="1" style="date"><Now /></Cell>
+ </Footer>
+ </Doc>
+</Report>
diff --git a/resources/xml/reports/death_report.xml b/resources/xml/reports/death_report.xml
new file mode 100644
index 0000000000..a3e7c6f953
--- /dev/null
+++ b/resources/xml/reports/death_report.xml
@@ -0,0 +1,105 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<Report>
+ <Title><var var="I18N::translate('Deaths')" /></Title>
+ <Description><var var="I18N::translate('A report of individuals who died in a given time or place.')" /></Description>
+ <Input name="name" lookup="NAME" type="text"><var var="I18N::translate('Name')" /></Input>
+ <Input name="deathplace" lookup="PLAC" type="text"><var var="I18N::translate('Death place contains')" /></Input>
+ <Input name="deathdate1" lookup="DATE" type="text"><var var="I18N::translate('Death date range start')" /></Input>
+ <Input name="deathdate2" lookup="DATE" type="text"><var var="I18N::translate('Death date range end')" /></Input>
+ <Input name="sortby" type="select" default="NAME" options="NAME=>I18N::translate('sort by name')|DEAT:DATE=>I18N::translate('sort by date of death')"><var var="I18N::translate('Sort order')" /></Input>
+ <Input name="adlist" type="select" default="none" options="none=>I18N::translate('None')|_MARNM=>I18N::translate('Married name')|HUSB=>I18N::translate('Husband')"><var var="I18N::translate('Names')" /></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="16" style="b" />
+ <!-- Page numbers text -->
+ <Style name="pagenum" font="$fonts" size="8" />
+ <!-- Standard text -->
+ <Style name="text" font="$fonts" size="9" />
+ <!-- Column labels -->
+ <Style name="label" font="$fonts" size="10" style="b"/>
+ <!-- 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"/>
+
+ <Doc pageSize="$pageSize" orientation="landscape">
+ <Header>
+ <Cell align="center" height="20" newline="1" style="header"><var var="I18N::translate('Deaths')" /></Cell>
+ <Cell align="rightrtl" newline="1" style="pagenum"><var var="I18N::translate('Page')" /> <PageNum /> <var var="I18N::translate('of')" /> <TotalPages /></Cell>
+
+ <SetVar name="fill" value="" />
+ <if condition="$sortby=='NAME'"><SetVar name="fill" value="#AAAAAA" /></if>
+ <TextBox bgcolor="$fill" border="1" width="200">
+ <Text style="label"><var var="I18N::translate('Name')" /></Text>
+ </TextBox>
+
+ <SetVar name="fill" value="" />
+ <if condition="$sortby=='DEAT:DATE'">
+ <SetVar name="fill" value="#AAAAAA" />
+ </if>
+ <TextBox bgcolor="$fill" border="1" width="100">
+ <Text style="label"><var var="I18N::translate('Date')" /></Text>
+ </TextBox>
+
+ <TextBox border="1" width="150">
+ <Text style="label"><var var="I18N::translate('Place')" /></Text>
+ </TextBox>
+
+ <TextBox border="1" newline="1">
+ <Text style="label"><var var="I18N::translate('Source')" /></Text>
+ </TextBox>
+ </Header>
+
+ <Body>
+ <List list="individual" filter1="DEAT:PLAC CONTAINS $deathplace" filter2="DEAT:DATE GTE $deathdate1" filter3="DEAT:DATE LTE $deathdate2" filter4="NAME CONTAINS $name" filter5="REGEXP /\n1 DEAT/" sortby="$sortby">
+ <TextBox width="200">
+ <Text style="text"><GetPersonName id="" />
+ <if condition="$adlist=='_MARNM'">
+ <RepeatTag tag="NAME:_MARNM">
+ <br /><GedcomValue tag="_MARNM" />
+ </RepeatTag>
+ </if>
+ <if condition="($adlist=='HUSB') and (@SEX=='F')">
+ <RepeatTag tag="FAMS">
+ <Gedcom id="@FAMS:@HUSB">
+ <br /><GetPersonName id="" />
+ </Gedcom>
+ </RepeatTag>
+ </if>
+ </Text>
+ </TextBox>
+ <TextBox width="100">
+ <Text style="text"><GedcomValue tag="DEAT:DATE" newline="1" /></Text>
+ </TextBox>
+ <TextBox width="150">
+ <Text style="text"><GedcomValue tag="DEAT:PLAC" /></Text>
+ </TextBox>
+ <TextBox newline="1">
+ <!-- Only with multiple sources use line feed (br) -->
+ <SetVar name="usebr" value="0"/>
+ <Text style="text">
+ <RepeatTag tag="DEAT:SOUR">
+ <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" />
+ <SetVar name="usebr" value="1"/>
+ </RepeatTag>
+ </Text>
+ </TextBox>
+ </List>
+ <Cell align="rightrtl" height="24" newline="1" style="label"><br/><var var="I18N::translate('Total individuals')"/>: <ListTotal/></Cell>
+ </Body>
+ <Footer>
+ <Cell align="rightrtl" newline="1" style="date"><Now/></Cell>
+ </Footer>
+ </Doc>
+</Report>
diff --git a/resources/xml/reports/descendancy_report.xml b/resources/xml/reports/descendancy_report.xml
new file mode 100644
index 0000000000..966b4514ce
--- /dev/null
+++ b/resources/xml/reports/descendancy_report.xml
@@ -0,0 +1,620 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<Report>
+ <Title><var var="I18N::translate('Descendants')" /></Title>
+ <Description><var var="I18N::translate('A report of an individual’s descendants, in a narrative style.')" /></Description>
+ <Input name="pid" lookup="INDI" type="text" default=""><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="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="18"/>
+ <!-- Page numbers text -->
+ <Style name="pagenum" font="$fonts" size="8"/>
+ <!-- Standard text -->
+ <Style name="text" font="$fonts" size="9"/>
+ <!-- Source text - FootnoteTexts - required style name by the generator -->
+ <Style name="footnote" font="$fonts" size="8"/>
+ <!-- Links to sources - required style name by the generator -->
+ <Style name="footnotenum" font="$fonts" size="7"/>
+ <!-- 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"/>
+ <Style name="subheader" font="$fonts" size="12" style="b" />
+ <Style name="label1" font="$fonts" size="8"/>
+ <Style name="label2" font="$fonts" size="10"/>
+ <Style name="name" font="$fonts" size="9"/>
+ <Style name="name1" font="$fonts" size="14"/>
+
+ <SetVar name="personNumber" value="1" />
+ <SetVar name="childNumber" value="2" />
+ <SetVar name="generation" value="0" />
+ <!-- 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('Descendants 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="descendants" sortby="generation" maxgen="$maxgen">
+ <SetVar name="showPerson" value="F" />
+ <RepeatTag tag="FAMS">
+ <Gedcom id="@FAMS:@CHIL">
+ <SetVar name="showPerson" value="T" />
+ </Gedcom>
+ </RepeatTag>
+ <if condition="$showPerson=='T'">
+ <if condition="$generation!=@generation">
+ <Cell align="center" height="20" newline="1" style="subheader"><var var="I18N::translate('Generation ')" /> <Generation /></Cell>
+ <SetVar name="generation" value="@generation" />
+ </if>
+ <TextBox border="" width="25" height="40">
+ <Text style="name"><var var="personNumber" />.</Text>
+ </TextBox>
+
+ <TextBox border="" height="40" 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>
+ <SetVar name="printPeriod" value="false" />
+ <SetVar name="gender" value="male" />
+ <if condition="@SEX=='F'">
+ <SetVar name="gender" value="female" />
+ </if>
+ <SetVar name="birtExists" value="false" />
+ <Gedcom id="BIRT">
+ <SetVar name="birtExists" value="true" />
+ <SetVar name="printPeriod" value="true" />
+ <if condition="$gender=='male'">
+ <Text style="label1"> <var var="I18N::translateContext('MALE', 'was born')" /> </Text>
+ </if>
+ <if condition="$gender=='female'">
+ <Text style="label1"> <var var="I18N::translateContext('FEMALE', 'was born')" /> </Text>
+ </if>
+ <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>
+ <if condition="@DATE!=''">
+ <Text style="label1"> <var var=" " /> <GedcomValue tag="DATE" level="2" /></Text>
+ </if>
+ <if condition="@PLAC!=''">
+ <Text style="label1"> <var var="I18N::translate(' in ')" /> <GedcomValue tag="PLAC" level="2" /></Text>
+ </if>
+ </Gedcom>
+ <Gedcom id="DEAT">
+ <SetVar name="printPeriod" value="true" />
+ <if condition="$birtExists=='true'">
+ <Text style="label1"> <var var="I18N::translate('and')" /></Text>
+ </if>
+ <if condition="$gender=='male'">
+ <Text style="label1"> <var var="I18N::translateContext('MALE', 'died')" /> </Text>
+ </if>
+ <if condition="$gender=='female'">
+ <Text style="label1"> <var var="I18N::translateContext('FEMALE', 'died')" /> </Text>
+ </if>
+ <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>
+ <if condition="@DATE!=''">
+ <Text style="label1"> <var var=" " /> <GedcomValue tag="DATE" level="2" /></Text>
+ </if>
+ <if condition="@PLAC!=''">
+ <Text style="label1"> <var var="I18N::translate(' in ')" /> <GedcomValue tag="PLAC" level="2" /></Text>
+ </if>
+ </Gedcom>
+ <SetVar name="printPronoun" value="false" />
+ <if condition="$printPeriod=='true'">
+ <Text style="label1">.</Text>
+ <SetVar name="printPronoun" value="true" />
+ </if>
+ <RepeatTag tag="FAMS">
+ <SetVar name="printPeriod" value="false" />
+ <Gedcom id="@FAMS">
+ <SetVar name="marrExists" value="false" />
+ <if condition="$gender=='male'">
+ <Gedcom id="MARR">
+ <SetVar name="marrExists" value="true" />
+ <if condition="$printPronoun=='true'" >
+ <Text style="label1"> <var var="I18N::translate('He married')" /> </Text>
+ </if>
+ <if condition="$printPronoun=='false'" >
+ <Text style="label1"> <var var="I18N::translateContext('MALE', 'married')" /> </Text>
+ </if>
+ <SetVar name="printPeriod" value="true" />
+ <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>
+ </Gedcom>
+ <if condition="$marrExists=='true'">
+ <Gedcom id="@WIFE">
+ <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>
+ <Gedcom id="@FAMC">
+ <Text style="label1"> <var var="I18N::translate('daughter of')" /></Text>
+ <Text style="name"> <GetPersonName id="@HUSB" /> </Text>
+ <Gedcom id="@HUSB">
+ <Gedcom id="@FAMS:@WIFE">
+ <Text style="label1"> <var var="I18N::translate('and')" /></Text>
+ </Gedcom>
+ </Gedcom>
+ <Text style="name"> <GetPersonName id="@WIFE" /> </Text>
+ </Gedcom>
+ </Gedcom>
+ </if>
+ </if>
+ <if condition="$gender=='female'">
+ <Gedcom id="MARR">
+ <SetVar name="marrExists" value="true" />
+ <if condition="$printPronoun=='true'" >
+ <Text style="label1"> <var var="I18N::translate('She married')" /> </Text>
+ </if>
+ <if condition="$printPronoun=='false'" >
+ <Text style="label1"> <var var="I18N::translateContext('FEMALE', 'married')" /> </Text>
+ </if>
+ <SetVar name="printPeriod" value="true" />
+ <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>
+ </Gedcom>
+ <if condition="$marrExists=='true'">
+ <Gedcom id="@HUSB">
+ <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>
+ <Gedcom id="@FAMC">
+ <Text style="label1"> <var var="I18N::translate('son of')" /></Text>
+ <Text style="name"> <GetPersonName id="@HUSB" /></Text>
+ <Gedcom id="@HUSB">
+ <Gedcom id="@FAMS:@WIFE">
+ <Text style="label1"> <var var="I18N::translate('and')" /></Text>
+ </Gedcom>
+ </Gedcom>
+ <Text style="name"> <GetPersonName id="@WIFE" /></Text>
+ </Gedcom>
+ </Gedcom>
+ </if>
+ </if>
+ <Gedcom id="MARR">
+ <Text style="label1"> <var var=" " /></Text>
+ <if condition="@DATE!=''">
+ <SetVar name="printPeriod" value="true" />
+ <Text style="label1"> <var var=" " /> <GedcomValue tag="DATE" level="2"/></Text>
+ </if>
+ <if condition="@PLAC!=''">
+ <SetVar name="printPeriod" value="true" />
+ <Text style="label1"> <var var="I18N::translate(' in ')" /> <GedcomValue tag="PLAC" level="2"/></Text>
+ </if>
+ </Gedcom>
+ <if condition="$printPeriod=='true'">
+ <Text style="label1">.</Text>
+ <SetVar name="printPronoun" value="true" />
+ </if>
+ <if condition="$marrExists=='true'">
+ <if condition="$gender=='male'">
+ <Gedcom id="@WIFE">
+ <SetVar name="printPeriod" value="false" />
+ <SetVar name="birtExist" value="false" />
+ <SetVar name="printPronoun" value="true" />
+ <Gedcom id="BIRT">
+ <if condition="$printPronoun=='true'">
+ <SetVar name="printPeriod" value="true" />
+ <Text style="label1"> <var var="I18N::translate('She was born')" /></Text>
+ <SetVar name="printPronoun" value="false" />
+ </if>
+ <SetVar name="birtExist" value="true" />
+ <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>
+ <if condition="@DATE!=''">
+ <Text style="label1"> <var var=" " /> <GedcomValue tag="DATE" level="2" /></Text>
+ </if>
+ <if condition="@PLAC!=''">
+ <Text style="label1"> <var var="I18N::translate(' in ')" /> <GedcomValue tag="PLAC" level="2" /></Text>
+ </if>
+ </Gedcom>
+ <Gedcom id="DEAT">
+ <if condition="$printPronoun=='true'">
+ <Text style="label1"> <var var="I18N::translate('She ')" /></Text>
+ <SetVar name="printPronoun" value="false" />
+ </if>
+ <SetVar name="printPeriod" value="true" />
+ <if condition="$birtExist=='true'">
+ <Text style="label1"> <var var="I18N::translate('and')" /></Text>
+ </if>
+ <Text style="label1"> <var var="I18N::translateContext('FEMALE', 'died')" /> </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>
+ <if condition="@DATE!=''">
+ <Text style="label1"> <var var=" " /> <GedcomValue tag="DATE" level="2" /></Text>
+ </if>
+ <if condition="@PLAC!=''">
+ <Text style="label1"> <var var="I18N::translate(' in ')" /> <GedcomValue tag="PLAC" level="2" /></Text>
+ </if>
+ </Gedcom>
+ <if condition="$printPeriod=='true'">
+ <Text style="label1">.</Text>
+ <SetVar name="printPronoun" value="true" />
+ </if>
+ </Gedcom>
+ </if>
+ <if condition="$gender=='female'">
+ <Gedcom id="@HUSB">
+ <SetVar name="printPronoun" value="true" />
+ <SetVar name="printPeriod" value="false" />
+ <SetVar name="birtExist" value="false" />
+ <Gedcom id="BIRT">
+ <SetVar name="printPeriod" value="true" />
+ <if condition="$printPronoun=='true'">
+ <Text style="label1"> <var var="I18N::translate('He was born')" /></Text>
+ <SetVar name="printPronoun" value="false" />
+ </if>
+ <SetVar name="birtExist" value="true" />
+ <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>
+ <if condition="@DATE!=''">
+ <Text style="label1"> <var var=" " /> <GedcomValue tag="DATE" level="2" /></Text>
+ </if>
+ <if condition="@PLAC!=''">
+ <Text style="label1"> <var var="I18N::translate(' in ')" /> <GedcomValue tag="PLAC" level="2" /></Text>
+ </if>
+ </Gedcom>
+ <Gedcom id="DEAT">
+ <if condition="$printPronoun=='true'">
+ <Text style="label1"> <var var="I18N::translate('He ')" /></Text>
+ <SetVar name="printPronoun" value="true" />
+ </if>
+ <SetVar name="printPeriod" value="true" />
+ <if condition="$birtExist=='true'">
+ <Text style="label1"> <var var="I18N::translate('and')" /></Text>
+ </if>
+ <Text style="label1"> <var var="I18N::translateContext('MALE', 'died')" /> </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>
+ <if condition="@DATE!=''">
+ <Text style="label1"> <var var=" " /> <GedcomValue tag="DATE" level="2" /></Text>
+ </if>
+ <if condition="@PLAC!=''">
+ <Text style="label1"> <var var="I18N::translate(' in ')" /> <GedcomValue tag="PLAC" level="2" /></Text>
+ </if>
+ </Gedcom>
+ <if condition="$printPeriod=='true'">
+ <Text style="label1">.</Text>
+ <SetVar name="printPronoun" value="true" />
+ </if>
+ </Gedcom>
+ </if>
+ </if>
+ </Gedcom>
+ </RepeatTag>
+ </TextBox>
+
+ <RepeatTag tag="FAMS">
+ <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>
+
+ <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="name"><GetPersonName id="@HUSB" /></Text>
+ <Text style="label1"> <var var="I18N::translate('and')" /> </Text>
+ <Text style="name"><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>
+ <SetVar name="showChildNumber" value="false" />
+ <RepeatTag tag="FAMS">
+ <Gedcom id="@FAMS:@CHIL">
+ <SetVar name="showChildNumber" value="true" />
+ </Gedcom>
+ </RepeatTag>
+ <TextBox left="25" height="20" width="25">
+ <if condition="$showChildNumber=='true'">
+ <Text style="name"><var var="childNumber" />.</Text>
+ <SetVar name="childNumber" value="$childNumber + 1" />
+ </if>
+ </TextBox>
+
+ <TextBox height="20" newline="1">
+ <Text style="label1"><var var="familyChildRoman" /></Text>
+ <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>
+ <Text style="label1"> </Text>
+ </if>
+ <Gedcom id="BIRT">
+ <Text style="label1"> <var var="I18N::translate('Birth')" />: <GedcomValue tag="DATE" level="2"/> <GedcomValue tag="PLAC" level="2"/></Text>
+ </Gedcom>
+ <SetVar name="showMarraige" value="T" />
+ <RepeatTag tag="FAMS">
+ <Gedcom id="@FAMS:@CHIL">
+ <SetVar name="showMarraige" value="F" />
+ </Gedcom>
+ </RepeatTag>
+ <if condition="$showMarraige=='T'">
+ <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="name"><GetPersonName id="@WIFE" /></Text>
+ </if>
+ <if condition="$gender=='female'">
+ <Text style="name"><GetPersonName id="@HUSB" /></Text>
+ </if>
+ <Gedcom id="MARR">
+ <if condition="@DATE!=''">
+ <Text style="label1">, <GedcomValue tag="DATE" level="2" /></Text>
+ </if>
+ <if condition="@PLAC!=''">
+ <Text style="label1">, <GedcomValue tag="PLAC" level="2" /></Text>
+ </if>
+ </Gedcom>
+ </Gedcom>
+ </RepeatTag>
+ </if>
+ <Gedcom id="DEAT">
+ <Text style="label1"> <var var="I18N::translate('Death')" />: <GedcomValue tag="DATE" level="2"/> <GedcomValue tag="PLAC" level="2"/></Text>
+ </Gedcom>
+ </TextBox>
+ </Gedcom>
+ <SetVar name="familyChildNumber" value="$familyChildNumber+1" />
+ </RepeatTag>
+ </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 newline="1">
+ <Text style="subheader"><var var="I18N::translate('Sources')" /><br /><br /></Text>
+ <FootnoteTexts />
+ </TextBox>
+ </if>
+ </Body>
+ <Footer>
+ <Cell align="rightrtl" newline="1" style="date"><Now /></Cell>
+ </Footer>
+ </Doc>
+</Report>
diff --git a/resources/xml/reports/fact_sources.xml b/resources/xml/reports/fact_sources.xml
new file mode 100644
index 0000000000..3ecbc6d1dc
--- /dev/null
+++ b/resources/xml/reports/fact_sources.xml
@@ -0,0 +1,365 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<Report>
+ <Title><var var="I18N::translate('Source')" /></Title>
+ <Description><var var="I18N::translate('A report of facts which are supported by a given source.')" /></Description>
+ <Input name="sid" lookup="SOUR" default="" type="text"><var var="I18N::translate('Find a source')" /></Input>
+ <Input name="stype" type="select" default="facts" options="facts=>I18N::translate('facts')|records=>I18N::translate('records')"><var var="I18N::translate('Source type')" /></Input>
+ <Input name="sortby" type="select" default="BIRT:DATE" options="NAME=>I18N::translate('sort by name')|BIRT:DATE=>I18N::translate('sort by date of birth')"><var var="I18N::translate('Sort order')" /></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="18" style="b" />
+ <!-- Source Title -->
+ <Style name="header2" font="$fonts" size="14" style="b" />
+ <!-- Name of the List Type. INDI or FAM -->
+ <Style name="listtype" font="$fonts" size="12" style="b" />
+ <!-- Page numbers text -->
+ <Style name="pagenum" font="$fonts" size="8" />
+ <!-- Generated by style - required style name by the generator -->
+ <Style name="genby" font="$fonts" size="8" />
+ <!-- Date Text - CSS Style name -->
+ <Style name="date" font="$fonts" size="8"/>
+ <!-- Column list labels - CSS Style name -->
+ <Style name="list_label" font="$fonts" size="9" style="b"/>
+ <!-- List values - CSS Style name -->
+ <Style name="list_value" font="$fonts" size="8"/>
+
+ <SetVar name="nameindi" value="200" />
+ <SetVar name="datebirth" value="120" />
+ <SetVar name="namefam" value="$nameindi + $datebirth" />
+ <SetVar name="fact" value="100" />
+ <SetVar name="dateevent" value="110" />
+ <SetVar name="vspace" value="5" />
+ <SetVar name="printedsource" value="0" />
+ <SetVar name="moresourcespaceindi" value="$nameindi + $datebirth" />
+ <SetVar name="ignore" value="CHAN,CHIL,FAMC,FAMS,HUSB,OBJE,RESN,SEX,SOUR,TITL,WIFE,_UID,_WT_OBJE_SORT"/>
+
+ <Doc pageSize="$pageSize" orientation="landscape">
+ <Header>
+ <Cell align="center" newline="1" style="header"><var var="I18N::translate('Source')" /></Cell>
+ <Cell align="rightrtl" newline="1" style="pagenum"><var var="I18N::translate('Page')" /> <PageNum /> <var var="I18N::translate('of')" /> <TotalPages /></Cell>
+ <!-- Source Title -->
+ <Gedcom id="$sid">
+ <Cell align="center" newline="1" style="header2"><GedcomValue tag="TITL" /></Cell>
+ </Gedcom>
+ </Header>
+
+ <Body>
+ <if condition="$stype=='facts'">
+ <!-- List type -->
+ <Cell align="center" newline="1" style="listtype"><var var="I18N::translate('Individuals')" /></Cell>
+ <TextBox height="$vspace" newline="1" padding="0"/>
+
+ <!-- Individual Name -->
+ <SetVar name="fill" value="" />
+ <if condition="$sortby=='NAME'">
+ <SetVar name="fill" value="#AAAAAA" />
+ </if>
+ <Cell bgcolor="$fill" border="1" style="list_label" width="$nameindi"><var var="I18N::translate('Name')" /></Cell>
+ <!-- Birth date -->
+ <SetVar name="fill" value="" />
+ <if condition="$sortby=='BIRT:DATE'">
+ <SetVar name="fill" value="#AAAAAA" />
+ </if>
+ <Cell bgcolor="$fill" border="1" style="list_label" width="$datebirth"><var var="I18N::translate('Date of birth')" /></Cell>
+ <!-- Name of the fact that contains the source -->
+ <Cell border="1" style="list_label" width="$fact"><var var="I18N::translate('Event')" /></Cell>
+ <!-- Date of the fact -->
+ <Cell border="1" style="list_label" width="$dateevent"><var var="I18N::translate('Date')" /></Cell>
+ <!-- Detailed source text -->
+ <Cell border="1" newline="1" style="list_label"><var var="I18N::translate('Citation details')" /></Cell>
+ <TextBox height="$vspace" newline="1" padding="0"/>
+
+ <!-- Individual List -->
+ <List list="individual" filter1=":SOUR CONTAINS @$sid@" sortby="$sortby">
+ <SetVar name="moresource" value="0" />
+ <SetVar name="printsource" value="0" />
+ <!-- Printed List counter -->
+ <SetVar name="printedsource" value="$printedsource + 1" />
+
+ <!-- Individual Name -->
+ <Cell style="list_value" width="$nameindi"><GetPersonName id="" /></Cell>
+ <!-- Birth date -->
+ <Cell style="list_value" width="$datebirth"><GedcomValue tag="BIRT:DATE" /></Cell>
+ <Facts ignore="$ignore">
+ <SetVar name="printfact" value="0" />
+ <RepeatTag tag="@fact:SOUR">
+ <Gedcom id="@SOUR">
+ <if condition="@ID==$sid">
+ <SetVar name="printfact" value="1" />
+ </if>
+ </Gedcom>
+ </RepeatTag>
+
+ <if condition="$printfact==1">
+ <SetVar name="printsource" value="0" />
+ <!-- Indent the fact line if more then one fact has source -->
+ <if condition="$moresource==1">
+ <Cell style="list_value" width="$moresourcespaceindi"> </Cell>
+ </if>
+
+ <!-- Name of the fact that contains the source -->
+ <Cell style="list_value" width="$fact"><var var="@fact" /></Cell>
+ <!-- Date of the fact -->
+ <Cell style="list_value" width="$dateevent"><GedcomValue tag="@fact:DATE"/></Cell>
+ <!-- Detailed source text -->
+ <Cell style="list_value" newline="1">
+ <SetVar name="repeatedSource" value="0" />
+ <RepeatTag tag="@fact:SOUR">
+ <Gedcom id="@SOUR">
+ <if condition="@ID==$sid">
+ <SetVar name="printsource" value="1" />
+ </if>
+ </Gedcom>
+ <if condition="$printsource==1">
+ <if condition="$repeatedSource==1">; </if>
+ <if condition="@SOUR:PAGE!='' or @SOUR:DATA:TEXT!=''">
+ <SetVar name="repeatedSource" value="1" />
+ </if>
+ <GedcomValue tag="SOUR:PAGE"/>
+ <if condition="@SOUR:DATA:TEXT!=''">
+ <if condition="@SOUR:PAGE!=''">
+ <br />
+ </if>
+ <GedcomValue tag="SOUR:DATA:TEXT" />
+ </if>
+ <SetVar name="printsource" value="0" />
+ </if>
+ </RepeatTag>
+ </Cell>
+ <SetVar name="moresource" value="1" />
+ </if>
+ <SetVar name="printfact" value="0" />
+ </Facts>
+ </List>
+
+ <!-- Print the list counter -->
+ <if condition="$printedsource==0">
+ <Cell align="rightrtl" newline="1" style="list_label"><var var="I18N::translate('Total individuals')"/>: 0</Cell>
+ </if>
+ <if condition="$printedsource > 0">
+ <TextBox height="$vspace" newline="1" padding="0"/>
+ <Cell align="rightrtl" newline="1" style="list_label"><var var="I18N::translate('Total individuals')"/>: <var var="printedsource" /></Cell>
+ </if>
+
+ <NewPage />
+ <!-- Family List -->
+ <TextBox height="$vspace" newline="1" padding="0"/>
+ <Cell align="center" newline="1" style="listtype"><var var="I18N::translate('Families')" /></Cell>
+ <TextBox height="$vspace" newline="1" padding="0"/>
+ <!-- Family Name -->
+ <Cell border="1" style="list_label" width="$namefam"><var var="I18N::translate('Name')" /></Cell>
+ <!-- Name of the fact that contains the source -->
+ <Cell border="1" style="list_label" width="$fact"><var var="I18N::translate('Event')" /></Cell>
+ <!-- Date of the fact -->
+ <Cell bgcolor="#AAAAAA" border="1" style="list_label" width="$dateevent"><var var="I18N::translate('Date')" /></Cell>
+ <!-- Detailed source text -->
+ <Cell border="1" newline="1" style="list_label"><var var="I18N::translate('Citation details')" /></Cell>
+
+ <!-- Family List -->
+ <TextBox height="$vspace" newline="1" padding="0"/>
+ <SetVar name="printedsource" value="0" />
+ <List list="family" filter1=":SOUR CONTAINS @$sid@" sortby="MARR:DATE">
+ <SetVar name="moresource" value="0" />
+ <SetVar name="printsource" value="0" />
+ <!-- Printed List counter -->
+ <SetVar name="printedsource" value="$printedsource + 1" />
+
+ <!-- Family Name -->
+ <Cell style="list_value" width="$namefam"><GetPersonName id="" /></Cell>
+ <Facts ignore="$ignore">
+ <SetVar name="printfact" value="0" />
+ <RepeatTag tag="@fact:SOUR">
+ <Gedcom id="@SOUR">
+ <if condition="@ID==$sid">
+ <SetVar name="printfact" value="1" />
+ </if>
+ </Gedcom>
+ </RepeatTag>
+
+ <if condition="$printfact==1">
+ <SetVar name="printsource" value="0" />
+ <!-- Indent the fact line if more then one fact has source -->
+ <if condition="$moresource==1">
+ <Cell style="list_value" width="$namefam"> </Cell>
+ </if>
+
+ <!-- Name of the fact that contains the source -->
+ <Cell style="list_value" width="$fact">
+ <if condition="@fact=='MARR'">
+ <!-- Print different type of marriages -->
+ <if condition="@MARR:TYPE==''">
+ <var var="@fact" />
+ </if>
+ <if condition="@MARR:TYPE=='Religious'">
+ <var var="I18N::translate('Religious marriage')" />
+ </if>
+ <if condition="@MARR:TYPE=='Civil'">
+ <var var="I18N::translate('Civil marriage')" />
+ </if>
+ <if condition="@MARR:TYPE=='Partners'">
+ <var var="I18N::translate('Registered partnership')" />
+ </if>
+ </if>
+ <if condition="@fact!='MARR'">
+ <var var="@fact" />
+ </if>
+ </Cell>
+
+ <!-- Date of the fact -->
+ <Cell style="list_value" width="$dateevent"><GedcomValue tag="@fact:DATE"/></Cell>
+ <!-- Detailed source text -->
+ <Cell style="list_value" newline="1">
+ <SetVar name="repeatedSource" value="0" />
+ <RepeatTag tag="@fact:SOUR">
+ <Gedcom id="@SOUR">
+ <if condition="@ID==$sid">
+ <SetVar name="printsource" value="1" />
+ </if>
+ </Gedcom>
+ <if condition="$printsource==1">
+ <if condition="$repeatedSource==1">; </if>
+ <if condition="@SOUR:PAGE!='' or @SOUR:DATA:TEXT!=''">
+ <SetVar name="repeatedSource" value="1" />
+ </if>
+ <GedcomValue tag="SOUR:PAGE"/>
+ <if condition="@SOUR:DATA:TEXT!=''">
+ <if condition="@SOUR:PAGE!=''">
+ <br />
+ </if>
+ <GedcomValue tag="SOUR:DATA:TEXT" />
+ </if>
+ <SetVar name="printsource" value="0" />
+ </if>
+ </RepeatTag>
+ </Cell>
+ <SetVar name="moresource" value="1" />
+ </if>
+ <SetVar name="printfact" value="0" />
+ </Facts>
+ </List>
+
+ <!-- Print the list counter -->
+ <if condition="$printedsource==0">
+ <Cell align="rightrtl" newline="1" style="list_label"><var var="I18N::translate('Total families')"/>: 0</Cell>
+ </if>
+ <if condition="$printedsource > 0">
+ <TextBox height="$vspace" newline="1" padding="0"/>
+ <Cell align="rightrtl" newline="1" style="list_label"><var var="I18N::translate('Total families')"/>: <var var="printedsource" /></Cell>
+ </if>
+ <TextBox height="$vspace" newline="1" padding="0"/>
+ </if>
+ <if condition="$stype=='records'">
+ <!-- List type -->
+ <Cell align="center" newline="1" style="listtype"><var var="I18N::translate('Individuals')" /></Cell>
+ <TextBox height="$vspace" newline="1" padding="0"/>
+
+ <!-- Individual Name -->
+ <SetVar name="fill" value="" />
+ <if condition="$sortby=='NAME'">
+ <SetVar name="fill" value="#AAAAAA" />
+ </if>
+ <Cell bgcolor="$fill" border="1" style="list_label" width="$nameindi"><var var="I18N::translate('Name')" /></Cell>
+ <!-- Birth date -->
+ <SetVar name="fill" value="" />
+ <if condition="$sortby=='BIRT:DATE'">
+ <SetVar name="fill" value="#AAAAAA" />
+ </if>
+ <Cell bgcolor="$fill" border="1" style="list_label" width="$fact"><var var="I18N::translate('Date of birth')" /></Cell>
+ <Cell border="1" style="list_label" width="$dateevent"><var var="I18N::translate('Place of birth')" /></Cell>
+ <Cell border="1" style="list_label" width="$fact"><var var="I18N::translate('Date of death')" /></Cell>
+ <Cell border="1" style="list_label" width="$dateevent"><var var="I18N::translate('Place of death')" /></Cell>
+ <!-- Detailed source text -->
+ <Cell border="1" newline="1" style="list_label"><var var="I18N::translate('Citation details')" /></Cell>
+ <TextBox height="$vspace" newline="1" padding="0"/>
+
+ <!-- Individual List -->
+ <List list="individual" filter1="SOUR CONTAINS @$sid@" sortby="$sortby">
+ <!-- Printed List counter -->
+ <SetVar name="printedsource" value="$printedsource + 1" />
+ <!-- Individual Name -->
+ <Cell style="list_value" width="$nameindi"><GetPersonName id="" /></Cell>
+ <!-- Birth date -->
+ <Cell style="list_value" width="$dateevent"><GedcomValue tag="BIRT:DATE" /></Cell>
+ <!-- Birth place -->
+ <Cell style="list_value" width="$fact"><GedcomValue tag="BIRT:PLAC" /></Cell>
+ <!-- Death date -->
+ <Cell style="list_value" width="$dateevent"><GedcomValue tag="DEAT:DATE" /></Cell>
+ <!-- Death place -->
+ <Cell style="list_value" width="$fact"><GedcomValue tag="DEAT:PLAC" /></Cell>
+ <!-- Detailed source text -->
+ <Cell style="list_value" newline="1">
+ <GedcomValue tag="SOUR:PAGE"/>
+ <if condition="@SOUR:DATA:TEXT!=''">
+ <br /><GedcomValue tag="SOUR:DATA:TEXT"/>
+ </if>
+ </Cell>
+ </List>
+
+ <!-- Print the list counter -->
+ <if condition="$printedsource==0">
+ <Cell align="rightrtl" newline="1" style="list_label"><var var="I18N::translate('Total individuals')"/>: 0</Cell>
+ </if>
+ <if condition="$printedsource > 0">
+ <TextBox height="$vspace" newline="1" padding="0"/>
+ <Cell align="rightrtl" newline="1" style="list_label"><var var="I18N::translate('Total individuals')"/>: <var var="printedsource" /></Cell>
+ </if>
+ <NewPage />
+ <!-- Family List -->
+ <TextBox height="$vspace" newline="1" padding="0"/>
+ <Cell align="center" newline="1" style="listtype"><var var="I18N::translate('Families')" /></Cell>
+ <TextBox height="$vspace" newline="1" padding="0"/>
+ <!-- Family Name -->
+ <Cell border="1" style="list_label" width="$namefam"><var var="I18N::translate('Name')" /></Cell>
+ <!-- Name of the fact that contains the source -->
+ <Cell bgcolor="#AAAAAA" border="1" style="list_label" width="$dateevent"><var var="I18N::translate('Date of marriage')" /></Cell>
+ <!-- Date of the fact -->
+ <Cell border="1" style="list_label" width="$fact"><var var="I18N::translate('Place of marriage')" /></Cell>
+ <!-- Detailed source text -->
+ <Cell border="1" newline="1" style="list_label"><var var="I18N::translate('Citation details')" /></Cell>
+
+ <!-- Family List -->
+ <TextBox height="$vspace" newline="1" padding="0"/>
+ <SetVar name="printedsource" value="0" />
+ <List list="family" filter1="SOUR CONTAINS @$sid@" sortby="MARR:DATE">
+ <SetVar name="printsource" value="0" />
+ <!-- Printed List counter -->
+ <SetVar name="printedsource" value="$printedsource + 1" />
+
+ <!-- Family Name -->
+ <Cell style="list_value" width="$namefam"><GetPersonName id="" /></Cell>
+ <!-- Date of the fact -->
+ <Cell style="list_value" width="$dateevent"><GedcomValue tag="MARR:DATE"/></Cell>
+ <!-- Place of the fact -->
+ <Cell style="list_value" width="$fact"><GedcomValue tag="MARR:PLAC"/></Cell>
+ <!-- Detailed source text -->
+ <Cell style="list_value" newline="1">
+ <GedcomValue tag="SOUR:PAGE"/>
+ <if condition="@SOUR:DATA:TEXT!=''">
+ <br /><GedcomValue tag="SOUR:DATA:TEXT"/>
+ </if>
+ </Cell>
+ </List>
+
+ <!-- Print the list counter -->
+ <if condition="$printedsource==0">
+ <Cell align="rightrtl" newline="1" style="list_label"><var var="I18N::translate('Total families')"/>: 0</Cell>
+ </if>
+ <if condition="$printedsource > 0">
+ <TextBox height="$vspace" newline="1" padding="0"/>
+ <Cell align="rightrtl" newline="1" style="list_label"><var var="I18N::translate('Total families')"/>: <var var="printedsource" /></Cell>
+ </if>
+ <TextBox height="$vspace" newline="1" padding="0"/>
+ </if>
+ </Body>
+
+ <Footer>
+ <Cell align="rightrtl" newline="1" style="date"><Now/></Cell>
+ </Footer>
+
+ </Doc>
+</Report>
diff --git a/resources/xml/reports/family_group_report.xml b/resources/xml/reports/family_group_report.xml
new file mode 100644
index 0000000000..3b8e7c1782
--- /dev/null
+++ b/resources/xml/reports/family_group_report.xml
@@ -0,0 +1,1127 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<Report>
+ <Title><var var="I18N::translate('Family')" /></Title>
+ <Description><var var="I18N::translate('A report of family members and their details.')" /></Description>
+ <!-- User inputs for the report -->
+ <Input name="famid" lookup="FAM" type="text" default=""><var var="I18N::translate('Family')" /></Input>
+ <Input name="sources" type="checkbox" default="1"><var var="I18N::translate('Show sources')" /></Input>
+ <Input name="notes" type="checkbox" default="1"><var var="I18N::translate('Show notes')" /></Input>
+ <Input name="photos" type="checkbox" default="1"><var var="I18N::translate('Show photos')" /></Input>
+ <Input name="blanks" type="checkbox" default="0"><var var="I18N::translate('Print basic events when blank')" /></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="colors" type="checkbox" default="1"><var var="I18N::translate('Use colors')"/></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="18" />
+ <!-- Generated by style - required style name by the generator -->
+ <Style name="genby" font="$fonts" size="8" />
+ <!-- Links to sources - required style name by the generator -->
+ <Style name="footnotenum" font="$fonts" size="6" />
+ <!-- Source text - FootnoteTexts - required style name by the generator -->
+ <Style name="footnote" font="$fonts" size="8" />
+ <!-- Page numbers text -->
+ <Style name="pagenum" font="$fonts" size="8" />
+ <!-- Page Header text -->
+ <Style name="pageheader" font="$fonts" size="14"/>
+ <!-- Individual names in text boxes -->
+ <Style name="name" font="$fonts" size="10" style="b"/>
+ <!-- Standard text -->
+ <Style name="text" font="$fonts" size="9" />
+ <!-- Facts text -->
+ <Style name="fact" font="$fonts" size="8"/>
+ <!-- Date -->
+ <Style name="date" font="$fonts" size="8"/>
+
+ <SetVar name="ignore" value="CHAN,NAME,SEX,SOUR,NOTE,OBJE,RESN,FAMC,FAMS,TITL,CHIL,HUSB,WIFE,MARR,BIRT,CHR,BAPM,DEAT,CREM,BURI,_UID,_WT_OBJE_SORT" />
+ <!-- Setup colors -->
+ <!-- Section title background color -->
+ <SetVar name="sectionbox_bgcolor" value="#AAAAAA"/>
+ <SetVar name="malebox_bgcolor" value=""/>
+ <SetVar name="femalebox_bgcolor" value=""/>
+ <SetVar name="unknowngenderbox_bgcolor" value=""/>
+ <SetVar name="factbox_bgcolor" value=""/>
+ <SetVar name="tcolor" value=""/>
+ <!-- Use colors -->
+ <if condition="$colors==1">
+ <!-- Section title background color -->
+ <SetVar name="sectionbox_bgcolor" value="#9CA3D4"/>
+ <!-- Male background color -->
+ <SetVar name="malebox_bgcolor" value="#D6E0EA"/>
+ <!-- Female background color -->
+ <SetVar name="femalebox_bgcolor" value="#E9DAF1"/>
+ <!-- Unknown gender -->
+ <SetVar name="unknowngenderbox_bgcolor" value="#FFFFFF"/>
+ <!-- Fact boxes -->
+ <SetVar name="factbox_bgcolor" value="#D1D9FF"/>
+ <!-- Text color - black -->
+ <SetVar name="tcolor" value="#000000"/>
+ </if>
+
+ <!-- space height -->
+ <SetVar name="sheight" value="15"/>
+
+ <!-- set the default widths -->
+ <SetVar name="width" value="0" />
+ <SetVar name="width1" value="0" />
+ <SetVar name="width2" value="0" />
+ <SetVar name="dwidth" value="185" />
+ <SetVar name="pwidth" value="436" />
+ <!-- reset the widths if the photos are shown -->
+ <if condition="$photos==1">
+ <SetVar name="width" value="433" />
+ <SetVar name="width1" value="418" />
+ <SetVar name="width2" value="233" />
+ </if>
+ <!-- New Page for Sources controller if SOUR exist -->
+ <SetVar name="source_exist" value="0"/>
+
+ <!-- start of main report document -->
+ <Doc pageSize="$pageSize">
+ <SetVar name="husbid" value="@HUSB" />
+ <SetVar name="wifeid" value="@WIFE" />
+
+ <Header>
+ <Cell align="center" newline="1" style="header"><var var="I18N::translate('Family')" /></Cell>
+ <Cell align="rightrtl" newline="1" style="pagenum"><var var="I18N::translate('Page')" /> <PageNum /> <var var="I18N::translate('of')" /> <TotalPages /></Cell>
+ </Header>
+
+ <Body>
+ <Gedcom id="$famid">
+ <!-- Print the Family name with Level 1 sources -->
+ <TextBox newline="1">
+ <Text style="pageheader"><var var="I18N::translate('Family')" /> <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>
+ </TextBox>
+
+ <!-- Show all family images -->
+ <if condition="$photos==1">
+ <!-- This is an image not a text, so don't use text padding
+ Reset also the last height after all the images has been printed
+ set pagecheck to 0, the image function check is too
+ and "trick" the X-position back to the margin with a newline -->
+ <TextBox left="$pwidth" newline="1" pagecheck="0" padding="0" reseth="1" width="80">
+ <RepeatTag tag="OBJE">
+ <Image file="@FILE" width="80" ln="N"/>
+ </RepeatTag>
+ </TextBox>
+ </if>
+
+ <!-- Print the husband -->
+ <Gedcom id="@HUSB">
+ <if condition="$photos==1">
+ <HighlightedImage left="$pwidth" width="80"/>
+ </if>
+ <!-- print the name and any level 1 sources -->
+ <TextBox bgcolor="$malebox_bgcolor" border="1" width="$width" newline="1">
+ <Text color="$tcolor" style="text"><var var="I18N::translate('Husband')" /> </Text>
+ <Text color="$tcolor" 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>
+ </TextBox>
+
+ <if condition="$blanks==1 or @BIRT:DATE!='' or @BIRT:PLAC!=''">
+ <!-- print Birth -->
+ <TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth">
+ <Text color="$tcolor" style="fact"><var var="I18N::translate('Birth')" /> </Text>
+ <Text color="$tcolor" style="text"><GedcomValue tag="BIRT:DATE" /> </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>
+ </TextBox>
+ <TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1">
+ <Text color="$tcolor" style="text"><GedcomValue tag="BIRT:PLAC" /></Text>
+ </TextBox>
+ </if>
+ <if condition="$blanks==1 or @CHR:DATE!='' or @CHR:PLAC!=''">
+ <!-- print Christening -->
+ <TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth">
+ <Text color="$tcolor" style="fact"><var var="I18N::translate('Christening')" /> </Text>
+ <Text color="$tcolor" style="text"><GedcomValue tag="CHR:DATE" /> </Text>
+ <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>
+ </TextBox>
+ <TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1">
+ <Text color="$tcolor" style="text"><GedcomValue tag="CHR:PLAC" /></Text>
+ </TextBox>
+ </if>
+
+ <!-- print all of the other facts -->
+ <Facts ignore="$ignore">
+ <TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth">
+ <Text color="$tcolor" style="fact"><var var="@fact" /> </Text>
+ <Text color="$tcolor" style="text"><GedcomValue tag="@fact:DATE" /> </Text>
+ <if condition="$sources==1">
+ <RepeatTag tag="@fact: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>
+ </TextBox>
+ <if condition="@desc!=''">
+ <TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1">
+ <Text color="$tcolor" style="text">
+ <if condition="@desc=='Y'">
+ <var var="I18N::translate('yes')" /> <GedcomValue tag="@fact:PLAC"/>
+ </if>
+ <if condition="@desc=='N'">
+ <var var="I18N::translate('no')" /> <GedcomValue tag="@fact:PLAC"/>
+ </if>
+ <if condition="@fact!='ASSO' and @desc!='Y' and @desc!='N' and @PLAC!=''">
+ <GedcomValue tag="@desc"/> <GedcomValue tag="@fact:PLAC"/>
+ </if>
+ <if condition="@fact!='ASSO' and @desc!='Y' and @desc!='N' and @PLAC==''">
+ <GedcomValue tag="@desc"/>
+ </if>
+ </Text>
+ <Gedcom id="@ASSO">
+ <GetPersonName id=""/>
+ </Gedcom>
+ </TextBox>
+ </if>
+ <if condition="@desc==''">
+ <TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1">
+ <Text color="$tcolor" style="text">
+ <if condition="@PLAC!='' and @TEMP!=''">
+ <GedcomValue tag="@fact:PLAC"/> <GedcomValue tag="@fact:TEMP" />
+ </if>
+ <if condition="@PLAC!='' and @TEMP==''">
+ <GedcomValue tag="@fact:PLAC" />
+ </if>
+ <if condition="@PLAC=='' and @TEMP!=''">
+ <GedcomValue tag="@fact:TEMP" />
+ </if>
+ </Text>
+ </TextBox>
+ </if>
+ </Facts>
+
+ <if condition="$blanks==1 or @DEAT:DATE!='' or @DEAT:PLAC!=''">
+ <!-- print Death -->
+ <TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth">
+ <Text color="$tcolor" style="fact"><var var="I18N::translate('Death')" /> </Text>
+ <Text color="$tcolor" style="text"><GedcomValue tag="DEAT:DATE" /> </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>
+ </TextBox>
+ <TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1">
+ <Text color="$tcolor" style="text"><GedcomValue tag="DEAT:PLAC" /></Text>
+ </TextBox>
+ </if>
+ <!-- indicates that a Level 1 CREM record is not present -->
+ <SetVar name="level1CREM" value="0" />
+ <if condition="$blanks==1 or @CREM:DATE!='' or @CREM:PLAC!=''">
+ <!-- print Cremation -->
+ <TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth">
+ <Text color="$tcolor" style="fact"><var var="I18N::translate('Cremation')" /> </Text>
+ <Text color="$tcolor" style="text"><GedcomValue tag="CREM:DATE" /> </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>
+ </TextBox>
+ <TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1">
+ <Text color="$tcolor" style="text"><GedcomValue tag="CREM:PLAC" /></Text>
+ </TextBox>
+ <!-- indicates that a Level 1 CREM record is present -->
+ <SetVar name="level1CREM" value="1" />
+ </if>
+ <if condition="$blanks==1 or @BURI:CREM!='' or @BURI:DATE!='' or @BURI:PLAC!=''">
+ <!-- Look for Level 2 CREM subordinate to BURI (should have been at Level 1) -->
+ <if condition="@BURI:CREM!='' and $level1CREM!=1">
+ <TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth">
+ <Text color="$tcolor" style="fact"><var var="I18N::translate('Cremation')" /> </Text>
+ <Text color="$tcolor" style="text"> </Text>
+ </TextBox>
+ <TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1">
+ <Text color="$tcolor" style="text"> </Text>
+ </TextBox>
+ </if>
+ <!-- Now for the real BURI information -->
+ <TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth">
+ <Text color="$tcolor" style="fact"><var var="I18N::translate('Burial')" /> </Text>
+ <Text color="$tcolor" style="text"><GedcomValue tag="BURI:DATE" /> </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>
+ </TextBox>
+ <TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1">
+ <Text color="$tcolor" style="text"><GedcomValue tag="BURI:PLAC" /></Text>
+ </TextBox>
+ </if>
+
+ <Gedcom id="$famid">
+ <if condition="$blanks==1 or @MARR:DATE!='' or @MARR:PLAC!=''">
+ <!-- print Marriage -->
+ <TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth">
+ <Text color="$tcolor" style="fact"><var var="I18N::translate('Marriage')" /> </Text>
+ <Text color="$tcolor" style="text"><GedcomValue tag="MARR:DATE" /> </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>
+ </TextBox>
+ <TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1">
+ <Text color="$tcolor" style="text"><GedcomValue tag="MARR:PLAC" /></Text>
+ </TextBox>
+ </if>
+
+ <!-- print all of the other family facts -->
+ <Facts ignore="$ignore">
+ <TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth">
+ <Text color="$tcolor" style="fact"><var var="@fact" /> </Text>
+ <Text color="$tcolor" style="text"><GedcomValue tag="@fact:DATE" /> </Text>
+ <if condition="$sources==1">
+ <RepeatTag tag="@fact: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>
+ </TextBox>
+ <if condition="@desc!=''">
+ <TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1">
+ <Text color="$tcolor" style="text">
+ <if condition="@desc=='Y'">
+ <var var="I18N::translate('yes')" /> <GedcomValue tag="@fact:PLAC"/> <GedcomValue tag="@fact:TEMP" />
+ </if>
+ <if condition="@desc=='N'">
+ <var var="I18N::translate('no')" /> <GedcomValue tag="@fact:PLAC"/> <GedcomValue tag="@fact:TEMP" />
+ </if>
+ <if condition="@fact!='ASSO' and @desc!='Y' and @desc!='N' and @PLAC!='' and @TEMP!=''">
+ <GedcomValue tag="@desc"/> <GedcomValue tag="@fact:PLAC"/> <GedcomValue tag="@fact:TEMP" />
+ </if>
+ <if condition="@fact!='ASSO' and @desc!='Y' and @desc!='N' and @PLAC=='' and @TEMP!=''">
+ <GedcomValue tag="@desc"/> <GedcomValue tag="@fact:TEMP" />
+ </if>
+ <if condition="@fact!='ASSO' and @desc!='Y' and @desc!='N' and @PLAC!='' and @TEMP==''">
+ <GedcomValue tag="@desc"/> <GedcomValue tag="@fact:PLAC" />
+ </if>
+ <if condition="@fact!='ASSO' and @desc!='Y' and @desc!='N' and @PLAC=='' and @TEMP==''">
+ <GedcomValue tag="@desc" />
+ </if>
+ </Text>
+ <Gedcom id="@ASSO">
+ <GetPersonName id=""/>
+ </Gedcom>
+ </TextBox>
+ </if>
+ <if condition="@desc==''">
+ <TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1">
+ <Text color="$tcolor" style="text">
+ <if condition="@PLAC!='' and @TEMP!=''">
+ <GedcomValue tag="@fact:PLAC"/> <GedcomValue tag="@fact:TEMP" />
+ </if>
+ <if condition="@PLAC!='' and @TEMP==''">
+ <GedcomValue tag="@fact:PLAC" />
+ </if>
+ <if condition="@PLAC=='' and @TEMP!=''">
+ <GedcomValue tag="@fact:TEMP" />
+ </if>
+ </Text>
+ </TextBox>
+ </if>
+ </Facts>
+ </Gedcom>
+
+ <!-- print the father and mother of the main husband -->
+ <Gedcom id="@FAMC">
+ <TextBox bgcolor="$malebox_bgcolor" border="1" left="15" width="$width1" newline="1">
+ <Text color="$tcolor" style="fact"><var var="I18N::translate('Father')" /> </Text>
+ <Text color="$tcolor" style="name"><GetPersonName id="@HUSB" /></Text>
+ <Gedcom id="@HUSB">
+ <Text color="$tcolor" style="text"> (<var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE"/><Gedcom id="DEAT"> - <var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:DATE"/></Gedcom>)</Text>
+ </Gedcom>
+ </TextBox>
+ <TextBox bgcolor="$femalebox_bgcolor" border="1" left="15" width="$width1" newline="1">
+ <Text color="$tcolor" style="fact"><var var="I18N::translate('Mother')" /> </Text>
+ <Text color="$tcolor" style="name"><GetPersonName id="@WIFE" /></Text>
+ <Gedcom id="@WIFE">
+ <Text color="$tcolor" style="text"> (<var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE"/><Gedcom id="DEAT"> - <var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:DATE"/></Gedcom>)</Text>
+ </Gedcom>
+ </TextBox>
+ </Gedcom>
+ <!-- print any notes for the husband -->
+ <if condition="$notes==1">
+ <RepeatTag tag="NOTE">
+ <TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$width1" newline="1">
+ <Text color="$tcolor" style="name"><var var="I18N::translate('Note')" /> </Text>
+ <Text color="$tcolor" style="text"><GedcomValue tag="NOTE" /></Text>
+ </TextBox>
+ </RepeatTag>
+ </if>
+ <TextBox height="$sheight" newline="1"/>
+ </Gedcom>
+ <!-- end of main husband -->
+
+ <!-- Print the wife -->
+ <Gedcom id="@WIFE">
+ <if condition="$photos==1">
+ <HighlightedImage left="$pwidth" width="80"/>
+ </if>
+ <!-- print the name and sources -->
+ <TextBox bgcolor="$femalebox_bgcolor" border="1" width="$width" newline="1">
+ <Text color="$tcolor" style="text"><var var="I18N::translate('Wife')" /> </Text>
+ <Text color="$tcolor" 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>
+ </TextBox>
+
+ <if condition="$blanks==1 or @BIRT:DATE!='' or @BIRT:PLAC!=''">
+ <!-- print Birth -->
+ <TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth">
+ <Text color="$tcolor" style="fact"><var var="I18N::translate('Birth')" /> </Text>
+ <Text color="$tcolor" style="text"><GedcomValue tag="BIRT:DATE" /> </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>
+ </TextBox>
+ <TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1">
+ <Text color="$tcolor" style="text"><GedcomValue tag="BIRT:PLAC" /></Text>
+ </TextBox>
+ </if>
+ <if condition="$blanks==1 or @CHR:DATE!='' or @CHR:PLAC!=''">
+ <!-- print Christening -->
+ <TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth">
+ <Text color="$tcolor" style="fact"><var var="I18N::translate('Christening')" /> </Text>
+ <Text color="$tcolor" style="text"><GedcomValue tag="CHR:DATE" /> </Text>
+ <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>
+ </TextBox>
+ <TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1">
+ <Text color="$tcolor" style="text"><GedcomValue tag="CHR:PLAC" /></Text>
+ </TextBox>
+ </if>
+
+ <!-- print all of the other facts -->
+ <Facts ignore="$ignore">
+ <TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth">
+ <Text color="$tcolor" style="fact"><var var="@fact" /> </Text>
+ <Text color="$tcolor" style="text"><GedcomValue tag="@fact:DATE" /> </Text>
+ <if condition="$sources==1">
+ <RepeatTag tag="@fact: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>
+ </TextBox>
+ <if condition="@desc!=''">
+ <TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1">
+ <Text color="$tcolor" style="text">
+ <if condition="@desc=='Y'">
+ <var var="I18N::translate('yes')" /> <GedcomValue tag="@fact:PLAC"/>
+ </if>
+ <if condition="@desc=='N'">
+ <var var="I18N::translate('no')" /> <GedcomValue tag="@fact:PLAC"/>
+ </if>
+ <if condition="@fact!='ASSO' and @desc!='Y' and @desc!='N' and @PLAC!=''">
+ <GedcomValue tag="@desc"/> <GedcomValue tag="@fact:PLAC"/>
+ </if>
+ <if condition="@fact!='ASSO' and @desc!='Y' and @desc!='N' and @PLAC==''">
+ <GedcomValue tag="@desc"/>
+ </if>
+ </Text>
+ <Gedcom id="@ASSO">
+ <GetPersonName id=""/>
+ </Gedcom>
+ </TextBox>
+ </if>
+ <if condition="@desc==''">
+ <TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1">
+ <Text color="$tcolor" style="text">
+ <if condition="@PLAC!='' and @TEMP!=''">
+ <GedcomValue tag="@fact:PLAC"/> <GedcomValue tag="@fact:TEMP" />
+ </if>
+ <if condition="@PLAC!='' and @TEMP==''">
+ <GedcomValue tag="@fact:PLAC" />
+ </if>
+ <if condition="@PLAC=='' and @TEMP!=''">
+ <GedcomValue tag="@fact:TEMP" />
+ </if>
+ </Text>
+ </TextBox>
+ </if>
+ </Facts>
+
+ <if condition="$blanks==1 or @DEAT:DATE!='' or @DEAT:PLAC!=''">
+ <!-- print Death -->
+ <TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth">
+ <Text color="$tcolor" style="fact"><var var="I18N::translate('Death')" /> </Text>
+ <Text color="$tcolor" style="text"><GedcomValue tag="DEAT:DATE" /> </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>
+ </TextBox>
+ <TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1">
+ <Text color="$tcolor" style="text"><GedcomValue tag="DEAT:PLAC" /></Text>
+ </TextBox>
+ </if>
+ <!-- indicates that a Level 1 CREM record is not present -->
+ <SetVar name="level1CREM" value="0" />
+ <if condition="$blanks==1 or @CREM:DATE!='' or @CREM:PLAC!=''">
+ <!-- print Cremation -->
+ <TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth">
+ <Text color="$tcolor" style="fact"><var var="I18N::translate('Cremation')" /> </Text>
+ <Text color="$tcolor" style="text"><GedcomValue tag="CREM:DATE" /> </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>
+ </TextBox>
+ <TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1">
+ <Text color="$tcolor" style="text"><GedcomValue tag="CREM:PLAC" /></Text>
+ </TextBox>
+ <!-- indicates that a Level 1 CREM record is present -->
+ <SetVar name="level1CREM" value="1" />
+ </if>
+ <if condition="$blanks==1 or @BURI:CREM!='' or @BURI:DATE!='' or @BURI:PLAC!=''">
+ <!-- Look for Level 2 CREM subordinate to BURI (should have been at Level 1) -->
+ <if condition="@BURI:CREM!='' and $level1CREM!=1">
+ <TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth">
+ <Text color="$tcolor" style="fact"><var var="I18N::translate('Cremation')" /> </Text>
+ <Text color="$tcolor" style="text"> </Text>
+ </TextBox>
+ <TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1">
+ <Text color="$tcolor" style="text"> </Text>
+ </TextBox>
+ </if>
+ <!-- Now for the real BURI information -->
+ <TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth">
+ <Text color="$tcolor" style="fact"><var var="I18N::translate('Burial')" /> </Text>
+ <Text color="$tcolor" style="text"><GedcomValue tag="BURI:DATE" /> </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>
+ </TextBox>
+ <TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1">
+ <Text color="$tcolor" style="text"><GedcomValue tag="BURI:PLAC" /></Text>
+ </TextBox>
+ </if>
+
+ <!-- print the wife's parents -->
+ <Gedcom id="@FAMC">
+ <TextBox bgcolor="$malebox_bgcolor" border="1" left="15" width="$width1" newline="1">
+ <Text color="$tcolor" style="fact"><var var="I18N::translate('Father')" /> </Text>
+ <Text color="$tcolor" style="name"><GetPersonName id="@HUSB" /></Text>
+ <Gedcom id="@HUSB">
+ <Text color="$tcolor" style="text"> (<var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE"/><Gedcom id="DEAT"> - <var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:DATE"/></Gedcom>)</Text>
+ </Gedcom>
+ </TextBox>
+ <TextBox bgcolor="$femalebox_bgcolor" border="1" left="15" width="$width1" newline="1">
+ <Text color="$tcolor" style="fact"><var var="I18N::translate('Mother')" /> </Text>
+ <Text color="$tcolor" style="name"><GetPersonName id="@WIFE" /></Text>
+ <Gedcom id="@WIFE">
+ <Text color="$tcolor" style="text"> (<var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE"/><Gedcom id="DEAT"> - <var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:DATE"/></Gedcom>)</Text>
+ </Gedcom>
+ </TextBox>
+ </Gedcom>
+
+ <!-- print the wife's notes -->
+ <if condition="$notes==1">
+ <RepeatTag tag="NOTE">
+ <TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$width1" newline="1">
+ <Text color="$tcolor" style="name"><var var="I18N::translate('Note')" /> </Text>
+ <Text color="$tcolor" style="text"><GedcomValue tag="NOTE" /></Text>
+ </TextBox>
+ </RepeatTag>
+ </if>
+ <TextBox height="$sheight" newline="1"/>
+ </Gedcom>
+ <!-- end of main wife -->
+
+ <!-- print the children box in gray or color -->
+ <TextBox border="1" width="$width" newline="1" bgcolor="$sectionbox_bgcolor">
+ <Text color="$tcolor" style="text">
+ <var var="I18N::translate('Children')" />
+ </Text>
+ </TextBox>
+
+ <!-- find and print all of the children in the family -->
+ <RepeatTag tag="CHIL">
+ <Gedcom id="@CHIL">
+ <if condition="$photos==1">
+ <HighlightedImage left="$pwidth" width="80"/>
+ </if>
+ <!-- Son -->
+ <if condition="@SEX=='M'">
+ <TextBox bgcolor="$malebox_bgcolor" border="1" left="15" newline="1" width="$width1">
+ <Text color="$tcolor" style="text"><var var="I18N::translate('Son')"/> </Text>
+ <Text color="$tcolor" 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>
+ </TextBox>
+ </if>
+ <!-- Daughter -->
+ <if condition="@SEX=='F'">
+ <TextBox bgcolor="$femalebox_bgcolor" border="1" left="15" newline="1" width="$width1">
+ <Text color="$tcolor" style="text"><var var="I18N::translate('Daughter')"/> </Text>
+ <Text color="$tcolor" 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>
+ </TextBox>
+ </if>
+ <!-- Child -->
+ <if condition="@SEX=='U'">
+ <TextBox bgcolor="$unknowngenderbox_bgcolor" border="1" left="15" newline="1" width="$width1">
+ <Text color="$tcolor" style="text"><var var="I18N::translate('Gender')"/> <var var="I18N::translateContext('unknown gender', 'Unknown')"/> </Text>
+ <Text color="$tcolor" 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>
+ </TextBox>
+ </if>
+
+ <if condition="$blanks==1 or @BIRT:DATE!='' or @BIRT:PLAC!=''">
+ <!-- print Birth -->
+ <TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth">
+ <Text color="$tcolor" style="fact"><var var="I18N::translate('Birth')" /> </Text>
+ <Text color="$tcolor" style="text"><GedcomValue tag="BIRT:DATE" /> </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>
+ </TextBox>
+ <TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1">
+ <Text color="$tcolor" style="text"><GedcomValue tag="BIRT:PLAC" /></Text>
+ </TextBox>
+ </if>
+ <if condition="$blanks==1 or @CHR:DATE!='' or @CHR:PLAC!=''">
+ <!-- print Christening -->
+ <TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth">
+ <Text color="$tcolor" style="fact"><var var="I18N::translate('Christening')" /> </Text>
+ <Text color="$tcolor" style="text"><GedcomValue tag="CHR:DATE" /> </Text>
+ <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>
+ </TextBox>
+ <TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1">
+ <Text color="$tcolor" style="text"><GedcomValue tag="CHR:PLAC" /></Text>
+ </TextBox>
+ </if>
+
+ <!-- print all of the other facts -->
+ <Facts ignore="$ignore">
+ <TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth">
+ <Text color="$tcolor" style="fact"><var var="@fact" /> </Text>
+ <Text color="$tcolor" style="text"><GedcomValue tag="@fact:DATE" /> </Text>
+ <if condition="$sources==1">
+ <RepeatTag tag="@fact: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>
+ </TextBox>
+ <if condition="@desc!=''">
+ <TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1">
+ <Text color="$tcolor" style="text">
+ <if condition="@desc=='Y'">
+ <var var="I18N::translate('yes')" /> <GedcomValue tag="@fact:PLAC"/>
+ </if>
+ <if condition="@desc=='N'">
+ <var var="I18N::translate('no')" /> <GedcomValue tag="@fact:PLAC"/>
+ </if>
+ <if condition="@fact!='ASSO' and @desc!='Y' and @desc!='N' and @PLAC!=''">
+ <GedcomValue tag="@desc"/> <GedcomValue tag="@fact:PLAC"/>
+ </if>
+ <if condition="@fact!='ASSO' and @desc!='Y' and @desc!='N' and @PLAC==''">
+ <GedcomValue tag="@desc"/>
+ </if>
+ </Text>
+ <Gedcom id="@ASSO">
+ <GetPersonName id=""/>
+ </Gedcom>
+ </TextBox>
+ </if>
+ <if condition="@desc==''">
+ <TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1">
+ <Text color="$tcolor" style="text">
+ <if condition="@PLAC!='' and @TEMP!=''">
+ <GedcomValue tag="@fact:PLAC"/> <GedcomValue tag="@fact:TEMP" />
+ </if>
+ <if condition="@PLAC!='' and @TEMP==''">
+ <GedcomValue tag="@fact:PLAC" />
+ </if>
+ <if condition="@PLAC=='' and @TEMP!=''">
+ <GedcomValue tag="@fact:TEMP" />
+ </if>
+ </Text>
+ </TextBox>
+ </if>
+ </Facts>
+
+ <if condition="$blanks==1 or @DEAT:DATE!='' or @DEAT:PLAC!=''">
+ <!-- print Death -->
+ <TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth">
+ <Text color="$tcolor" style="fact"><var var="I18N::translate('Death')" /> </Text>
+ <Text color="$tcolor" style="text"><GedcomValue tag="DEAT:DATE" /> </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>
+ </TextBox>
+ <TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1">
+ <Text color="$tcolor" style="text"><GedcomValue tag="DEAT:PLAC" /></Text>
+ </TextBox>
+ </if>
+ <!-- indicates that a Level 1 CREM record is not present -->
+ <SetVar name="level1CREM" value="0" />
+ <if condition="$blanks==1 or @CREM:DATE!='' or @CREM:PLAC!=''">
+ <!-- print Cremation -->
+ <TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth">
+ <Text color="$tcolor" style="fact"><var var="I18N::translate('Cremation')" /> </Text>
+ <Text color="$tcolor" style="text"><GedcomValue tag="CREM:DATE" /> </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>
+ </TextBox>
+ <TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1">
+ <Text color="$tcolor" style="text"><GedcomValue tag="CREM:PLAC" /></Text>
+ </TextBox>
+ <!-- indicates that a Level 1 CREM record is present -->
+ <SetVar name="level1CREM" value="1" />
+ </if>
+ <if condition="$blanks==1 or @BURI:CREM!='' or @BURI:DATE!='' or @BURI:PLAC!=''">
+ <!-- Look for Level 2 CREM subordinate to BURI (should have been at Level 1) -->
+ <if condition="@BURI:CREM!='' and $level1CREM!=1">
+ <TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth">
+ <Text color="$tcolor" style="fact"><var var="I18N::translate('Cremation')" /> </Text>
+ <Text color="$tcolor" style="text"> </Text>
+ </TextBox>
+ <TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1">
+ <Text color="$tcolor" style="text"> </Text>
+ </TextBox>
+ </if>
+ <!-- Now for the real BURI information -->
+ <TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$dwidth">
+ <Text color="$tcolor" style="fact"><var var="I18N::translate('Burial')" /> </Text>
+ <Text color="$tcolor" style="text"><GedcomValue tag="BURI:DATE" /> </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>
+ </TextBox>
+ <TextBox bgcolor="$factbox_bgcolor" border="1" width="$width2" newline="1">
+ <Text color="$tcolor" style="text"><GedcomValue tag="BURI:PLAC" /></Text>
+ </TextBox>
+ </if>
+
+ <!-- set the $spid variable so that we know who this person is and can print the correct spouse later -->
+ <SetVar name="spid" value="@ID" />
+ <RepeatTag tag="FAMS">
+ <!-- get this child's family as spouse -->
+ <Gedcom id="@FAMS">
+ <if condition="$spid==@HUSB">
+ <TextBox bgcolor="$femalebox_bgcolor" border="1" left="15" width="$width1" newline="1">
+ <Text color="$tcolor" style="fact"><var var="I18N::translate('Wife')" /> </Text>
+ <Text color="$tcolor" style="name"><GetPersonName id="@WIFE" /></Text>
+ <Gedcom id="@WIFE">
+ <Text color="$tcolor" style="text"> (<var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE"/><Gedcom id="DEAT"> - <var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:DATE"/></Gedcom>)</Text>
+ </Gedcom>
+ </TextBox>
+ </if>
+ <if condition="$spid==@WIFE">
+ <TextBox bgcolor="$malebox_bgcolor" border="1" left="15" width="$width1" newline="1">
+ <Text color="$tcolor" style="fact"><var var="I18N::translate('Husband')" /> </Text>
+ <Text color="$tcolor" style="name"><GetPersonName id="@HUSB" /></Text>
+ <Gedcom id="@HUSB">
+ <Text color="$tcolor" style="text"> (<var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE"/><Gedcom id="DEAT"> - <var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:DATE"/></Gedcom>)</Text>
+ </Gedcom>
+ </TextBox>
+ </if>
+ </Gedcom>
+ </RepeatTag>
+
+ <!-- print any notes for the child -->
+ <if condition="$notes==1">
+ <RepeatTag tag="NOTE">
+ <TextBox bgcolor="$factbox_bgcolor" border="1" left="15" width="$width1" newline="1">
+ <Text color="$tcolor" style="name"><var var="I18N::translate('Note')" /> </Text>
+ <Text color="$tcolor" style="text"><GedcomValue tag="NOTE" /></Text>
+ </TextBox>
+ </RepeatTag>
+ </if>
+ </Gedcom>
+ <!-- end of child gedcom -->
+ <TextBox height="$sheight" newline="1"/>
+ </RepeatTag>
+ <!-- end of children repeat -->
+ </Gedcom>
+ <!-- end of main family gedcom -->
+
+ <!-- if the sources were on, print the source citations as footnotes -->
+ <if condition="$source_exist==1">
+ <NewPage />
+ <TextBox newline="1" width="$width">
+ <Text style="pageheader"><br /><var var="I18N::translate('Sources')" /><br /><br /></Text>
+ <FootnoteTexts />
+ </TextBox>
+ </if>
+ </Body>
+ <Footer>
+ <Cell align="rightrtl" newline="1" style="date"><Now /></Cell>
+ </Footer>
+ </Doc>
+</Report>
diff --git a/resources/xml/reports/individual_ext_report.xml b/resources/xml/reports/individual_ext_report.xml
new file mode 100644
index 0000000000..4321cca271
--- /dev/null
+++ b/resources/xml/reports/individual_ext_report.xml
@@ -0,0 +1,653 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<Report>
+ <Title><var var="I18N::translate('Related families')" /></Title>
+ <Description><var var="I18N::translate('A report of the families that are closely related to an individual.')" /></Description>
+ <Input name="pid" type="text" default="" lookup="INDI"><var var="I18N::translate('Individual')"/></Input>
+ <Input name="relatives" type="select" options="child-family=>I18N::translate('Parents and siblings')|spouse-family=>I18N::translate('Spouses and children')|direct-ancestors=>I18N::translate('Direct line ancestors')|ancestors=>I18N::translate('Direct line ancestors and their families')|descendants=>I18N::translate('Descendants')|all=>I18N::translate('All')"><var var="I18N::translate('Choose relatives')"/></Input>
+ <Input name="maxgen" type="select" default="4" options="1=>I18N::number(1)|2=>I18N::number(2)|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="sortby" type="select" default="BIRT:DATE" options="BIRT:DATE=>I18N::translate('sort by date of birth')|NAME=>I18N::translate('sort by name')"><var var="I18N::translate('Sort order')"/></Input>
+ <Input name="sources" type="checkbox" default="1"><var var="I18N::translate('Show sources')"/></Input>
+ <Input name="notes" type="checkbox" default="1"><var var="I18N::translate('Show notes')"/></Input>
+ <Input name="photos" type="select" default="highlighted" options="none=>I18N::translate('None')|all=>I18N::translate('All')|highlighted=>I18N::translate('Highlighted image')"><var var="I18N::translate('Show photos')"/></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="colors" type="checkbox" default="1"><var var="I18N::translate('Use colors')"/></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="18"/>
+ <!-- Generated by style - required style name by the generator -->
+ <Style name="genby" font="$fonts" size="8"/>
+ <!-- Links to sources - required style name by the generator -->
+ <Style name="footnotenum" font="$fonts" size="6"/>
+ <!-- Source text - FootnoteTexts - required style name by the generator -->
+ <Style name="footnote" font="$fonts" size="8"/>
+ <!-- Section title -->
+ <Style name="title" font="$fonts" size="9" style="B"/>
+ <!-- Page numbers text -->
+ <Style name="pagenum" font="$fonts" size="8"/>
+ <!-- Page Header text -->
+ <Style name="pageheader" font="$fonts" size="14"/>
+ <!-- Standard text -->
+ <Style name="text" font="$fonts" size="9"/>
+ <!-- Facts text -->
+ <Style name="fact" font="$fonts" size="8"/>
+ <!-- Individual names in text boxes -->
+ <Style name="name" font="$fonts" size="10"/>
+ <!-- Date text -->
+ <Style name="date" font="$fonts" size="8"/>
+
+ <SetVar name="ignore" value="CHAN,CHIL,FAMC,FAMS,HUSB,NAME,NOTE,OBJE,RESN,SEX,SOUR,TITL,WIFE,_UID,_WT_OBJE_SORT"/>
+ <!-- Setup colors -->
+ <!-- Section title background color -->
+ <SetVar name="stbgcolor" value="#AAAAAA"/>
+ <SetVar name="mbgcolor" value=""/>
+ <SetVar name="fbgcolor" value=""/>
+ <SetVar name="ugbgcolor" value=""/>
+ <SetVar name="fbbgcolor" value=""/>
+ <SetVar name="tcolor" value=""/>
+ <!-- Use colors -->
+ <if condition="$colors==1">
+ <!-- Section title background color -->
+ <SetVar name="stbgcolor" value="#9CA3D4"/>
+ <!-- Male background color -->
+ <SetVar name="mbgcolor" value="#D6E0EA"/>
+ <!-- Female background color -->
+ <SetVar name="fbgcolor" value="#E9DAF1"/>
+ <!-- Unknown gender -->
+ <SetVar name="ugbgcolor" value="#FFFFFF"/>
+ <!-- Fact boxes -->
+ <SetVar name="fbbgcolor" value="#D1D9FF"/>
+ <!-- Text color - black -->
+ <SetVar name="tcolor" value="#000000"/>
+ </if>
+
+ <!-- New Page controller -->
+ <SetVar name="newpage" value="0"/>
+ <!-- New Page for Sources controller if SOUR exist -->
+ <SetVar name="source_exist" value="0"/>
+
+ <!-- set the default widths -->
+ <SetVar name="dwidth" value="200"/>
+ <SetVar name="pwidth" value="436"/>
+ <!-- space height -->
+ <SetVar name="sheight" value="15"/>
+
+ <SetVar name="width" value="433"/>
+ <SetVar name="width1" value="418"/>
+ <SetVar name="width2" value="233"/>
+
+ <!-- change the widths for no pictures -->
+ <if condition="$photos=='none'">
+ <SetVar name="width" value="0"/>
+ <SetVar name="width1" value="0"/>
+ <SetVar name="width2" value="0"/>
+ </if>
+
+ <Doc pageSize="$pageSize">
+ <Header>
+ <Cell align="center" newline="1" style="header"><var var="I18N::translate('Related families')"/></Cell>
+ <Cell align="rightrtl" newline="1" style="pagenum"><var var="I18N::translate('Page')"/> <PageNum/> / <TotalPages/></Cell>
+ </Header>
+
+ <Body>
+ <!-- set the gedcom context for this individual -->
+ <Relatives id="$pid" group="$relatives" maxgen="$maxgen" sortby="$sortby">
+ <if condition="$newpage==1">
+ <NewPage/>
+ </if>
+ <SetVar name="newpage" value="1"/>
+ <SetVar name="sex" value="@SEX"/>
+ <SetVar name="mid" value="@ID"/>
+ <!-- Individual name -->
+ <TextBox newline="1">
+ <Text style="pageheader"><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>
+ </TextBox>
+ <!-- show the persons images -->
+ <if condition="$photos=='all'">
+ <!-- This is an image not a text, so don't use text padding
+ Reset also the last height after all the images has been printed
+ set pagecheck to 0, the image function check is too
+ and "trick" the X-position back to the margin with a newline -->
+ <TextBox left="$pwidth" newline="1" pagecheck="0" padding="0" reseth="1" width="80">
+ <RepeatTag tag="OBJE">
+ <Image file="@FILE" width="80" ln="N"/>
+ </RepeatTag>
+ </TextBox>
+ </if>
+ <!-- show the person's Highlighted Image -->
+ <if condition="$photos=='highlighted'">
+ <HighlightedImage left="$pwidth" width="80"/>
+ </if>
+ <!-- Print the individuals facts -->
+ <Cell tcolor="$tcolor" bgcolor="$stbgcolor" border="1" newline="1" style="title" width="$width"><var var="I18N::translate('Facts and events')"/></Cell>
+ <Facts ignore="$ignore" families="1">
+ <TextBox bgcolor="$fbbgcolor" border="1" width="$dwidth">
+ <Text color="$tcolor" style="fact"><var var="@fact"/> </Text>
+ <Text color="$tcolor" style="text"><GedcomValue tag="@fact:DATE"/> </Text>
+ <!-- look for fact level 2 sources -->
+ <if condition="$sources==1">
+ <RepeatTag tag="@fact: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>
+ </TextBox>
+ <!-- print a different layout for facts with descriptions -->
+ <if condition="@desc!=''">
+ <TextBox bgcolor="$fbbgcolor" border="1" newline="1" width="$width2">
+ <Text color="$tcolor" style="text">
+ <if condition="@desc=='Y'">
+ <var var="I18N::translate('yes')" /> <GedcomValue tag="@fact:PLAC"/>
+ </if>
+ <if condition="@desc=='N'">
+ <var var="I18N::translate('no')" /> <GedcomValue tag="@fact:PLAC"/>
+ </if>
+ <if condition="@fact!='ASSO' and @desc!='Y' and @desc!='N' and @PLAC!=''">
+ <GedcomValue tag="@desc"/> <GedcomValue tag="@fact:PLAC"/>
+ </if>
+ <if condition="@fact!='ASSO' and @desc!='Y' and @desc!='N' and @PLAC==''">
+ <GedcomValue tag="@desc"/>
+ </if>
+ </Text>
+ <Gedcom id="@ASSO">
+ <GetPersonName id=""/>
+ </Gedcom>
+ <Gedcom id="@_WTS">
+ <if condition="@SEX=='M'">
+ <Text color="$tcolor" style="fact"> <var var="I18N::translate('Husband')"/></Text>
+ </if>
+ <if condition="@SEX=='F'">
+ <Text color="$tcolor" style="fact"> <var var="I18N::translate('Wife')"/></Text>
+ </if>
+ <if condition="@SEX=='U'">
+ <Text color="$tcolor" style="fact"> <var var="I18N::translate('Spouse')"/></Text>
+ </if>
+ <Text color="$tcolor" style="text"> <GetPersonName id=""/></Text>
+ </Gedcom>
+ </TextBox>
+ </if>
+ <!-- facts without descriptions -->
+ <if condition="@desc==''">
+ <TextBox bgcolor="$fbbgcolor" border="1" newline="1" width="$width2">
+ <Gedcom id="@_WTS">
+ <if condition="@SEX=='M'">
+ <Text color="$tcolor" style="fact"> <var var="I18N::translate('Husband')"/></Text>
+ </if>
+ <if condition="@SEX=='F'">
+ <Text color="$tcolor" style="fact"> <var var="I18N::translate('Wife')"/></Text>
+ </if>
+ <if condition="@SEX=='U'">
+ <Text color="$tcolor" style="fact"> <var var="I18N::translate('Spouse')"/></Text>
+ </if>
+ <Text color="$tcolor" style="text"> <GetPersonName id=""/></Text>
+ </Gedcom>
+ </TextBox>
+ </if>
+ </Facts>
+ <!-- print any level 1 notes, but only if exist -->
+ <if condition="($notes==1) and (@NOTE!='')">
+ <TextBox height="$sheight" newline="1" padding="0" width="15"/>
+ <Cell bgcolor="$stbgcolor" border="1" newline="1" style="title" tcolor="$tcolor" width="$width"><var var="I18N::translate('Notes')"/></Cell>
+ <RepeatTag tag="NOTE">
+ <Cell bgcolor="$fbbgcolor" border="1" newline="1" style="text" tcolor="$tcolor" width="$width"><GedcomValue tag="NOTE"/></Cell>
+ </RepeatTag>
+ </if>
+
+ <!-- print family with parents and siblings -->
+ <TextBox height="$sheight" newline="1" padding="0" width="15"/>
+ <Cell bgcolor="$stbgcolor" border="1" newline="1" style="title" tcolor="$tcolor" width="$width"><var var="I18N::translate('Family with parents')"/></Cell>
+ <RepeatTag tag="FAMC">
+ <Gedcom id="@FAMC">
+ <!-- father -->
+ <Gedcom id="@HUSB">
+ <TextBox bgcolor="$mbgcolor" border="1" newline="1" width="$width">
+ <Text color="$tcolor" style="text"><var var="I18N::translate('Father')"/> </Text>
+ <Text color="$tcolor" 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>
+ <Text color="$tcolor" style="text"> (<var var="I18N::translate('Birth')"/>: <GedcomValue tag="BIRT:DATE"/> <GedcomValue tag="BIRT:PLAC"/><Gedcom id="DEAT"> - <var var="I18N::translate('Death')"/>: <GedcomValue tag="DEAT:DATE"/> <GedcomValue tag="DEAT:PLAC"/></Gedcom>)</Text>
+ </TextBox>
+ </Gedcom>
+ <!-- mother -->
+ <Gedcom id="@WIFE">
+ <TextBox bgcolor="$fbgcolor" border="1" newline="1" width="$width">
+ <Text color="$tcolor" style="text"><var var="I18N::translate('Mother')"/> </Text>
+ <Text color="$tcolor" 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>
+ <Text color="$tcolor" style="text"> (<var var="I18N::translate('Birth')"/>: <GedcomValue tag="BIRT:DATE"/> <GedcomValue tag="BIRT:PLAC"/><Gedcom id="DEAT"> - <var var="I18N::translate('Death')"/>: <GedcomValue tag="DEAT:DATE"/> <GedcomValue tag="DEAT:PLAC"/></Gedcom>)</Text>
+ </TextBox>
+ </Gedcom>
+ <!-- siblings -->
+ <RepeatTag tag="CHIL">
+ <if condition="@CHIL!=$mid">
+ <Gedcom id="@CHIL">
+ <!-- Brother -->
+ <if condition="@SEX=='M'">
+ <TextBox bgcolor="$mbgcolor" border="1" left="15" newline="1" width="$width1">
+ <Text color="$tcolor" style="text"><var var="I18N::translate('Brother')"/> </Text>
+ <Text color="$tcolor" 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>
+ <Text color="$tcolor" style="text"> (<var var="I18N::translate('Birth')"/>: <GedcomValue tag="BIRT:DATE"/> <GedcomValue tag="BIRT:PLAC"/><Gedcom id="DEAT"> - <var var="I18N::translate('Death')"/>: <GedcomValue tag="DEAT:DATE"/> <GedcomValue tag="DEAT:PLAC"/></Gedcom>)</Text>
+ </TextBox>
+ </if>
+ <!-- Sister -->
+ <if condition="@SEX=='F'">
+ <TextBox bgcolor="$fbgcolor" border="1" left="15" newline="1" width="$width1">
+ <Text color="$tcolor" style="text"><var var="I18N::translate('Sister')"/> </Text>
+ <Text color="$tcolor" 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>
+ <Text color="$tcolor" style="text"> (<var var="I18N::translate('Birth')"/>: <GedcomValue tag="BIRT:DATE"/> <GedcomValue tag="BIRT:PLAC"/><Gedcom id="DEAT"> - <var var="I18N::translate('Death')"/>: <GedcomValue tag="DEAT:DATE"/> <GedcomValue tag="DEAT:PLAC"/></Gedcom>)</Text>
+ </TextBox>
+ </if>
+ <!-- Unknown gender for Sibling -->
+ <if condition="@SEX=='U'">
+ <TextBox bgcolor="$ugbgcolor" border="1" left="15" newline="1" width="$width1">
+ <Text color="$tcolor" style="text"><var var="I18N::translate('Gender')"/> <var var="I18N::translateContext('unknown gender', 'Unknown')"/> </Text>
+ <Text color="$tcolor" 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>
+ <Text color="$tcolor" style="text"> (<var var="I18N::translate('Birth')"/>: <GedcomValue tag="BIRT:DATE"/> <GedcomValue tag="BIRT:PLAC"/><Gedcom id="DEAT"> - <var var="I18N::translate('Death')"/>: <GedcomValue tag="DEAT:DATE"/> <GedcomValue tag="DEAT:PLAC"/></Gedcom>)</Text>
+ </TextBox>
+ </if>
+ </Gedcom>
+ </if>
+ </RepeatTag>
+ </Gedcom>
+ </RepeatTag>
+ <!-- print family with spouse and children -->
+ <RepeatTag tag="FAMS">
+ <Gedcom id="@FAMS">
+ <!-- print wife if person is husband -->
+ <if condition="$sex=='M'">
+ <TextBox height="$sheight" newline="1" padding="0" width="15"/>
+ <Cell bgcolor="$stbgcolor" border="1" newline="1" style="title" tcolor="$tcolor" width="$width"><var var="I18N::translate('Family with wife')"/></Cell>
+ <SetVar name="spid" value="@WIFE"/>
+ </if>
+ <!-- print husband if person is wife -->
+ <if condition="$sex=='F'">
+ <TextBox height="$sheight" newline="1" padding="0" width="15"/>
+ <Cell bgcolor="$stbgcolor" border="1" newline="1" style="title" tcolor="$tcolor" width="$width"><var var="I18N::translate('Family with husband')"/></Cell>
+ <SetVar name="spid" value="@HUSB"/>
+ </if>
+ <!-- print information for spouse -->
+ <Gedcom id="$spid">
+ <!-- husband -->
+ <if condition="@SEX!='F'">
+ <TextBox bgcolor="$mbgcolor" border="1" newline="1" width="$width">
+ <Text color="$tcolor" style="text"><var var="I18N::translate('Husband')"/> </Text>
+ <Text color="$tcolor" 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>
+ <Text color="$tcolor" style="text"> (<var var="I18N::translate('Birth')"/>: <GedcomValue tag="BIRT:DATE"/> <GedcomValue tag="BIRT:PLAC"/><Gedcom id="DEAT"> - <var var="I18N::translate('Death')"/>: <GedcomValue tag="DEAT:DATE"/> <GedcomValue tag="DEAT:PLAC"/></Gedcom>)</Text>
+ </TextBox>
+ </if>
+ <!-- wife -->
+ <if condition="@SEX=='F'">
+ <TextBox bgcolor="$fbgcolor" border="1" newline="1" width="$width">
+ <Text color="$tcolor" style="text"><var var="I18N::translate('Wife')"/> </Text>
+ <Text color="$tcolor" 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>
+ <Text color="$tcolor" style="text"> (<var var="I18N::translate('Birth')"/>: <GedcomValue tag="BIRT:DATE"/> <GedcomValue tag="BIRT:PLAC"/><Gedcom id="DEAT"> - <var var="I18N::translate('Death')"/>: <GedcomValue tag="DEAT:DATE"/> <GedcomValue tag="DEAT:PLAC"/></Gedcom>)</Text>
+ </TextBox>
+ </if>
+ </Gedcom>
+ <!-- print children with spouse -->
+ <RepeatTag tag="CHIL">
+ <if condition="@CHIL!=$mid">
+ <Gedcom id="@CHIL">
+ <!-- Son -->
+ <if condition="@SEX=='M'">
+ <TextBox bgcolor="$mbgcolor" border="1" left="15" newline="1" width="$width1">
+ <Text color="$tcolor" style="text"><var var="I18N::translate('Son')"/> </Text>
+ <Text color="$tcolor" 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>
+ <Text color="$tcolor" style="text"> (<var var="I18N::translate('Birth')"/>: <GedcomValue tag="BIRT:DATE"/> <GedcomValue tag="BIRT:PLAC"/><Gedcom id="DEAT"> - <var var="I18N::translate('Death')"/>: <GedcomValue tag="DEAT:DATE"/> <GedcomValue tag="DEAT:PLAC"/></Gedcom>)</Text>
+ </TextBox>
+ </if>
+ <!-- Daughter -->
+ <if condition="@SEX=='F'">
+ <TextBox bgcolor="$fbgcolor" border="1" left="15" newline="1" width="$width1">
+ <Text color="$tcolor" style="text"><var var="I18N::translate('Daughter')"/> </Text>
+ <Text color="$tcolor" 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>
+ <Text color="$tcolor" style="text"> (<var var="I18N::translate('Birth')"/>: <GedcomValue tag="BIRT:DATE"/> <GedcomValue tag="BIRT:PLAC"/><Gedcom id="DEAT"> - <var var="I18N::translate('Death')"/>: <GedcomValue tag="DEAT:DATE"/> <GedcomValue tag="DEAT:PLAC"/></Gedcom>)</Text>
+ </TextBox>
+ </if>
+ <!-- Unknown gender for Child -->
+ <if condition="@SEX=='U'">
+ <TextBox bgcolor="$ugbgcolor" border="1" left="15" newline="1" width="$width1">
+ <Text color="$tcolor" style="text"><var var="I18N::translate('Gender')"/> <var var="I18N::translateContext('unknown gender', 'Unknown')"/> </Text>
+ <Text color="$tcolor" 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>
+ <Text color="$tcolor" style="text"> (<var var="I18N::translate('Birth')"/>: <GedcomValue tag="BIRT:DATE"/> <GedcomValue tag="BIRT:PLAC"/><Gedcom id="DEAT"> - <var var="I18N::translate('Death')"/>: <GedcomValue tag="DEAT:DATE"/> <GedcomValue tag="DEAT:PLAC"/></Gedcom>)</Text>
+ </TextBox>
+ </if>
+ </Gedcom>
+ </if>
+ </RepeatTag>
+ </Gedcom>
+ </RepeatTag>
+ </Relatives>
+ </Body>
+ <!-- if the sources were on, print the source citations as footnotes -->
+ <if condition="$source_exist==1">
+ <!-- add a new page -->
+ <NewPage/>
+ <Body>
+ <TextBox newline="1">
+ <Text style="pageheader"><var var="I18N::translate('Sources')"/><br /><br /></Text>
+ <FootnoteTexts/>
+ </TextBox>
+ </Body>
+ </if>
+ <Footer>
+ <Cell align="rightrtl" newline="1" style="date"><Now/></Cell>
+ </Footer>
+ </Doc>
+</Report>
diff --git a/resources/xml/reports/individual_report.xml b/resources/xml/reports/individual_report.xml
new file mode 100644
index 0000000000..f063368b4c
--- /dev/null
+++ b/resources/xml/reports/individual_report.xml
@@ -0,0 +1,655 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<Report>
+ <Title><var var="I18N::translate('Individual')" /></Title>
+ <Description><var var="I18N::translate('A report of an individual’s details.')" /></Description>
+ <Input name="pid" lookup="INDI" type="text" default=""><var var="I18N::translate('Individual')" /></Input>
+ <Input name="sources" type="checkbox" default="1"><var var="I18N::translate('Show sources')" /></Input>
+ <Input name="notes" type="checkbox" default="1"><var var="I18N::translate('Show notes')" /></Input>
+ <Input name="photos" type="select" default="highlighted" options="none=>I18N::translate('None')|all=>I18N::translate('All')|highlighted=>I18N::translate('Highlighted image')"><var var="I18N::translate('Show photos')"/></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="colors" type="checkbox" default="1"><var var="I18N::translate('Use colors')"/></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="18"/>
+ <!-- Generated by style - required style name by the generator -->
+ <Style name="genby" font="$fonts" size="8"/>
+ <!-- Links to sources - required style name by the generator -->
+ <Style name="footnotenum" font="$fonts" size="6"/>
+ <!-- Source text - FootnoteTexts - required style name by the generator -->
+ <Style name="footnote" font="$fonts" size="8"/>
+ <!-- Section title -->
+ <Style name="title" font="$fonts" size="9" style="B"/>
+ <!-- Page numbers text -->
+ <Style name="pagenum" font="$fonts" size="8"/>
+ <!-- Page Header text -->
+ <Style name="pageheader" font="$fonts" size="14"/>
+ <!-- Standard text -->
+ <Style name="text" font="$fonts" size="9"/>
+ <!-- Facts text -->
+ <Style name="fact" font="$fonts" size="8"/>
+ <!-- Individual names in text boxes -->
+ <Style name="name" font="$fonts" size="10"/>
+ <!-- Date text -->
+ <Style name="date" font="$fonts" size="8"/>
+
+ <SetVar name="ignore" value="CHAN,CHIL,FAMC,FAMS,HUSB,NAME,NOTE,OBJE,RESN,SEX,SOUR,TITL,WIFE,_UID,_WT_OBJE_SORT"/>
+ <!-- Setup colors -->
+ <!-- Section title background color -->
+ <SetVar name="stbgcolor" value="#AAAAAA"/>
+ <SetVar name="mbgcolor" value=""/>
+ <SetVar name="fbgcolor" value=""/>
+ <SetVar name="ugbgcolor" value=""/>
+ <SetVar name="fbbgcolor" value=""/>
+ <SetVar name="tcolor" value=""/>
+ <!-- Use colors -->
+ <if condition="$colors==1">
+ <!-- Section title background color -->
+ <SetVar name="stbgcolor" value="#9CA3D4"/>
+ <!-- Male background color -->
+ <SetVar name="mbgcolor" value="#D6E0EA"/>
+ <!-- Female background color -->
+ <SetVar name="fbgcolor" value="#E9DAF1"/>
+ <!-- Unknown gender -->
+ <SetVar name="ugbgcolor" value="#FFFFFF"/>
+ <!-- Fact boxes -->
+ <SetVar name="fbbgcolor" value="#D1D9FF"/>
+ <!-- Text color - black -->
+ <SetVar name="tcolor" value="#000000"/>
+ </if>
+
+ <!-- New Page controller -->
+ <SetVar name="newpage" value="0"/>
+ <!-- New Page for Sources controller if SOUR exist -->
+ <SetVar name="source_exist" value="0"/>
+
+ <!-- set the default widths -->
+ <SetVar name="dwidth" value="200"/>
+ <SetVar name="pwidth" value="436"/>
+ <!-- space height -->
+ <SetVar name="sheight" value="15"/>
+
+ <SetVar name="width" value="433"/>
+ <SetVar name="width1" value="418"/>
+ <SetVar name="width2" value="233"/>
+
+ <!-- change the widths for no pictures -->
+ <if condition="$photos=='none'">
+ <SetVar name="width" value="0"/>
+ <SetVar name="width1" value="0"/>
+ <SetVar name="width2" value="0"/>
+ </if>
+
+ <Doc pageSize="$pageSize" >
+ <Header>
+ <Cell align="center" newline="1" style="header"><var var="I18N::translate('Individual')" /></Cell>
+ <Cell align="rightrtl" newline="1" style="pagenum"><var var="I18N::translate('Page')" /> <PageNum /> <var var="I18N::translate('of')" /> <TotalPages /></Cell>
+ </Header>
+ <Body>
+ <!-- set the gedcom context for this individual -->
+ <Gedcom id="$pid">
+ <if condition="$newpage==1">
+ <NewPage/>
+ </if>
+ <SetVar name="newpage" value="1"/>
+ <SetVar name="sex" value="@SEX"/>
+ <SetVar name="mid" value="@ID"/>
+ <!-- Individual name -->
+ <TextBox newline="1">
+ <Text style="pageheader"><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>
+ </TextBox>
+ <!-- show the persons images -->
+ <if condition="$photos=='all'">
+ <!-- This is an image not a text, so don't use text padding
+ Reset also the last height after all the images has been printed
+ set pagecheck to 0, the image function check is too
+ and "trick" the X-position back to the margin with a newline -->
+ <TextBox left="$pwidth" newline="1" pagecheck="0" padding="0" reseth="1" width="80">
+ <RepeatTag tag="OBJE">
+ <Image file="@FILE" width="80" ln="N"/>
+ </RepeatTag>
+ </TextBox>
+ </if>
+ <!-- show the person's Highlighted Image -->
+ <if condition="$photos=='highlighted'">
+ <HighlightedImage left="$pwidth" width="80"/>
+ </if>
+ <!-- Print the individuals facts -->
+ <Cell tcolor="$tcolor" bgcolor="$stbgcolor" border="1" newline="1" style="title" width="$width"><var var="I18N::translate('Facts and events')"/></Cell>
+ <Facts ignore="$ignore" families="1">
+ <TextBox bgcolor="$fbbgcolor" border="1" width="$dwidth">
+ <Text color="$tcolor" style="fact"><var var="@fact"/> </Text>
+ <Text color="$tcolor" style="text"><GedcomValue tag="@fact:DATE"/> </Text>
+ <!-- look for fact level 2 sources -->
+ <if condition="$sources==1">
+ <RepeatTag tag="@fact: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>
+ </TextBox>
+ <!-- print a different layout for facts with descriptions -->
+ <if condition="@desc!=''">
+ <TextBox bgcolor="$fbbgcolor" border="1" newline="1" width="$width2">
+ <Text color="$tcolor" style="text">
+ <if condition="@desc=='Y'">
+ <var var="I18N::translate('yes')" /> <GedcomValue tag="@fact:PLAC"/>
+ </if>
+ <if condition="@desc=='N'">
+ <var var="I18N::translate('no')" /> <GedcomValue tag="@fact:PLAC"/>
+ </if>
+ <if condition="@fact!='ASSO' and @desc!='Y' and @desc!='N' and @PLAC!=''">
+ <GedcomValue tag="@desc"/> <GedcomValue tag="@fact:PLAC"/>
+ </if>
+ <if condition="@fact!='ASSO' and @desc!='Y' and @desc!='N' and @PLAC==''">
+ <GedcomValue tag="@desc"/>
+ </if>
+ </Text>
+ <Gedcom id="@ASSO">
+ <GetPersonName id=""/>
+ </Gedcom>
+ <Gedcom id="@_WTS">
+ <if condition="@SEX=='M'">
+ <Text color="$tcolor" style="fact"> <var var="I18N::translate('Husband')"/></Text>
+ </if>
+ <if condition="@SEX=='F'">
+ <Text color="$tcolor" style="fact"> <var var="I18N::translate('Wife')"/></Text>
+ </if>
+ <Text color="$tcolor" style="text"> <GetPersonName id=""/></Text>
+ </Gedcom>
+ </TextBox>
+ </if>
+ <!-- facts without descriptions -->
+ <if condition="@desc==''">
+ <TextBox bgcolor="$fbbgcolor" border="1" newline="1" width="$width2">
+ <Text color="$tcolor" style="text">
+ <GedcomValue tag="@fact:PLAC"/>
+ <!-- Print only when exist to reduce some spaces in the text, might avoid a line break -->
+ <if condition="@TEMP!=''">
+ ; <var var="I18N::translate('Temple')"/>: <GedcomValue tag="@fact:TEMP"/>
+ </if>
+ </Text>
+ <Gedcom id="@_WTS">
+ <if condition="@SEX=='M'">
+ <Text color="$tcolor" style="fact"> <var var="I18N::translate('Husband')"/></Text>
+ </if>
+ <if condition="@SEX=='F'">
+ <Text color="$tcolor" style="fact"> <var var="I18N::translate('Wife')"/></Text>
+ </if>
+ <Text color="$tcolor" style="text"> <GetPersonName id=""/></Text>
+ </Gedcom>
+ </TextBox>
+ </if>
+ </Facts>
+ <!-- print any level 1 notes, but only if exist -->
+ <if condition="($notes==1) and (@NOTE!='')">
+ <TextBox height="$sheight" newline="1" padding="0" width="15"/>
+ <Cell bgcolor="$stbgcolor" border="1" newline="1" style="title" tcolor="$tcolor" width="$width"><var var="I18N::translate('Notes')"/></Cell>
+ <RepeatTag tag="NOTE">
+ <Cell bgcolor="$fbbgcolor" border="1" newline="1" style="text" tcolor="$tcolor" width="$width"><GedcomValue tag="NOTE"/></Cell>
+ </RepeatTag>
+ </if>
+
+ <!-- print family with parents and siblings -->
+ <TextBox height="$sheight" newline="1" padding="0" width="15"/>
+ <Cell bgcolor="$stbgcolor" border="1" newline="1" style="title" tcolor="$tcolor" width="$width"><var var="I18N::translate('Family with parents')"/></Cell>
+ <RepeatTag tag="FAMC">
+ <Gedcom id="@FAMC">
+ <!-- father -->
+ <Gedcom id="@HUSB">
+ <TextBox bgcolor="$mbgcolor" border="1" newline="1" width="$width">
+ <Text color="$tcolor" style="text"><var var="I18N::translate('Father')"/> </Text>
+ <Text color="$tcolor" 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>
+ <Text color="$tcolor" style="text"> (<var var="I18N::translate('Birth')"/>: <GedcomValue tag="BIRT:DATE"/> <GedcomValue tag="BIRT:PLAC"/><Gedcom id="DEAT"> - <var var="I18N::translate('Death')"/>: <GedcomValue tag="DEAT:DATE"/> <GedcomValue tag="DEAT:PLAC"/></Gedcom>)</Text>
+ </TextBox>
+ </Gedcom>
+ <!-- mother -->
+ <Gedcom id="@WIFE">
+ <TextBox bgcolor="$fbgcolor" border="1" newline="1" width="$width">
+ <Text color="$tcolor" style="text"><var var="I18N::translate('Mother')"/> </Text>
+ <Text color="$tcolor" 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>
+ <Text color="$tcolor" style="text"> (<var var="I18N::translate('Birth')"/>: <GedcomValue tag="BIRT:DATE"/> <GedcomValue tag="BIRT:PLAC"/><Gedcom id="DEAT"> - <var var="I18N::translate('Death')"/>: <GedcomValue tag="DEAT:DATE"/> <GedcomValue tag="DEAT:PLAC"/></Gedcom>)</Text>
+ </TextBox>
+ </Gedcom>
+ <!-- siblings -->
+ <RepeatTag tag="CHIL">
+ <if condition="@CHIL!=$mid">
+ <Gedcom id="@CHIL">
+ <!-- Brother -->
+ <if condition="@SEX=='M'">
+ <TextBox bgcolor="$mbgcolor" border="1" left="15" newline="1" width="$width1">
+ <Text color="$tcolor" style="text"><var var="I18N::translate('Brother')"/> </Text>
+ <Text color="$tcolor" 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>
+ <Text color="$tcolor" style="text"> (<var var="I18N::translate('Birth')"/>: <GedcomValue tag="BIRT:DATE"/> <GedcomValue tag="BIRT:PLAC"/><Gedcom id="DEAT"> - <var var="I18N::translate('Death')"/>: <GedcomValue tag="DEAT:DATE"/> <GedcomValue tag="DEAT:PLAC"/></Gedcom>)</Text>
+ </TextBox>
+ </if>
+ <!-- Sister -->
+ <if condition="@SEX=='F'">
+ <TextBox bgcolor="$fbgcolor" border="1" left="15" newline="1" width="$width1">
+ <Text color="$tcolor" style="text"><var var="I18N::translate('Sister')"/> </Text>
+ <Text color="$tcolor" 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>
+ <Text color="$tcolor" style="text"> (<var var="I18N::translate('Birth')"/>: <GedcomValue tag="BIRT:DATE"/> <GedcomValue tag="BIRT:PLAC"/><Gedcom id="DEAT"> - <var var="I18N::translate('Death')"/>: <GedcomValue tag="DEAT:DATE"/> <GedcomValue tag="DEAT:PLAC"/></Gedcom>)</Text>
+ </TextBox>
+ </if>
+ <!-- Sibling -->
+ <if condition="@SEX=='U'">
+ <TextBox bgcolor="$ugbgcolor" border="1" left="15" newline="1" width="$width1">
+ <Text color="$tcolor" style="text"><var var="I18N::translate('Gender')"/> <var var="I18N::translateContext('unknown gender', 'Unknown')"/> </Text>
+ <Text color="$tcolor" 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>
+ <Text color="$tcolor" style="text"> (<var var="I18N::translate('Birth')"/>: <GedcomValue tag="BIRT:DATE"/> <GedcomValue tag="BIRT:PLAC"/><Gedcom id="DEAT"> - <var var="I18N::translate('Death')"/>: <GedcomValue tag="DEAT:DATE"/> <GedcomValue tag="DEAT:PLAC"/></Gedcom>)</Text>
+ </TextBox>
+ </if>
+ </Gedcom>
+ </if>
+ </RepeatTag>
+ </Gedcom>
+ </RepeatTag>
+ <!-- print family with spouse and children -->
+ <RepeatTag tag="FAMS">
+ <Gedcom id="@FAMS">
+ <!-- find spouse -->
+ <if condition="@WIFE == $pid">
+ <SetVar name="spid" value="@HUSB"/>
+ </if>
+ <if condition="@HUSB == $pid">
+ <SetVar name="spid" value="@WIFE"/>
+ </if>
+ <if condition="$spid == ''">
+ <!-- one parent family -->
+ <SerVar name="spid" value="$pid"/>
+ </if>
+ <!-- print information for spouse -->
+ <Gedcom id="$spid">
+ <!-- husband -->
+ <if condition="@SEX=='M'">
+ <TextBox height="$sheight" newline="1" padding="0" width="15"/>
+ <Cell bgcolor="$stbgcolor" border="1" newline="1" style="title" tcolor="$tcolor" width="$width">
+ <var var="I18N::translate('Family with husband')"/>
+ </Cell>
+ <TextBox bgcolor="$mbgcolor" border="1" newline="1" width="$width">
+ <Text color="$tcolor" style="text"><var var="I18N::translate('Husband')"/> </Text>
+ <Text color="$tcolor" 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>
+ <Text color="$tcolor" style="text"> (<var var="I18N::translate('Birth')"/>: <GedcomValue tag="BIRT:DATE"/> <GedcomValue tag="BIRT:PLAC"/><Gedcom id="DEAT"> - <var var="I18N::translate('Death')"/>: <GedcomValue tag="DEAT:DATE"/> <GedcomValue tag="DEAT:PLAC"/></Gedcom>)</Text>
+ </TextBox>
+ </if>
+ <!-- wife -->
+ <if condition="@SEX=='F'">
+ <TextBox height="$sheight" newline="1" padding="0" width="15"/>
+ <Cell bgcolor="$stbgcolor" border="1" newline="1" style="title" tcolor="$tcolor" width="$width">
+ <var var="I18N::translate('Family with wife')"/>
+ </Cell>
+ <TextBox bgcolor="$fbgcolor" border="1" newline="1" width="$width">
+ <Text color="$tcolor" style="text"><var var="I18N::translate('Wife')"/> </Text>
+ <Text color="$tcolor" 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>
+ <Text color="$tcolor" style="text"> (<var var="I18N::translate('Birth')"/>: <GedcomValue tag="BIRT:DATE"/> <GedcomValue tag="BIRT:PLAC"/><Gedcom id="DEAT"> - <var var="I18N::translate('Death')"/>: <GedcomValue tag="DEAT:DATE"/> <GedcomValue tag="DEAT:PLAC"/></Gedcom>)</Text>
+ </TextBox>
+ </if>
+ </Gedcom>
+ <!-- print children with spouse -->
+ <RepeatTag tag="CHIL">
+ <if condition="@CHIL!=$mid">
+ <Gedcom id="@CHIL">
+ <!-- Son -->
+ <if condition="@SEX=='M'">
+ <TextBox bgcolor="$mbgcolor" border="1" left="15" newline="1" width="$width1">
+ <Text color="$tcolor" style="text"><var var="I18N::translate('Son')"/> </Text>
+ <Text color="$tcolor" 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>
+ <Text color="$tcolor" style="text"> (<var var="I18N::translate('Birth')"/>: <GedcomValue tag="BIRT:DATE"/> <GedcomValue tag="BIRT:PLAC"/><Gedcom id="DEAT"> - <var var="I18N::translate('Death')"/>: <GedcomValue tag="DEAT:DATE"/> <GedcomValue tag="DEAT:PLAC"/></Gedcom>)</Text>
+ </TextBox>
+ </if>
+ <!-- Daughter -->
+ <if condition="@SEX=='F'">
+ <TextBox bgcolor="$fbgcolor" border="1" left="15" newline="1" width="$width1">
+ <Text color="$tcolor" style="text"><var var="I18N::translate('Daughter')"/> </Text>
+ <Text color="$tcolor" 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>
+ <Text color="$tcolor" style="text"> (<var var="I18N::translate('Birth')"/>: <GedcomValue tag="BIRT:DATE"/> <GedcomValue tag="BIRT:PLAC"/><Gedcom id="DEAT"> - <var var="I18N::translate('Death')"/>: <GedcomValue tag="DEAT:DATE"/> <GedcomValue tag="DEAT:PLAC"/></Gedcom>)</Text>
+ </TextBox>
+ </if>
+ <!-- Unknown gender for Child -->
+ <if condition="@SEX=='U'">
+ <TextBox bgcolor="$ugbgcolor" border="1" left="15" newline="1" width="$width1">
+ <Text color="$tcolor" style="text"><var var="I18N::translate('Gender')"/> <var var="I18N::translateContext('unknown gender', 'Unknown')"/> </Text>
+ <Text color="$tcolor" 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>
+ <Text color="$tcolor" style="text"> (<var var="I18N::translate('Birth')"/>: <GedcomValue tag="BIRT:DATE"/> <GedcomValue tag="BIRT:PLAC"/><Gedcom id="DEAT"> - <var var="I18N::translate('Death')"/>: <GedcomValue tag="DEAT:DATE"/> <GedcomValue tag="DEAT:PLAC"/></Gedcom>)</Text>
+ </TextBox>
+ </if>
+ </Gedcom>
+ </if>
+ </RepeatTag>
+ </Gedcom>
+ </RepeatTag>
+ </Gedcom>
+ </Body>
+ <!-- if the sources were on, print the source citations as footnotes -->
+ <if condition="$source_exist==1">
+ <Body>
+ <TextBox newline="1">
+ <Text style="pageheader"><br /><var var="I18N::translate('Sources')"/><br /><br /></Text>
+ <FootnoteTexts/>
+ </TextBox>
+ </Body>
+ </if>
+ <Footer>
+ <Cell align="rightrtl" newline="1" style="date"><Now/></Cell>
+ </Footer>
+ </Doc>
+</Report>
diff --git a/resources/xml/reports/marriage_report.xml b/resources/xml/reports/marriage_report.xml
new file mode 100644
index 0000000000..962d4fa17c
--- /dev/null
+++ b/resources/xml/reports/marriage_report.xml
@@ -0,0 +1,117 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<Report>
+ <Title><var var="I18N::translate('Marriages')" /></Title>
+ <Description><var var="I18N::translate('A report of individuals who were married in a given time or place.')" /></Description>
+ <Input name="name" lookup="NAME" type="text"><var var="I18N::translate('Name')" /></Input>
+ <Input name="marrplace" lookup="PLAC" type="text"><var var="I18N::translate('Marriage place contains')" /> </Input>
+ <Input name="marrdate1" lookup="DATE" type="text"><var var="I18N::translate('Marriage date range start')" /></Input>
+ <Input name="marrdate2" lookup="DATE" type="text"><var var="I18N::translate('Marriage date range end')" /></Input>
+ <Input name="sortby" type="select" default="NAME" options="NAME=>I18N::translate('sort by name')|MARR:DATE=>I18N::translate('sort by date of marriage')"><var var="I18N::translate('Sort order')" /></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="16" style="b" />
+ <!-- Page numbers text -->
+ <Style name="pagenum" font="$fonts" size="8"/>
+ <!-- Generated by style - required style name by the generator -->
+ <Style name="genby" font="$fonts" size="8" />
+ <!-- Date tetx -->
+ <Style name="date" font="$fonts" size="8"/>
+ <Style name="text" font="$fonts" size="9" />
+ <Style name="spouse" font="$fonts" size="8" />
+ <Style name="label" font="$fonts" size="10" style="b"/>
+
+ <Doc pageSize="$pageSize" orientation="landscape">
+ <Header>
+ <Cell align="center" height="20" newline="1" style="header"><var var="I18N::translate('Marriages')" /></Cell>
+ <Cell align="rightrtl" height="10" newline="1" style="pagenum"><var var="I18N::translate('Page')" /> <PageNum /> <var var="I18N::translate('of')" /> <TotalPages /></Cell>
+
+ <SetVar name="fill" value="" />
+ <if condition="$sortby=='NAME'">
+ <SetVar name="fill" value="#AAAAAA" />
+ </if>
+ <TextBox bgcolor="$fill" border="1" height="12" width="200">
+ <Text style="label"><var var="I18N::translate('Name')" /></Text>
+ </TextBox>
+
+ <SetVar name="fill" value="" />
+ <if condition="$sortby=='MARR:DATE'">
+ <SetVar name="fill" value="#AAAAAA" />
+ </if>
+ <TextBox bgcolor="$fill" border="1" height="12" width="100">
+ <Text style="label"><var var="I18N::translate('Date')" /></Text>
+ </TextBox>
+
+ <TextBox border="1" height="12" width="150">
+ <Text style="label"><var var="I18N::translate('Place')" /></Text>
+ </TextBox>
+
+ <TextBox border="1" height="12" newline="1">
+ <Text style="label"><var var="I18N::translate('Source')" /></Text>
+ </TextBox>
+ </Header>
+
+ <Body>
+ <SetVar name="printedFamilies" value="0" />
+ <List list="family" filter1="MARR:PLAC CONTAINS $marrplace" filter2="MARR:DATE GTE $marrdate1" filter3="MARR:DATE LTE $marrdate2" filter4="NAME CONTAINS $name" sortby="$sortby">
+ <SetVar name="skipFamily" value="no" />
+ <if condition="$name!=''">
+ <SetVar name="skipFamily" value="yes" />
+ <Gedcom id="@HUSB">
+ <if condition="stristr(@NAME,$name)!==false">
+ <SetVar name="skipFamily" value="no" />
+ </if>
+ </Gedcom>
+ <Gedcom id="@WIFE">
+ <if condition="stristr(@NAME,$name)!==false">
+ <SetVar name="skipFamily" value="no" />
+ </if>
+ </Gedcom>
+ </if>
+ <if condition="$skipFamily=='no'">
+ <SetVar name="printedFamilies" value="$printedFamilies+1" />
+
+ <TextBox height="12" width="200">
+ <Text style="text"><GetPersonName id="@HUSB" />
+ <br /> <GetPersonName id="@WIFE" />
+ </Text>
+ </TextBox>
+
+ <TextBox height="12" width="100">
+ <Text style="text"><GedcomValue tag="MARR:DATE" newline="1" /></Text>
+ </TextBox>
+
+ <TextBox height="12" width="150">
+ <Text style="text"><GedcomValue tag="MARR:PLAC" /></Text>
+ </TextBox>
+
+ <TextBox height="12" newline="1">
+ <!-- Only with multiple sources use line feed (br) -->
+ <SetVar name="usebr" value="0"/>
+ <Text style="text">
+ <RepeatTag tag="MARR:SOUR">
+ <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" />
+ <SetVar name="usebr" value="1"/>
+ </RepeatTag>
+ </Text>
+ </TextBox>
+
+ </if>
+ </List>
+ <Cell align="rightrtl" height="24" newline="1" style="label"><br/><var var="I18N::translate('Total families')"/>: <var var="printedFamilies" /></Cell>
+ </Body>
+ <Footer>
+ <Cell align="rightrtl" newline="1" style="date"><Now/></Cell>
+ </Footer>
+ </Doc>
+</Report>
diff --git a/resources/xml/reports/missing_facts_report.xml b/resources/xml/reports/missing_facts_report.xml
new file mode 100644
index 0000000000..886d7e6497
--- /dev/null
+++ b/resources/xml/reports/missing_facts_report.xml
@@ -0,0 +1,611 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<Report>
+ <Title><var var="I18N::translate('Missing data')" /></Title>
+ <Description><var var="I18N::translate('A report of the information that is missing for an individual and their relatives.')" /></Description>
+ <Input name="pid" type="text" default="" lookup="INDI"><var var="I18N::translate('Individual')"/></Input>
+ <Input name="relatives" type="select" default="direct-ancestors" options="child-family=>I18N::translate('Parents and siblings')|spouse-family=>I18N::translate('Spouses and children')|direct-ancestors=>I18N::translate('Direct line ancestors')|ancestors=>I18N::translate('Direct line ancestors and their families')|descendants=>I18N::translate('Descendants')|all=>I18N::translate('All')"><var var="I18N::translate('Choose relatives')"/></Input>
+ <Input name="maxgen" type="select" default="*" options="1=>I18N::number(1)|2=>I18N::number(2)|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="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" />
+
+ <Input name="fsour" type="checkbox" default="0"><var var="I18N::translate('Sources to the events')" /></Input>
+ <Input name="fbirt" type="checkbox" default="1"><var var="I18N::translate('Birth')"/></Input>
+ <Input name="fbapm" type="checkbox" default="0"><var var="I18N::translate('Baptism')"/> / <var var="I18N::translate('Christening')"/></Input>
+ <Input name="fbarm" type="checkbox" default="0"><var var="I18N::translate('Bar mitzvah')"/></Input>
+ <Input name="fbasm" type="checkbox" default="0"><var var="I18N::translate('Bat mitzvah')"/></Input>
+ <Input name="fconf" type="checkbox" default="0"><var var="I18N::translate('Confirmation')"/></Input>
+ <Input name="fenga" type="checkbox" default="0"><var var="I18N::translate('Engagement')"/></Input>
+ <Input name="ffcom" type="checkbox" default="0"><var var="I18N::translate('First communion')"/></Input>
+ <Input name="fmarb" type="checkbox" default="0"><var var="I18N::translate('Marriage banns')"/></Input>
+ <Input name="fmarr" type="checkbox" default="0"><var var="I18N::translate('Marriage')"/></Input>
+ <Input name="fdeat" type="checkbox" default="1"><var var="I18N::translate('Death')"/></Input>
+ <Input name="fburi" type="checkbox" default="0"><var var="I18N::translate('Burial')"/></Input>
+ <Input name="freli" type="checkbox" default="0"><var var="I18N::translate('Religion')"/></Input>
+
+ <!-- Header -->
+ <Style name="header" font="$fonts" size="18" style="b"/>
+ <!-- Generated by style - required style name by the generator -->
+ <Style name="genby" font="$fonts" size="8"/>
+ <!-- Page numbers text -->
+ <Style name="pagenum" font="$fonts" size="8"/>
+ <!-- Date Text - CSS Style name -->
+ <Style name="date" font="$fonts" size="8"/>
+ <!-- Column list labels - CSS Style name -->
+ <Style name="list_label" font="$fonts" size="9" style="b"/>
+ <!-- List values - CSS Style name -->
+ <Style name="list_value" font="$fonts" size="9"/>
+
+
+ <SetVar name="name" value="300" />
+ <SetVar name="printname" value="0" />
+ <SetVar name="vspace" value="5" />
+ <SetVar name="nrrelatives" value="0" />
+ <SetVar name="nrprinted" value="0" />
+ <SetVar name="nrevent" value="0" />
+ <SetVar name="nrmissingevent" value="0" />
+
+ <Doc pageSize="$pageSize">
+ <Header>
+ <Cell align="center" newline="1" style="header"><var var="I18N::translate('Missing data')" /></Cell>
+ <Cell align="rightrtl" newline="1" style="pagenum"><var var="I18N::translate('Page')"/> <PageNum/> / <TotalPages/></Cell>
+ <Cell align="center" border="1" style="list_label" width="$name"><var var="I18N::translate('Name')" /></Cell>
+ <Cell align="center" border="1" newline="1" style="list_label"><var var="I18N::translate('Event')" /></Cell>
+ </Header>
+
+<!--
+Start with BIRT GEDCOM tag.
+Place any GEDCOM tags in GEDCOM alphabetic order here
+nd it with DEAT and BURI
+Place any GEDCOM tags after DEAT/BURI witch has no additional subtags, such as RELI, in alphabetic order
+-->
+ <Body>
+
+ <Relatives id="$pid" group="$relatives" maxgen="$maxgen" sortby="NAME">
+ <!-- Relatives counter -->
+ <SetVar name="nrrelatives" value="$nrrelatives + 1" />
+ <SetVar name="printname" value="0" />
+ <!-- Birth -->
+ <if condition="$fbirt=='on'">
+ <!-- Total Event Counter -->
+ <SetVar name="nrevent" value="$nrevent + 2" />
+ <if condition="@BIRT:DATE==''">
+ <!-- Missing event counter -->
+ <SetVar name="nrmissingevent" value="$nrmissingevent + 1" />
+ <if condition="$printname=='0'">
+ <Cell style="list_value" width="$name"><GetPersonName id="" /></Cell>
+ <SetVar name="printname" value="1" />
+ </if>
+ <Cell newline="1" style="list_value"><var var="I18N::translate('Date of birth')" /></Cell>
+ </if>
+ <if condition="@BIRT:PLAC==''">
+ <!-- Missing event counter -->
+ <SetVar name="nrmissingevent" value="$nrmissingevent + 1" />
+ <if condition="$printname=='1'">
+ <Cell style="list_value" width="$name"> </Cell>
+ </if>
+ <if condition="$printname=='0'">
+ <Cell style="list_value" width="$name"><GetPersonName id="" /></Cell>
+ <SetVar name="printname" value="1" />
+ </if>
+ <Cell newline="1" style="list_value"><var var="I18N::translate('Place of birth')" /></Cell>
+ </if>
+ <if condition="$fsour=='on'">
+ <!-- Total Event Counter -->
+ <SetVar name="nrevent" value="$nrevent + 1" />
+ <if condition="@BIRT:SOUR==''">
+ <!-- Missing event counter -->
+ <SetVar name="nrmissingevent" value="$nrmissingevent + 1" />
+ <if condition="$printname=='1'">
+ <Cell style="list_value" width="$name"> </Cell>
+ </if>
+ <if condition="$printname=='0'">
+ <Cell style="list_value" width="$name"><GetPersonName id="" /></Cell>
+ <SetVar name="printname" value="1" />
+ </if>
+ <Cell newline="1" style="list_value"><var var="I18N::translate('Source')" /></Cell>
+ </if>
+ </if>
+ </if>
+
+ <!-- Baptism / Christining -->
+ <if condition="$fbapm=='on'">
+ <!-- Total Event Counter -->
+ <SetVar name="nrevent" value="$nrevent + 2" />
+ <SetVar name="printbapm" value="0" />
+ <!-- Baptism -->
+ <if condition="(@CHR:DATE=='') and (@CHR:PLAC=='') and (@CHR:SOUR=='')">
+ <if condition="@BAPM:DATE==''">
+ <SetVar name="nrmissingevent" value="$nrmissingevent + 1" />
+ <if condition="$printname=='1'">
+ <Cell style="list_value" width="$name"> </Cell>
+ </if>
+ <if condition="$printname=='0'">
+ <Cell style="list_value" width="$name"><GetPersonName id="" /></Cell>
+ <SetVar name="printname" value="1" />
+ </if>
+ <Cell newline="1" style="list_value"><var var="I18N::translate('Date of baptism')" /></Cell>
+ </if>
+ <if condition="@BAPM:PLAC==''">
+ <SetVar name="nrmissingevent" value="$nrmissingevent + 1" />
+ <if condition="$printname=='1'">
+ <Cell style="list_value" width="$name"> </Cell>
+ </if>
+ <if condition="$printname=='0'">
+ <Cell style="list_value" width="$name"><GetPersonName id="" /></Cell>
+ <SetVar name="printname" value="1" />
+ </if>
+ <Cell newline="1" style="list_value"><var var="I18N::translate('Place of baptism')" /></Cell>
+ </if>
+ <if condition="$fsour=='on'">
+ <SetVar name="nrevent" value="$nrevent + 1" />
+ <if condition="@BAPM:SOUR==''">
+ <SetVar name="nrmissingevent" value="$nrmissingevent + 1" />
+ <if condition="$printname=='1'">
+ <Cell style="list_value" width="$name"> </Cell>
+ </if>
+ <if condition="$printname=='0'">
+ <Cell style="list_value" width="$name"><GetPersonName id="" /></Cell>
+ <SetVar name="printname" value="1" />
+ </if>
+ <Cell newline="1" style="list_value"><var var="I18N::translate('Source')" /></Cell>
+ </if>
+ </if>
+ <SetVar name="printbapm" value="1" />
+ </if>
+
+ <!-- Christining -->
+ <if condition="((@CHR:DATE=='') or (@CHR:PLAC=='')) and ($printbapm==0)">
+ <if condition="@CHR:DATE==''">
+ <SetVar name="nrmissingevent" value="$nrmissingevent + 1" />
+ <if condition="$printname=='1'">
+ <Cell style="list_value" width="$name"> </Cell>
+ </if>
+ <if condition="$printname=='0'">
+ <Cell style="list_value" width="$name"><GetPersonName id="" /></Cell>
+ <SetVar name="printname" value="1" />
+ </if>
+ <Cell newline="1" style="list_value"><var var="I18N::translate('Date of christening')" /></Cell>
+ </if>
+ <if condition="@CHR:PLAC==''">
+ <SetVar name="nrmissingevent" value="$nrmissingevent + 1" />
+ <if condition="$printname=='1'">
+ <Cell style="list_value" width="$name"> </Cell>
+ </if>
+ <if condition="$printname=='0'">
+ <Cell style="list_value" width="$name"><GetPersonName id="" /></Cell>
+ <SetVar name="printname" value="1" />
+ </if>
+ <Cell newline="1" style="list_value"><var var="I18N::translate('Place of christening')" /></Cell>
+ </if>
+ <if condition="$fsour=='on'">
+ <SetVar name="nrevent" value="$nrevent + 1" />
+ <if condition="@CHR:SOUR==''">
+ <SetVar name="nrmissingevent" value="$nrmissingevent + 1" />
+ <if condition="$printname=='1'">
+ <Cell style="list_value" width="$name"> </Cell>
+ </if>
+ <if condition="$printname=='0'">
+ <Cell style="list_value" width="$name"><GetPersonName id="" /></Cell>
+ <SetVar name="printname" value="1" />
+ </if>
+ <Cell newline="1" style="list_value"><var var="I18N::translate('Source')" /></Cell>
+ </if>
+ </if>
+ </if>
+ </if>
+
+ <!-- BARM - male only -->
+ <if condition="($fbarm=='on') and (@SEX=='M')">
+ <SetVar name="nrevent" value="$nrevent + 2" />
+ <if condition="@BARM:DATE==''">
+ <SetVar name="nrmissingevent" value="$nrmissingevent + 1" />
+ <if condition="$printname=='1'">
+ <Cell style="list_value" width="$name"> </Cell>
+ </if>
+ <if condition="$printname=='0'">
+ <Cell style="list_value" width="$name"><GetPersonName id="" /></Cell>
+ <SetVar name="printname" value="1" />
+ </if>
+ <Cell newline="1" style="list_value"><var var="I18N::translate('Date of bar mitzvah')" /></Cell>
+ </if>
+ <if condition="@BARM:PLAC==''">
+ <SetVar name="nrmissingevent" value="$nrmissingevent + 1" />
+ <if condition="$printname=='on'">
+ <Cell style="list_value" width="$name"> </Cell>
+ </if>
+ <if condition="$printname=='0'">
+ <Cell style="list_value" width="$name"><GetPersonName id="" /></Cell>
+ <SetVar name="printname" value="1" />
+ </if>
+ <Cell newline="1" style="list_value"><var var="I18N::translate('Place of bar mitzvah')" /></Cell>
+ </if>
+ <if condition="$fsour=='1'">
+ <SetVar name="nrevent" value="$nrevent + 1" />
+ <if condition="@BARM:SOUR==''">
+ <SetVar name="nrmissingevent" value="$nrmissingevent + 1" />
+ <if condition="$printname=='on'">
+ <Cell style="list_value" width="$name"> </Cell>
+ </if>
+ <if condition="$printname=='0'">
+ <Cell style="list_value" width="$name"><GetPersonName id="" /></Cell>
+ <SetVar name="printname" value="1" />
+ </if>
+ <Cell newline="1" style="list_value"><var var="I18N::translate('Source')" /></Cell>
+ </if>
+ </if>
+ </if>
+
+ <!-- BASM - female only -->
+ <if condition="($fbasm=='on') and (@SEX=='F')">
+ <SetVar name="nrevent" value="$nrevent + 2" />
+ <if condition="@BASM:DATE==''">
+ <SetVar name="nrmissingevent" value="$nrmissingevent + 1" />
+ <if condition="$printname=='1'">
+ <Cell style="list_value" width="$name"> </Cell>
+ </if>
+ <if condition="$printname=='0'">
+ <Cell style="list_value" width="$name"><GetPersonName id="" /></Cell>
+ <SetVar name="printname" value="1" />
+ </if>
+ <Cell newline="1" style="list_value"><var var="I18N::translate('Date of bat mitzvah')" /></Cell>
+ </if>
+ <if condition="@BASM:PLAC==''">
+ <SetVar name="nrmissingevent" value="$nrmissingevent + 1" />
+ <if condition="$printname=='1'">
+ <Cell style="list_value" width="$name"> </Cell>
+ </if>
+ <if condition="$printname=='0'">
+ <Cell style="list_value" width="$name"><GetPersonName id="" /></Cell>
+ <SetVar name="printname" value="1" />
+ </if>
+ <Cell newline="1" style="list_value"><var var="I18N::translate('Place of bat mitzvah')" /></Cell>
+ </if>
+ <if condition="$fsour=='on'">
+ <SetVar name="nrevent" value="$nrevent + 1" />
+ <if condition="@BASM:SOUR==''">
+ <SetVar name="nrmissingevent" value="$nrmissingevent + 1" />
+ <if condition="$printname=='1'">
+ <Cell style="list_value" width="$name"> </Cell>
+ </if>
+ <if condition="$printname=='0'">
+ <Cell style="list_value" width="$name"><GetPersonName id="" /></Cell>
+ <SetVar name="printname" value="1" />
+ </if>
+ <Cell newline="1" style="list_value"><var var="I18N::translate('Source')" /></Cell>
+ </if>
+ </if>
+ </if>
+
+ <!-- CONF -->
+ <if condition="$fconf=='on'">
+ <SetVar name="nrevent" value="$nrevent + 2" />
+ <if condition="@CONF:DATE==''">
+ <SetVar name="nrmissingevent" value="$nrmissingevent + 1" />
+ <if condition="$printname=='1'">
+ <Cell style="list_value" width="$name"> </Cell>
+ </if>
+ <if condition="$printname=='0'">
+ <Cell style="list_value" width="$name"><GetPersonName id="" /></Cell>
+ <SetVar name="printname" value="1" />
+ </if>
+ <Cell newline="1" style="list_value"><var var="I18N::translate('Date of confirmation')" /></Cell>
+ </if>
+ <if condition="@CONF:PLAC==''">
+ <SetVar name="nrmissingevent" value="$nrmissingevent + 1" />
+ <if condition="$printname=='1'">
+ <Cell style="list_value" width="$name"> </Cell>
+ </if>
+ <if condition="$printname=='0'">
+ <Cell style="list_value" width="$name"><GetPersonName id="" /></Cell>
+ <SetVar name="printname" value="1" />
+ </if>
+ <Cell newline="1" style="list_value"><var var="I18N::translate('Place of confirmation')" /></Cell>
+ </if>
+ <if condition="$fsour=='on'">
+ <SetVar name="nrevent" value="$nrevent + 1" />
+ <if condition="@CONF:SOUR==''">
+ <SetVar name="nrmissingevent" value="$nrmissingevent + 1" />
+ <if condition="$printname=='1'">
+ <Cell style="list_value" width="$name"> </Cell>
+ </if>
+ <if condition="$printname=='0'">
+ <Cell style="list_value" width="$name"><GetPersonName id="" /></Cell>
+ <SetVar name="printname" value="1" />
+ </if>
+ <Cell newline="1" style="list_value"><var var="I18N::translate('Source')" /></Cell>
+ </if>
+ </if>
+ </if>
+
+ <!-- ENGA -->
+ <if condition="$fenga=='on'">
+ <SetVar name="nrevent" value="$nrevent + 2" />
+ <Gedcom id="@FAMS">
+ <if condition="@ENGA:DATE==''">
+ <SetVar name="nrmissingevent" value="$nrmissingevent + 1" />
+ <if condition="$printname=='1'">
+ <Cell style="list_value" width="$name"> </Cell>
+ </if>
+ <if condition="$printname=='0'">
+ <Cell style="list_value" width="$name"><GetPersonName id="" /></Cell>
+ <SetVar name="printname" value="1" />
+ </if>
+ <Cell newline="1" style="list_value"><var var="I18N::translate('Date of engagement')" /></Cell>
+ </if>
+ <if condition="@ENGA:PLAC==''">
+ <SetVar name="nrmissingevent" value="$nrmissingevent + 1" />
+ <if condition="$printname=='1'">
+ <Cell style="list_value" width="$name"> </Cell>
+ </if>
+ <if condition="$printname=='0'">
+ <Cell style="list_value" width="$name"><GetPersonName id="" /></Cell>
+ <SetVar name="printname" value="1" />
+ </if>
+ <Cell newline="1" style="list_value"><var var="I18N::translate('Place of engagement')" /></Cell>
+ </if>
+ <if condition="$fsour=='on'">
+ <SetVar name="nrevent" value="$nrevent + 1" />
+ <if condition="@ENGA:SOUR==''">
+ <SetVar name="nrmissingevent" value="$nrmissingevent + 1" />
+ <if condition="$printname=='1'">
+ <Cell style="list_value" width="$name"> </Cell>
+ </if>
+ <if condition="$printname=='0'">
+ <Cell style="list_value" width="$name"><GetPersonName id="" /></Cell>
+ <SetVar name="printname" value="1" />
+ </if>
+ <Cell newline="1" style="list_value"><var var="I18N::translate('Source')" /></Cell>
+ </if>
+ </if>
+ </Gedcom>
+ </if>
+
+ <!-- FCOM -->
+ <if condition="$ffcom=='on'">
+ <SetVar name="nrevent" value="$nrevent + 2" />
+ <if condition="@FCOM:DATE==''">
+ <SetVar name="nrmissingevent" value="$nrmissingevent + 1" />
+ <if condition="$printname=='1'">
+ <Cell style="list_value" width="$name"> </Cell>
+ </if>
+ <if condition="$printname=='0'">
+ <Cell style="list_value" width="$name"><GetPersonName id="" /></Cell>
+ <SetVar name="printname" value="1" />
+ </if>
+ <Cell newline="1" style="list_value"><var var="I18N::translate('Date of first communion')" /></Cell>
+ </if>
+ <if condition="@FCOM:PLAC==''">
+ <SetVar name="nrmissingevent" value="$nrmissingevent + 1" />
+ <if condition="$printname=='1'">
+ <Cell style="list_value" width="$name"> </Cell>
+ </if>
+ <if condition="$printname=='0'">
+ <Cell style="list_value" width="$name"><GetPersonName id="" /></Cell>
+ <SetVar name="printname" value="1" />
+ </if>
+ <Cell newline="1" style="list_value"><var var="I18N::translate('Place of first communion')" /></Cell>
+ </if>
+ <if condition="$fsour=='on'">
+ <SetVar name="nrevent" value="$nrevent + 1" />
+ <if condition="@FCOM:SOUR==''">
+ <SetVar name="nrmissingevent" value="$nrmissingevent + 1" />
+ <if condition="$printname=='1'">
+ <Cell style="list_value" width="$name"> </Cell>
+ </if>
+ <if condition="$printname=='0'">
+ <Cell style="list_value" width="$name"><GetPersonName id="" /></Cell>
+ <SetVar name="printname" value="1" />
+ </if>
+ <Cell newline="1" style="list_value"><var var="I18N::translate('Source')" /></Cell>
+ </if>
+ </if>
+ </if>
+
+ <!-- MARB -->
+ <if condition="$fmarb=='on'">
+ <SetVar name="nrevent" value="$nrevent + 2" />
+ <Gedcom id="@FAMS">
+ <if condition="@MARB:DATE==''">
+ <SetVar name="nrmissingevent" value="$nrmissingevent + 1" />
+ <if condition="$printname=='1'">
+ <Cell style="list_value" width="$name"> </Cell>
+ </if>
+ <if condition="$printname=='0'">
+ <Cell style="list_value" width="$name"><GetPersonName id="" /></Cell>
+ <SetVar name="printname" value="1" />
+ </if>
+ <Cell newline="1" style="list_value"><var var="I18N::translate('Date of marriage banns')" /></Cell>
+ </if>
+ <if condition="@MARB:PLAC==''">
+ <SetVar name="nrmissingevent" value="$nrmissingevent + 1" />
+ <if condition="$printname=='1'">
+ <Cell style="list_value" width="$name"> </Cell>
+ </if>
+ <if condition="$printname=='0'">
+ <Cell style="list_value" width="$name"><GetPersonName id="" /></Cell>
+ <SetVar name="printname" value="1" />
+ </if>
+ <Cell newline="1" style="list_value"><var var="I18N::translate('Place of marriage banns')" /></Cell>
+ </if>
+ <if condition="$fsour=='on'">
+ <SetVar name="nrevent" value="$nrevent + 1" />
+ <if condition="@MARB:SOUR==''">
+ <SetVar name="nrmissingevent" value="$nrmissingevent + 1" />
+ <if condition="$printname=='1'">
+ <Cell style="list_value" width="$name"> </Cell>
+ </if>
+ <if condition="$printname=='0'">
+ <Cell style="list_value" width="$name"><GetPersonName id="" /></Cell>
+ <SetVar name="printname" value="1" />
+ </if>
+ <Cell newline="1" style="list_value"><var var="I18N::translate('Source')" /></Cell>
+ </if>
+ </if>
+ </Gedcom>
+ </if>
+
+ <!-- MARM -->
+ <if condition="$fmarr=='on'">
+ <SetVar name="nrevent" value="$nrevent + 2" />
+ <Gedcom id="@FAMS">
+ <if condition="@MARR:DATE==''">
+ <SetVar name="nrmissingevent" value="$nrmissingevent + 1" />
+ <if condition="$printname=='1'">
+ <Cell style="list_value" width="$name"> </Cell>
+ </if>
+ <if condition="$printname=='0'">
+ <Cell style="list_value" width="$name"><GetPersonName id="" /></Cell>
+ <SetVar name="printname" value="1" />
+ </if>
+ <Cell newline="1" style="list_value"><var var="I18N::translate('Date of marriage')" /></Cell>
+ </if>
+ <if condition="@MARR:PLAC==''">
+ <SetVar name="nrmissingevent" value="$nrmissingevent + 1" />
+ <if condition="$printname=='1'">
+ <Cell style="list_value" width="$name"> </Cell>
+ </if>
+ <if condition="$printname=='0'">
+ <Cell style="list_value" width="$name"><GetPersonName id="" /></Cell>
+ <SetVar name="printname" value="1" />
+ </if>
+ <Cell newline="1" style="list_value"><var var="I18N::translate('Place of marriage')" /></Cell>
+ </if>
+ <if condition="$fsour=='on'">
+ <SetVar name="nrevent" value="$nrevent + 1" />
+ <if condition="@MARR:SOUR==''">
+ <SetVar name="nrmissingevent" value="$nrmissingevent + 1" />
+ <if condition="$printname=='1'">
+ <Cell style="list_value" width="$name"> </Cell>
+ </if>
+ <if condition="$printname=='0'">
+ <Cell style="list_value" width="$name"><GetPersonName id="" /></Cell>
+ <SetVar name="printname" value="1" />
+ </if>
+ <Cell newline="1" style="list_value"><var var="I18N::translate('Source')" /></Cell>
+ </if>
+ </if>
+ </Gedcom>
+ </if>
+
+ <!-- DEAT -->
+ <if condition="$fdeat=='on'">
+ <SetVar name="nrevent" value="$nrevent + 2" />
+ <if condition="@DEAT:DATE==''">
+ <SetVar name="nrmissingevent" value="$nrmissingevent + 1" />
+ <if condition="$printname=='1'">
+ <Cell style="list_value" width="$name"> </Cell>
+ </if>
+ <if condition="$printname=='0'">
+ <Cell style="list_value" width="$name"><GetPersonName id="" /></Cell>
+ <SetVar name="printname" value="1" />
+ </if>
+ <Cell newline="1" style="list_value"><var var="I18N::translate('Date of death')" /></Cell>
+ </if>
+ <if condition="@DEAT:PLAC==''">
+ <SetVar name="nrmissingevent" value="$nrmissingevent + 1" />
+ <if condition="$printname=='1'">
+ <Cell style="list_value" width="$name"> </Cell>
+ </if>
+ <if condition="$printname=='0'">
+ <Cell style="list_value" width="$name"><GetPersonName id="" /></Cell>
+ <SetVar name="printname" value="1" />
+ </if>
+ <Cell newline="1" style="list_value"><var var="I18N::translate('Place of death')" /></Cell>
+ </if>
+ <if condition="$fsour=='on'">
+ <SetVar name="nrevent" value="$nrevent + 1" />
+ <if condition="@DEAT:SOUR==''">
+ <SetVar name="nrmissingevent" value="$nrmissingevent + 1" />
+ <if condition="$printname=='1'">
+ <Cell style="list_value" width="$name"> </Cell>
+ </if>
+ <if condition="$printname=='0'">
+ <Cell style="list_value" width="$name"><GetPersonName id="" /></Cell>
+ <SetVar name="printname" value="1" />
+ </if>
+ <Cell newline="1" style="list_value"><var var="I18N::translate('Source')" /></Cell>
+ </if>
+ </if>
+ </if>
+
+ <!-- BURI -->
+ <if condition="$fburi=='on'">
+ <SetVar name="nrevent" value="$nrevent + 2" />
+ <if condition="@BURI:DATE==''">
+ <SetVar name="nrmissingevent" value="$nrmissingevent + 1" />
+ <if condition="$printname=='1'">
+ <Cell style="list_value" width="$name"> </Cell>
+ </if>
+ <if condition="$printname=='0'">
+ <Cell style="list_value" width="$name"><GetPersonName id="" /></Cell>
+ <SetVar name="printname" value="1" />
+ </if>
+ <Cell newline="1" style="list_value"><var var="I18N::translate('Date of burial')" /></Cell>
+ </if>
+ <if condition="@BURI:PLAC==''">
+ <SetVar name="nrmissingevent" value="$nrmissingevent + 1" />
+ <if condition="$printname=='1'">
+ <Cell style="list_value" width="$name"> </Cell>
+ </if>
+ <if condition="$printname=='0'">
+ <Cell style="list_value" width="$name"><GetPersonName id="" /></Cell>
+ <SetVar name="printname" value="1" />
+ </if>
+ <Cell newline="1" style="list_value"><var var="I18N::translate('Place of burial')" /></Cell>
+ </if>
+ <if condition="$fsour=='on'">
+ <SetVar name="nrevent" value="$nrevent + 1" />
+ <if condition="@BURI:SOUR==''">
+ <SetVar name="nrmissingevent" value="$nrmissingevent + 1" />
+ <if condition="$printname=='1'">
+ <Cell style="list_value" width="$name"> </Cell>
+ </if>
+ <if condition="$printname=='0'">
+ <Cell style="list_value" width="$name"><GetPersonName id="" /></Cell>
+ <SetVar name="printname" value="1" />
+ </if>
+ <Cell newline="1" style="list_value"><var var="I18N::translate('Source')" /></Cell>
+ </if>
+ </if>
+ </if>
+
+ <!-- RELI -->
+ <if condition="$freli=='on'">
+ <SetVar name="nrevent" value="$nrevent + 1" />
+ <if condition="@RELI==''">
+ <SetVar name="nrmissingevent" value="$nrmissingevent + 1" />
+ <if condition="$printname=='1'">
+ <Cell style="list_value" width="$name"> </Cell>
+ </if>
+ <if condition="$printname=='0'">
+ <Cell style="list_value" width="$name"><GetPersonName id="" /></Cell>
+ <SetVar name="printname" value="1" />
+ </if>
+ <Cell newline="1" style="list_value"><var var="I18N::translate('Religion')" /></Cell>
+ </if>
+ </if>
+
+ <if condition="$printname=='1'">
+ <SetVar name="nrprinted" value="$nrprinted + 1" />
+ <TextBox height="1" newline="1" padding="0"/>
+ <Line />
+ <TextBox height="1" newline="1" padding="0"/>
+ </if>
+
+ </Relatives>
+
+ <TextBox height="$vspace" newline="1" padding="0"/>
+ <Cell align="rightrtl" newline="1" style="list_label"><var var="I18N::translate('Total individuals')"/>: <var var="nrprinted"/> / <var var="nrrelatives"/></Cell>
+ <Cell align="rightrtl" newline="1" style="list_label"><var var="I18N::translate('Total events')"/>: <var var="nrmissingevent"/> / <var var="nrevent"/></Cell>
+ <TextBox height="$vspace" newline="1" padding="0"/>
+
+ </Body>
+
+ <Footer>
+ <Cell align="rightrtl" newline="1" style="date"><Now/></Cell>
+ </Footer>
+ </Doc>
+</Report>
diff --git a/resources/xml/reports/occupation_report.xml b/resources/xml/reports/occupation_report.xml
new file mode 100644
index 0000000000..c9cfdfdec9
--- /dev/null
+++ b/resources/xml/reports/occupation_report.xml
@@ -0,0 +1,100 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<Report>
+ <Title><var var="I18N::translate('Occupations')" /></Title>
+ <Description><var var="I18N::translate('A report of individuals who had a given occupation.')" /></Description>
+ <Input name="occupation" lookup="OCCU" type="text"><var var="I18N::translate('Occupation')" /> </Input>
+ <Input name="sortby" type="select" default="NAME" options="NAME=>I18N::translate('sort by name')|BIRT:DATE=>I18N::translate('sort by date of birth')"><var var="I18N::translate('Sort order')" /></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="16" style="b" />
+ <!-- Page numbers text -->
+ <Style name="pagenum" font="$fonts" size="8"/>
+ <!-- Standard text -->
+ <Style name="text" font="$fonts" size="8"/>
+ <!-- Column labels -->
+ <Style name="label" font="$fonts" size="10" style="b" />
+ <!-- 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"/>
+
+ <!-- landscape orientation -->
+ <SetVar name="namewidth" value="180"/>
+ <SetVar name="datewidth" value="95"/>
+ <SetVar name="occuwidth" value="130"/>
+ <SetVar name="occudatewidth" value="95"/>
+ <SetVar name="placewidth" value="100"/>
+ <SetVar name="printedoccupation" value="0" />
+ <SetVar name="morespaceindi" value="$namewidth + $datewidth" />
+
+ <Doc pageSize="$pageSize" orientation="landscape">
+ <Header>
+ <Cell align="center" height="20" newline="1" style="header"><var var="I18N::translate('Occupations')" /></Cell>
+ <Cell align="rightrtl" newline="1" style="pagenum"><var var="I18N::translate('Page')" /> <PageNum /> <var var="I18N::translate('of')" /> <TotalPages /></Cell>
+
+ <SetVar name="fill" value="" />
+ <if condition="$sortby=='NAME'"><SetVar name="fill" value="#AAAAAA" /></if>
+ <TextBox bgcolor="$fill" border="1" width="$namewidth">
+ <Text style="label"><var var="I18N::translate('Name')" /></Text>
+ </TextBox>
+
+ <SetVar name="fill" value="" />
+ <if condition="$sortby=='BIRT:DATE'"><SetVar name="fill" value="#AAAAAA" /></if>
+ <TextBox bgcolor="$fill" border="1" width="$datewidth">
+ <Text style="label"><var var="I18N::translate('Date of birth')" /></Text>
+ </TextBox>
+ <!-- should print and sort by birth date -->
+
+ <TextBox border="1" width="$occuwidth">
+ <Text style="label"><var var="I18N::translate('Occupation')" /></Text>
+ </TextBox>
+ <TextBox border="1" width="$occudatewidth">
+ <Text style="label"><var var="I18N::translate('Date')" /></Text>
+ </TextBox>
+ <TextBox border="1" width="$placewidth">
+ <Text style="label"><var var="I18N::translate('Place')" /></Text>
+ </TextBox>
+
+ <TextBox border="1" newline="1">
+ <Text style="label"><var var="I18N::translate('Note')" /></Text>
+ </TextBox>
+ </Header>
+ <Body>
+ <List list="individual" filter1="OCCU CONTAINS $occupation" filter2="REGEXP /\n1 OCCU/" sortby="$sortby">
+ <SetVar name="moreoccupation" value="0" />
+ <!-- Printed List counter -->
+ <SetVar name="printedoccupation" value="$printedoccupation + 1" />
+ <Cell style="text" width="$namewidth"><GetPersonName id="" />
+ </Cell>
+ <Cell style="text" width="$datewidth"><GedcomValue tag="BIRT:DATE" newline="1" /></Cell>
+ <RepeatTag tag="OCCU">
+ <!-- Intend the fact line if more then one occupation -->
+ <if condition="$moreoccupation==1">
+ <Cell style="text" width="$morespaceindi"> </Cell>
+ </if>
+ <Cell style="text" width="$occuwidth"><GedcomValue tag="OCCU"/></Cell>
+ <!-- Date of the fact -->
+ <Cell style="text" width="$occudatewidth"><GedcomValue tag="OCCU:DATE"/></Cell>
+ <!-- Place of the fact -->
+ <Cell style="text" width="$placewidth"><GedcomValue tag="OCCU:PLAC"/></Cell>
+ <!-- Note text -->
+ <Cell style="text" newline="1">
+ <RepeatTag tag="OCCU">
+ <GedcomValue tag="OCCU:NOTE"/>
+ </RepeatTag>
+ </Cell>
+ <SetVar name="moreoccupation" value="1" />
+ </RepeatTag>
+ </List>
+ <Cell align="rightrtl" newline="1" style="label"><br /><var var="I18N::translate('Total individuals')" />: <ListTotal /></Cell>
+ </Body>
+ <Footer>
+ <Cell align="rightrtl" newline="1" style="date"><Now /></Cell>
+ </Footer>
+ </Doc>
+</Report>
diff --git a/resources/xml/reports/pedigree_report.xml b/resources/xml/reports/pedigree_report.xml
new file mode 100644
index 0000000000..5d9c507be7
--- /dev/null
+++ b/resources/xml/reports/pedigree_report.xml
@@ -0,0 +1,1406 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<Report>
+ <Title><var var="I18N::translate('Pedigree')" /></Title>
+ <Description><var var="I18N::translate('A report of an individual’s ancestors, formatted as a tree.')" /></Description>
+ <Input name="pid" lookup="INDI" type="text" default=""><var var="I18N::translate('Individual')" /></Input>
+ <Input name="orientation" type="select" default="portrait" options="portrait=>I18N::translate('Portrait')|landscape=>I18N::translate('Landscape')"><var var="I18N::translate('Orientation')"/></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" />
+
+ <if condition="$orientation=='portrait'">
+ <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')" /></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"><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE" truncate="$trunc_place" />
+ <br /><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:PLAC" truncate="$trunc_place" />
+ <Gedcom id="@FAMS">
+ <br /><var var="I18N::translate('Marriage')" /> <GedcomValue tag="MARR:DATE" truncate="$trunc_place" />
+ <br /><var var="I18N::translate('Marriage')" /> <GedcomValue tag="MARR:PLAC" truncate="$trunc_place" />
+ </Gedcom>
+ <Gedcom id="DEAT">
+ <br /><var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:DATE" truncate="$trunc_place" />
+ <br /><var var="I18N::translate('Death')" /> <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"><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE" truncate="$trunc_123_place" />
+ <br /><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:PLAC" truncate="$trunc_123_place" />
+ <Gedcom id="@FAMS">
+ <br /><var var="I18N::translate('Marriage')" /> <GedcomValue tag="MARR:DATE" truncate="$trunc_123_place" />
+ <br /><var var="I18N::translate('Marriage')" /> <GedcomValue tag="MARR:PLAC" truncate="$trunc_123_place" />
+ </Gedcom>
+ <Gedcom id="DEAT">
+ <br /><var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:DATE" truncate="$trunc_123_place" />
+ <br /><var var="I18N::translate('Death')" /> <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"><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE" truncate="$trunc_123_place" />
+ <br /><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:PLAC" truncate="$trunc_123_place" />
+ <Gedcom id="DEAT">
+ <br /><var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:DATE" truncate="$trunc_123_place" />
+ <br /><var var="I18N::translate('Death')" /> <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"><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE" truncate="$trunc_4_to_7_place" />
+ <br /><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:PLAC" truncate="$trunc_4_to_7_place" />
+ <Gedcom id="@FAMS">
+ <br /><var var="I18N::translate('Marriage')" /> <GedcomValue tag="MARR:DATE" truncate="$trunc_4_to_7_place" />
+ <br /><var var="I18N::translate('Marriage')" /> <GedcomValue tag="MARR:PLAC" truncate="$trunc_4_to_7_place" />
+ </Gedcom>
+ <Gedcom id="DEAT">
+ <br /><var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:DATE" truncate="$trunc_4_to_7_place" />
+ <br /><var var="I18N::translate('Death')" /> <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"><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE" truncate="$trunc_4_to_7_place" />
+ <br /><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:PLAC" truncate="$trunc_4_to_7_place" />
+ <Gedcom id="DEAT">
+ <br /><var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:DATE" truncate="$trunc_4_to_7_place" />
+ <br /><var var="I18N::translate('Death')" /> <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"><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE" truncate="$trunc_4_to_7_place" />
+ <br /><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:PLAC" truncate="$trunc_4_to_7_place" />
+ <Gedcom id="@FAMS">
+ <br /><var var="I18N::translate('Marriage')" /> <GedcomValue tag="MARR:DATE" truncate="$trunc_4_to_7_place" />
+ <br /><var var="I18N::translate('Marriage')" /> <GedcomValue tag="MARR:PLAC" truncate="$trunc_4_to_7_place" />
+ </Gedcom>
+ <Gedcom id="DEAT">
+ <br /><var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:DATE" truncate="$trunc_4_to_7_place" />
+ <br /><var var="I18N::translate('Death')" /> <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"><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE" truncate="$trunc_4_to_7_place" />
+ <br /><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:PLAC" truncate="$trunc_4_to_7_place" />
+ <Gedcom id="DEAT">
+ <br /><var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:DATE" truncate="$trunc_4_to_7_place" />
+ <br /><var var="I18N::translate('Death')" /> <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"><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE" truncate="$trunc_dateplace" />
+ <br /><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:PLAC" truncate="$trunc_dateplace" />
+ <Gedcom id="@FAMS">
+ <br /><var var="I18N::translate('Marriage')" /> <GedcomValue tag="MARR:DATE" truncate="$trunc_dateplace" />
+ <br /><var var="I18N::translate('Marriage')" /> <GedcomValue tag="MARR:PLAC" truncate="$trunc_dateplace" />
+ </Gedcom>
+ <Gedcom id="DEAT">
+ <br /><var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:DATE" truncate="$trunc_dateplace" />
+ <br /><var var="I18N::translate('Death')" /> <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"><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE" truncate="$trunc_dateplace" />
+ <br /><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:PLAC" truncate="$trunc_dateplace" />
+ <Gedcom id="DEAT">
+ <br /><var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:DATE" truncate="$trunc_dateplace" />
+ <br /><var var="I18N::translate('Death')" /> <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"><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE" truncate="$trunc_dateplace" />
+ <br /><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:PLAC" truncate="$trunc_dateplace" />
+ <Gedcom id="@FAMS">
+ <br /><var var="I18N::translate('Marriage')" /> <GedcomValue tag="MARR:DATE" truncate="$trunc_dateplace" />
+ <br /><var var="I18N::translate('Marriage')" /> <GedcomValue tag="MARR:PLAC" truncate="$trunc_dateplace" />
+ </Gedcom>
+ <Gedcom id="DEAT">
+ <br /><var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:DATE" truncate="$trunc_dateplace" />
+ <br /><var var="I18N::translate('Death')" /> <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"><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE" truncate="$trunc_dateplace" />
+ <br /><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:PLAC" truncate="$trunc_dateplace" />
+ <Gedcom id="DEAT">
+ <br /><var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:DATE" truncate="$trunc_dateplace" />
+ <br /><var var="I18N::translate('Death')" /> <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"><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE" truncate="$trunc_dateplace" />
+ <br /><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:PLAC" truncate="$trunc_dateplace" />
+ <Gedcom id="@FAMS">
+ <br /><var var="I18N::translate('Marriage')" /> <GedcomValue tag="MARR:DATE" truncate="$trunc_dateplace" />
+ <br /><var var="I18N::translate('Marriage')" /> <GedcomValue tag="MARR:PLAC" truncate="$trunc_dateplace" />
+ </Gedcom>
+ <Gedcom id="DEAT">
+ <br /><var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:DATE" truncate="$trunc_dateplace" />
+ <br /><var var="I18N::translate('Death')" /> <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"><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE" truncate="$trunc_dateplace" />
+ <br /><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:PLAC" truncate="$trunc_dateplace" />
+ <Gedcom id="DEAT">
+ <br /><var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:DATE" truncate="$trunc_dateplace" />
+ <br /><var var="I18N::translate('Death')" /> <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"><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE" truncate="$trunc_dateplace" />
+ <br /><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:PLAC" truncate="$trunc_dateplace" />
+ <Gedcom id="@FAMS">
+ <br /><var var="I18N::translate('Marriage')" /> <GedcomValue tag="MARR:DATE" truncate="$trunc_dateplace" />
+ <br /><var var="I18N::translate('Marriage')" /> <GedcomValue tag="MARR:PLAC" truncate="$trunc_dateplace" />
+ </Gedcom>
+ <Gedcom id="DEAT">
+ <br /><var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:DATE" truncate="$trunc_dateplace" />
+ <br /><var var="I18N::translate('Death')" /> <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"><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE" truncate="$trunc_dateplace" />
+ <br /><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:PLAC" truncate="$trunc_dateplace" />
+ <Gedcom id="DEAT">
+ <br /><var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:DATE" truncate="$trunc_dateplace" />
+ <br /><var var="I18N::translate('Death')" /> <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"><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE" truncate="30" />
+ <Gedcom id="@FAMS">
+ <br /><var var="I18N::translate('Marriage')" /> <GedcomValue tag="MARR:DATE" truncate="30" />
+ </Gedcom>
+ <Gedcom id="DEAT">
+ <br /><var var="I18N::translate('Death')" /> <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"><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE" truncate="30" />
+ <Gedcom id="DEAT">
+ <br /><var var="I18N::translate('Death')" /> <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"><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE" truncate="30" />
+ <Gedcom id="@FAMS">
+ <br /><var var="I18N::translate('Marriage')" /> <GedcomValue tag="MARR:DATE" truncate="30" />
+ </Gedcom>
+ <Gedcom id="DEAT">
+ <br /><var var="I18N::translate('Death')" /> <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"><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE" truncate="30" />
+ <Gedcom id="DEAT">
+ <br /><var var="I18N::translate('Death')" /> <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"><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE" truncate="30" />
+ <Gedcom id="@FAMS">
+ <br /><var var="I18N::translate('Marriage')" /> <GedcomValue tag="MARR:DATE" truncate="30" />
+ </Gedcom>
+ <Gedcom id="DEAT">
+ <br /><var var="I18N::translate('Death')" /> <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"><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE" truncate="30" />
+ <Gedcom id="DEAT">
+ <br /><var var="I18N::translate('Death')" /> <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"><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE" truncate="30" />
+ <Gedcom id="@FAMS">
+ <br /><var var="I18N::translate('Marriage')" /> <GedcomValue tag="MARR:DATE" truncate="30" />
+ </Gedcom>
+ <Gedcom id="DEAT">
+ <br /><var var="I18N::translate('Death')" /> <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"><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE" truncate="30" />
+ <Gedcom id="DEAT">
+ <br /><var var="I18N::translate('Death')" /> <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"><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE" truncate="30" />
+ <Gedcom id="@FAMS">
+ <br /><var var="I18N::translate('Marriage')" /> <GedcomValue tag="MARR:DATE" truncate="30" />
+ </Gedcom>
+ <Gedcom id="DEAT">
+ <br /><var var="I18N::translate('Death')" /> <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"><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE" truncate="30" />
+ <Gedcom id="DEAT">
+ <br /><var var="I18N::translate('Death')" /> <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"><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE" truncate="30" />
+ <Gedcom id="@FAMS">
+ <br /><var var="I18N::translate('Marriage')" /> <GedcomValue tag="MARR:DATE" truncate="30" />
+ </Gedcom>
+ <Gedcom id="DEAT">
+ <br /><var var="I18N::translate('Death')" /> <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"><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE" truncate="30" />
+ <Gedcom id="DEAT">
+ <br /><var var="I18N::translate('Death')" /> <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"><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE" truncate="30" />
+ <Gedcom id="@FAMS">
+ <br /><var var="I18N::translate('Marriage')" /> <GedcomValue tag="MARR:DATE" truncate="30" />
+ </Gedcom>
+ <Gedcom id="DEAT">
+ <br /><var var="I18N::translate('Death')" /> <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"><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE" truncate="30" />
+ <Gedcom id="DEAT">
+ <br /><var var="I18N::translate('Death')" /> <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"><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE" truncate="30" />
+ <Gedcom id="@FAMS">
+ <br /><var var="I18N::translate('Marriage')" /> <GedcomValue tag="MARR:DATE" truncate="30" />
+ </Gedcom>
+ <Gedcom id="DEAT">
+ <br /><var var="I18N::translate('Death')" /> <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"><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE" truncate="30" />
+ <Gedcom id="DEAT">
+ <br /><var var="I18N::translate('Death')" /> <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>
+ </if>
+ <if condition="$orientation=='landscape'">
+ <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="19" />
+ <SetVar name="name_1_2_3" value="35" />
+ <SetVar name="number_4_to_7" value="197" />
+ <SetVar name="name_4_to_7" value="213" />
+ <SetVar name="number_8_to_9" value="377" />
+ <SetVar name="number_10_to_15" value="374" />
+ <SetVar name="name_8_to_15" value="393" />
+ <SetVar name="number_16_to_31" value="554" />
+ <SetVar name="name_16_to_31" value="573" />
+
+ <!-- Truncate variables -->
+ <SetVar name="truncatename" value="32" />
+ <SetVar name="trunc_place" value="40" />
+ <SetVar name="trunc_dateplace" value="27" />
+
+ <Doc pageSize="$pageSize" orientation="landscape" leftmargin="1" rightmargin="1" topmargin="65">
+ <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="32" y1="270" x2="210" y2="270" />
+ <Line x1="32" y1="270" x2="32" y2="425" />
+ <Line x1="32" y1="425" x2="210" y2="425" />
+ <Line x1="32" y1="150" x2="32" y2="270" />
+ <Line x1="32" y1="150" x2="210" y2="150" />
+
+ <Line x1="210" y1="95" x2="210" y2="215" />
+ <Line x1="210" y1="335" x2="210" y2="455" />
+ <Line x1="210" y1="95" x2="390" y2="95" />
+ <Line x1="210" y1="215" x2="390" y2="215" />
+ <Line x1="210" y1="335" x2="390" y2="335" />
+ <Line x1="210" y1="455" x2="390" y2="455" />
+
+ <Gedcom id="$pid">
+ <TextBox padding="0" pagecheck="0" width="160" height="10" align="left" left="$number_1_2_3" top="258" reseth="1">
+ <Text style="label1">1.</Text>
+ </TextBox>
+ <TextBox padding="0" pagecheck="0" width="160" height="10" align="left" left="$name_1_2_3" top="258" reseth="1">
+ <Text style="name"><GetPersonName id="$pid" truncate="$truncatename" /></Text>
+ </TextBox>
+ <TextBox padding="0" pagecheck="0" width="160" height="10" align="left" left="$name_1_2_3" top="272" reseth="1">
+ <Text style="text"><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE" truncate="$trunc_place" />
+ <br /><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:PLAC" truncate="$trunc_place" />
+ <Gedcom id="@FAMS">
+ <br /><var var="I18N::translate('Marriage')" /> <GedcomValue tag="MARR:DATE" truncate="$trunc_place" />
+ <br /><var var="I18N::translate('Marriage')" /> <GedcomValue tag="MARR:PLAC" truncate="$trunc_place" />
+ </Gedcom>
+ <Gedcom id="DEAT">
+ <br /><var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:DATE" truncate="$trunc_place" />
+ <br /><var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:PLAC" truncate="$trunc_place" />
+ </Gedcom>
+ </Text>
+ </TextBox>
+
+ <TextBox padding="0" pagecheck="0" width="160" height="10" align="left" left="$number_1_2_3" top="138" reseth="1">
+ <Text style="label1">2.</Text>
+ </TextBox>
+ <TextBox padding="0" pagecheck="0" width="160" height="10" align="left" left="$name_1_2_3" top="138" reseth="1">
+ <Text style="name"><Gedcom id="@FAMC"><GetPersonName id="@HUSB" truncate="$truncatename" /></Gedcom></Text>
+ </TextBox>
+ <TextBox padding="0" pagecheck="0" width="160" height="10" align="left" left="$name_1_2_3" top="152" reseth="1">
+ <Gedcom id="@FAMC:@HUSB">
+ <Text style="text"><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE" truncate="$trunc_place" />
+ <br /><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:PLAC" truncate="$trunc_place" />
+ <Gedcom id="@FAMS">
+ <br /><var var="I18N::translate('Marriage')" /> <GedcomValue tag="MARR:DATE" truncate="$trunc_place" />
+ <br /><var var="I18N::translate('Marriage')" /> <GedcomValue tag="MARR:PLAC" truncate="$trunc_place" />
+ </Gedcom>
+ <Gedcom id="DEAT">
+ <br /><var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:DATE" truncate="$trunc_place" />
+ <br /><var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:PLAC" truncate="$trunc_place" />
+ </Gedcom>
+ </Text>
+ </Gedcom>
+ </TextBox>
+
+ <TextBox padding="0" pagecheck="0" width="160" height="10" align="left" left="$number_1_2_3" top="413" reseth="1">
+ <Text style="label1">3.</Text>
+ </TextBox>
+ <TextBox padding="0" pagecheck="0" width="160" height="10" align="left" left="$name_1_2_3" top="413" reseth="1">
+ <Text style="name"><Gedcom id="@FAMC"><GetPersonName id="@WIFE" truncate="$truncatename" /></Gedcom></Text>
+ </TextBox>
+ <TextBox padding="0" pagecheck="0" width="160" height="10" align="left" left="$name_1_2_3" top="427" reseth="1">
+ <Gedcom id="@FAMC:@WIFE">
+ <Text style="text"><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE" truncate="$trunc_place" />
+ <br /><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:PLAC" truncate="$trunc_place" />
+ <Gedcom id="DEAT">
+ <br /><var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:DATE" truncate="$trunc_place" />
+ <br /><var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:PLAC" truncate="$trunc_place" />
+ </Gedcom>
+ </Text>
+ </Gedcom>
+ </TextBox>
+
+ <TextBox padding="0" pagecheck="0" width="160" height="10" align="left" left="$number_4_to_7" top="83" reseth="1">
+ <Text style="label1">4.</Text>
+ </TextBox>
+ <TextBox padding="0" pagecheck="0" width="170" height="10" align="left" left="$name_4_to_7" top="83" reseth="1">
+ <Text style="name"><Gedcom id="@FAMC:@HUSB:@FAMC"><GetPersonName id="@HUSB" truncate="$truncatename" /></Gedcom></Text>
+ </TextBox>
+ <TextBox padding="0" pagecheck="0" width="160" height="10" align="left" left="$name_4_to_7" top="97" reseth="1">
+ <Gedcom id="@FAMC:@HUSB:@FAMC:@HUSB">
+ <Text style="text"><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE" truncate="$trunc_place" />
+ <br /><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:PLAC" truncate="$trunc_place" />
+ <Gedcom id="@FAMS">
+ <br /><var var="I18N::translate('Marriage')" /> <GedcomValue tag="MARR:DATE" truncate="$trunc_place" />
+ <br /><var var="I18N::translate('Marriage')" /> <GedcomValue tag="MARR:PLAC" truncate="$trunc_place" />
+ </Gedcom>
+ <Gedcom id="DEAT">
+ <br /><var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:DATE" truncate="$trunc_place" />
+ <br /><var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:PLAC" truncate="$trunc_place" />
+ </Gedcom>
+ </Text>
+ </Gedcom>
+ </TextBox>
+
+ <TextBox padding="0" pagecheck="0" width="160" height="10" align="left" left="$number_4_to_7" top="203" reseth="1">
+ <Text style="label1">5.</Text>
+ </TextBox>
+ <TextBox padding="0" pagecheck="0" width="170" height="10" align="left" left="$name_4_to_7" top="203" reseth="1">
+ <Text style="name"><Gedcom id="@FAMC:@HUSB:@FAMC"><GetPersonName id="@WIFE" truncate="$truncatename" /></Gedcom></Text>
+ </TextBox>
+ <TextBox padding="0" pagecheck="0" width="160" height="10" align="left" left="$name_4_to_7" top="217" reseth="1">
+ <Gedcom id="@FAMC:@HUSB:@FAMC:@WIFE">
+ <Text style="text"><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE" truncate="$trunc_place" />
+ <br /><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:PLAC" truncate="$trunc_place" />
+ <Gedcom id="DEAT">
+ <br /><var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:DATE" truncate="$trunc_place" />
+ <br /><var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:PLAC" truncate="$trunc_place" />
+ </Gedcom>
+ </Text>
+ </Gedcom>
+ </TextBox>
+
+ <TextBox padding="0" pagecheck="0" width="160" height="10" align="left" left="$number_4_to_7" top="323" reseth="1">
+ <Text style="label1">6.</Text>
+ </TextBox>
+ <TextBox padding="0" pagecheck="0" width="170" height="10" align="left" left="$name_4_to_7" top="323" reseth="1">
+ <Text style="name"><Gedcom id="@FAMC:@WIFE:@FAMC"><GetPersonName id="@HUSB" truncate="$truncatename" /></Gedcom></Text>
+ </TextBox>
+ <TextBox padding="0" pagecheck="0" width="160" height="10" align="left" left="$name_4_to_7" top="337" reseth="1">
+ <Gedcom id="@FAMC:@WIFE:@FAMC:@HUSB">
+ <Text style="text"><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE" truncate="$trunc_place" />
+ <br /><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:PLAC" truncate="$trunc_place" />
+ <Gedcom id="@FAMS">
+ <br /><var var="I18N::translate('Marriage')" /> <GedcomValue tag="MARR:DATE" truncate="$trunc_place" />
+ <br /><var var="I18N::translate('Marriage')" /> <GedcomValue tag="MARR:PLAC" truncate="$trunc_place" />
+ </Gedcom>
+ <Gedcom id="DEAT">
+ <br /><var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:DATE" truncate="$trunc_place" />
+ <br /><var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:PLAC" truncate="$trunc_place" />
+ </Gedcom>
+ </Text>
+ </Gedcom>
+ </TextBox>
+
+ <TextBox padding="0" pagecheck="0" width="160" height="10" align="left" left="$number_4_to_7" top="443" reseth="1">
+ <Text style="label1">7.</Text>
+ </TextBox>
+ <TextBox padding="0" pagecheck="0" width="170" height="10" align="left" left="$name_4_to_7" top="443" reseth="1">
+ <Text style="name"><Gedcom id="@FAMC:@WIFE:@FAMC"><GetPersonName id="@WIFE" truncate="$truncatename" /></Gedcom></Text>
+ </TextBox>
+ <TextBox padding="0" pagecheck="0" width="160" height="10" align="left" left="$name_4_to_7" top="457" reseth="1">
+ <Gedcom id="@FAMC:@WIFE:@FAMC:@WIFE">
+ <Text style="text"><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE" truncate="$trunc_place" />
+ <br /><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:PLAC" truncate="$trunc_place" />
+ <Gedcom id="DEAT">
+ <br /><var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:DATE" truncate="$trunc_place" />
+ <br /><var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:PLAC" truncate="$trunc_place" />
+ </Gedcom>
+ </Text>
+ </Gedcom>
+ </TextBox>
+
+
+ <Line x1="390" y1="65" x2="390" y2="125" />
+ <Line x1="390" y1="65" x2="570" y2="65" />
+ <Line x1="390" y1="125" x2="570" y2="125" />
+ <TextBox padding="0" pagecheck="0" width="160" height="10" align="left" left="$number_8_to_9" top="53" reseth="1">
+ <Text style="label1">8.</Text>
+ </TextBox>
+ <TextBox padding="0" pagecheck="0" width="160" height="10" align="left" left="$name_8_to_15" top="53" reseth="1">
+ <Text style="name"><Gedcom id="@FAMC:@HUSB:@FAMC:@HUSB:@FAMC"><GetPersonName id="@HUSB" truncate="$truncatename" /></Gedcom></Text>
+ </TextBox>
+ <TextBox padding="0" pagecheck="0" width="160" height="10" align="left" left="$name_8_to_15" top="67" reseth="1">
+ <Gedcom id="@FAMC:@HUSB:@FAMC:@HUSB:@FAMC:@HUSB">
+ <Text style="text"><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE" truncate="$trunc_dateplace" />
+ <GedcomValue tag="BIRT:PLAC" truncate="$trunc_dateplace" />
+ <Gedcom id="@FAMS">
+ <br /><var var="I18N::translate('Marriage')" /> <GedcomValue tag="MARR:DATE" truncate="$trunc_dateplace" />
+ <GedcomValue tag="MARR:PLAC" truncate="$trunc_dateplace" />
+ </Gedcom>
+ <Gedcom id="DEAT">
+ <br /><var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:DATE" truncate="$trunc_dateplace" />
+ <GedcomValue tag="DEAT:PLAC" truncate="$trunc_dateplace" />
+ </Gedcom>
+ </Text>
+ </Gedcom>
+ </TextBox>
+
+ <TextBox padding="0" pagecheck="0" width="160" height="10" align="left" left="$number_8_to_9" top="113" reseth="1">
+ <Text style="label1">9.</Text>
+ </TextBox>
+ <TextBox padding="0" pagecheck="0" width="160" height="10" align="left" left="$name_8_to_15" top="113" reseth="1">
+ <Text style="name"><Gedcom id="@FAMC:@HUSB:@FAMC:@HUSB:@FAMC"><GetPersonName id="@WIFE" truncate="$truncatename" /></Gedcom></Text>
+ </TextBox>
+ <TextBox padding="0" pagecheck="0" width="160" height="10" align="left" left="$name_8_to_15" top="127" reseth="1">
+ <Gedcom id="@FAMC:@HUSB:@FAMC:@HUSB:@FAMC:@WIFE">
+ <Text style="text"><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE" truncate="$trunc_dateplace" />
+ <GedcomValue tag="BIRT:PLAC" truncate="32" />
+ <Gedcom id="DEAT">
+ <br /><var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:DATE" truncate="$trunc_dateplace" />
+ <GedcomValue tag="DEAT:PLAC" truncate="$trunc_dateplace" />
+ </Gedcom>
+ </Text>
+ </Gedcom>
+ </TextBox>
+
+ <Line x1="390" y1="185" x2="390" y2="245" />
+ <Line x1="390" y1="185" x2="570" y2="185" />
+ <Line x1="390" y1="245" x2="570" y2="245" />
+ <TextBox padding="0" pagecheck="0" width="160" height="10" align="left" left="$number_10_to_15" top="173" reseth="1">
+ <Text style="label1">10.</Text>
+ </TextBox>
+ <TextBox padding="0" pagecheck="0" width="160" height="10" align="left" left="$name_8_to_15" top="173" reseth="1">
+ <Text style="name"><Gedcom id="@FAMC:@HUSB:@FAMC:@WIFE:@FAMC"><GetPersonName id="@HUSB" truncate="$truncatename" /></Gedcom></Text>
+ </TextBox>
+ <TextBox padding="0" pagecheck="0" width="160" height="10" align="left" left="$name_8_to_15" top="187" reseth="1">
+ <Gedcom id="@FAMC:@HUSB:@FAMC:@WIFE:@FAMC:@HUSB">
+ <Text style="text"><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE" truncate="$trunc_dateplace" />
+ <GedcomValue tag="BIRT:PLAC" truncate="$trunc_dateplace" />
+ <Gedcom id="@FAMS">
+ <br /><var var="I18N::translate('Marriage')" /> <GedcomValue tag="MARR:DATE" truncate="$trunc_dateplace" />
+ <GedcomValue tag="MARR:PLAC" truncate="$trunc_dateplace" />
+ </Gedcom>
+ <Gedcom id="DEAT">
+ <br /><var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:DATE" truncate="$trunc_dateplace" />
+ <GedcomValue tag="DEAT:PLAC" truncate="$trunc_dateplace" />
+ </Gedcom>
+ </Text>
+ </Gedcom>
+ </TextBox>
+
+ <TextBox padding="0" pagecheck="0" width="160" height="10" align="left" left="$number_10_to_15" top="233" reseth="1">
+ <Text style="label1">11.</Text>
+ </TextBox>
+ <TextBox padding="0" pagecheck="0" width="160" height="10" align="left" left="$name_8_to_15" top="233" reseth="1">
+ <Text style="name"><Gedcom id="@FAMC:@HUSB:@FAMC:@WIFE:@FAMC"><GetPersonName id="@WIFE" truncate="$truncatename" /></Gedcom></Text>
+ </TextBox>
+ <TextBox padding="0" pagecheck="0" width="160" height="10" align="left" left="$name_8_to_15" top="247" reseth="1">
+ <Gedcom id="@FAMC:@HUSB:@FAMC:@WIFE:@FAMC:@WIFE">
+ <Text style="text"><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE" truncate="$trunc_dateplace" />
+ <GedcomValue tag="BIRT:PLAC" truncate="$trunc_dateplace" />
+ <Gedcom id="DEAT">
+ <br /><var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:DATE" truncate="$trunc_dateplace" />
+ <GedcomValue tag="DEAT:PLAC" truncate="32" />
+ </Gedcom>
+ </Text>
+ </Gedcom>
+ </TextBox>
+
+ <Line x1="390" y1="305" x2="390" y2="365" />
+ <Line x1="390" y1="305" x2="570" y2="305" />
+ <Line x1="390" y1="365" x2="570" y2="365" />
+ <TextBox padding="0" pagecheck="0" width="160" height="10" align="left" left="$number_10_to_15" top="293" reseth="1">
+ <Text style="label1">12.</Text>
+ </TextBox>
+ <TextBox padding="0" pagecheck="0" width="160" height="10" align="left" left="$name_8_to_15" top="293" reseth="1">
+ <Text style="name"><Gedcom id="@FAMC:@WIFE:@FAMC:@HUSB:@FAMC"><GetPersonName id="@HUSB" truncate="$truncatename" /></Gedcom></Text>
+ </TextBox>
+ <TextBox padding="0" pagecheck="0" width="160" height="10" align="left" left="$name_8_to_15" top="307" reseth="1">
+ <Gedcom id="@FAMC:@WIFE:@FAMC:@HUSB:@FAMC:@HUSB">
+ <Text style="text"><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE" truncate="$trunc_dateplace" />
+ <GedcomValue tag="BIRT:PLAC" truncate="$trunc_dateplace" />
+ <Gedcom id="@FAMS">
+ <br /><var var="I18N::translate('Marriage')" /> <GedcomValue tag="MARR:DATE" truncate="$trunc_dateplace" />
+ <GedcomValue tag="MARR:PLAC" truncate="$trunc_dateplace" />
+ </Gedcom>
+ <Gedcom id="DEAT">
+ <br /><var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:DATE" truncate="$trunc_dateplace" />
+ <GedcomValue tag="DEAT:PLAC" truncate="$trunc_dateplace" />
+ </Gedcom>
+ </Text>
+ </Gedcom>
+ </TextBox>
+
+ <TextBox padding="0" pagecheck="0" width="160" height="10" align="left" left="$number_10_to_15" top="353" reseth="1">
+ <Text style="label1">13.</Text>
+ </TextBox>
+ <TextBox padding="0" pagecheck="0" width="160" height="10" align="left" left="$name_8_to_15" top="353" reseth="1">
+ <Text style="name"><Gedcom id="@FAMC:@WIFE:@FAMC:@HUSB:@FAMC"><GetPersonName id="@WIFE" truncate="$truncatename" /></Gedcom></Text>
+ </TextBox>
+ <TextBox padding="0" pagecheck="0" width="160" height="10" align="left" left="$name_8_to_15" top="367" reseth="1">
+ <Gedcom id="@FAMC:@WIFE:@FAMC:@HUSB:@FAMC:@WIFE">
+ <Text style="text"><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE" truncate="$trunc_dateplace" />
+ <GedcomValue tag="BIRT:PLAC" truncate="32" />
+ <Gedcom id="DEAT">
+ <br /><var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:DATE" truncate="$trunc_dateplace" />
+ <GedcomValue tag="DEAT:PLAC" truncate="$trunc_dateplace" />
+ </Gedcom>
+ </Text>
+ </Gedcom>
+ </TextBox>
+
+ <Line x1="390" y1="425" x2="390" y2="485" />
+ <Line x1="390" y1="425" x2="570" y2="425" />
+ <Line x1="390" y1="485" x2="570" y2="485" />
+ <TextBox padding="0" pagecheck="0" width="160" height="10" align="left" left="$number_10_to_15" top="413" reseth="1">
+ <Text style="label1">14.</Text>
+ </TextBox>
+ <TextBox padding="0" pagecheck="0" width="160" height="10" align="left" left="$name_8_to_15" top="413" reseth="1">
+ <Text style="name"><Gedcom id="@FAMC:@WIFE:@FAMC:@WIFE:@FAMC"><GetPersonName id="@HUSB" truncate="$truncatename" /></Gedcom></Text>
+ </TextBox>
+ <TextBox padding="0" pagecheck="0" width="160" height="10" align="left" left="$name_8_to_15" top="427" reseth="1">
+ <Gedcom id="@FAMC:@WIFE:@FAMC:@WIFE:@FAMC:@HUSB">
+ <Text style="text"><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE" truncate="$trunc_dateplace" />
+ <GedcomValue tag="BIRT:PLAC" truncate="$trunc_dateplace" />
+ <Gedcom id="@FAMS">
+ <br /><var var="I18N::translate('Marriage')" /> <GedcomValue tag="MARR:DATE" truncate="$trunc_dateplace" />
+ <GedcomValue tag="MARR:PLAC" truncate="$trunc_dateplace" />
+ </Gedcom>
+ <Gedcom id="DEAT">
+ <br /><var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:DATE" truncate="$trunc_dateplace" />
+ <GedcomValue tag="DEAT:PLAC" truncate="$trunc_dateplace" />
+ </Gedcom>
+ </Text>
+ </Gedcom>
+ </TextBox>
+
+ <TextBox padding="0" pagecheck="0" width="160" height="10" align="left" left="$number_10_to_15" top="473" reseth="1">
+ <Text style="label1">15.</Text>
+ </TextBox>
+ <TextBox padding="0" pagecheck="0" width="160" height="10" align="left" left="$name_8_to_15" top="473" reseth="1">
+ <Text style="name"><Gedcom id="@FAMC:@WIFE:@FAMC:@WIFE:@FAMC"><GetPersonName id="@WIFE" truncate="$truncatename" /></Gedcom></Text>
+ </TextBox>
+ <TextBox padding="0" pagecheck="0" width="160" height="10" align="left" left="$name_8_to_15" top="487" reseth="1">
+ <Gedcom id="@FAMC:@WIFE:@FAMC:@WIFE:@FAMC:@WIFE">
+ <Text style="text"><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE" truncate="$trunc_dateplace" />
+ <GedcomValue tag="BIRT:PLAC" truncate="$trunc_dateplace" />
+ <Gedcom id="DEAT">
+ <br /><var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:DATE" truncate="$trunc_dateplace" />
+ <GedcomValue tag="DEAT:PLAC" truncate="$trunc_dateplace" />
+ </Gedcom>
+ </Text>
+ </Gedcom>
+ </TextBox>
+
+
+
+ <Line x1="570" y1="50" x2="570" y2="80" />
+ <Line x1="570" y1="50" x2="750" y2="50" />
+ <Line x1="570" y1="80" x2="750" y2="80" />
+ <TextBox padding="0" pagecheck="0" width="180" height="10" align="left" left="$number_16_to_31" top="38" reseth="1">
+ <Text style="label1">16.</Text>
+ </TextBox>
+ <TextBox padding="0" pagecheck="0" width="180" height="10" align="left" left="$name_16_to_31" top="38" 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" pagecheck="0" width="180" height="10" align="left" left="$name_16_to_31" top="52" reseth="1">
+ <Gedcom id="@FAMC:@HUSB:@FAMC:@HUSB:@FAMC:@HUSB:@FAMC:@HUSB">
+ <Text style="text"><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE" truncate="20" />
+ <Gedcom id="DEAT">
+ <var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:DATE" truncate="20" />
+ </Gedcom>
+ <Gedcom id="@FAMS">
+ <br /><var var="I18N::translate('Marriage')" /> <GedcomValue tag="MARR:DATE" truncate="20" />
+ </Gedcom>
+ </Text>
+ </Gedcom>
+ </TextBox>
+
+ <TextBox padding="0" pagecheck="0" width="180" height="10" align="left" left="$number_16_to_31" top="68" reseth="1">
+ <Text style="label1">17.</Text>
+ </TextBox>
+ <TextBox padding="0" pagecheck="0" width="180" height="10" align="left" left="$name_16_to_31" top="68" 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" pagecheck="0" width="180" height="10" align="left" left="$name_16_to_31" top="82" reseth="1">
+ <Gedcom id="@FAMC:@HUSB:@FAMC:@HUSB:@FAMC:@HUSB:@FAMC:@WIFE">
+ <Text style="text"><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE" truncate="20" />
+ <Gedcom id="DEAT">
+ <var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:DATE" truncate="20" />
+ </Gedcom>
+ </Text>
+ </Gedcom>
+ </TextBox>
+
+ <Line x1="570" y1="110" x2="570" y2="140" />
+ <Line x1="570" y1="110" x2="750" y2="110" />
+ <Line x1="570" y1="140" x2="750" y2="140" />
+ <TextBox padding="0" pagecheck="0" width="180" height="10" align="left" left="$number_16_to_31" top="98" reseth="1">
+ <Text style="label1">18.</Text>
+ </TextBox>
+ <TextBox padding="0" pagecheck="0" width="180" height="10" align="left" left="$name_16_to_31" top="98" 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" pagecheck="0" width="180" height="10" align="left" left="$name_16_to_31" top="112" reseth="1">
+ <Gedcom id="@FAMC:@HUSB:@FAMC:@HUSB:@FAMC:@WIFE:@FAMC:@HUSB">
+ <Text style="text"><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE" truncate="20" />
+ <Gedcom id="DEAT">
+ <var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:DATE" truncate="20" />
+ </Gedcom>
+ <Gedcom id="@FAMS">
+ <br /><var var="I18N::translate('Marriage')" /> <GedcomValue tag="MARR:DATE" truncate="20" />
+ </Gedcom>
+ </Text>
+ </Gedcom>
+ </TextBox>
+
+ <TextBox padding="0" pagecheck="0" width="180" height="10" align="left" left="$number_16_to_31" top="129" reseth="1">
+ <Text style="label1">19.</Text>
+ </TextBox>
+ <TextBox padding="0" pagecheck="0" width="180" height="10" align="left" left="$name_16_to_31" top="129" 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" pagecheck="0" width="180" height="10" align="left" left="$name_16_to_31" top="142" reseth="1">
+ <Gedcom id="@FAMC:@HUSB:@FAMC:@HUSB:@FAMC:@WIFE:@FAMC:@WIFE">
+ <Text style="text"><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE" truncate="20" />
+ <Gedcom id="DEAT">
+ <var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:DATE" truncate="20" />
+ </Gedcom>
+ </Text>
+ </Gedcom>
+ </TextBox>
+
+ <Line x1="570" y1="170" x2="570" y2="200" />
+ <Line x1="570" y1="170" x2="750" y2="170" />
+ <Line x1="570" y1="200" x2="750" y2="200" />
+ <TextBox padding="0" pagecheck="0" width="180" height="10" align="left" left="$number_16_to_31" top="158" reseth="1">
+ <Text style="label1">20.</Text>
+ </TextBox>
+ <TextBox padding="0" pagecheck="0" width="180" height="10" align="left" left="$name_16_to_31" top="158" 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" pagecheck="0" width="180" height="10" align="left" left="$name_16_to_31" top="172" reseth="1">
+ <Gedcom id="@FAMC:@HUSB:@FAMC:@WIFE:@FAMC:@HUSB:@FAMC:@HUSB">
+ <Text style="text"><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE" truncate="20" />
+ <Gedcom id="DEAT">
+ <var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:DATE" truncate="20" />
+ </Gedcom>
+ <Gedcom id="@FAMS">
+ <br /><var var="I18N::translate('Marriage')" /> <GedcomValue tag="MARR:DATE" truncate="20" />
+ </Gedcom>
+ </Text>
+ </Gedcom>
+ </TextBox>
+
+ <TextBox padding="0" pagecheck="0" width="180" height="10" align="left" left="$number_16_to_31" top="189" reseth="1">
+ <Text style="label1">21.</Text>
+ </TextBox>
+ <TextBox padding="0" pagecheck="0" width="180" height="10" align="left" left="$name_16_to_31" top="189" 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" pagecheck="0" width="180" height="10" align="left" left="$name_16_to_31" top="202" reseth="1">
+ <Gedcom id="@FAMC:@HUSB:@FAMC:@WIFE:@FAMC:@HUSB:@FAMC:@WIFE">
+ <Text style="text"><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE" truncate="20" />
+ <Gedcom id="DEAT">
+ <var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:DATE" truncate="20" />
+ </Gedcom>
+ </Text>
+ </Gedcom>
+ </TextBox>
+
+ <Line x1="570" y1="230" x2="570" y2="260" />
+ <Line x1="570" y1="230" x2="750" y2="230" />
+ <Line x1="570" y1="260" x2="750" y2="260" />
+ <TextBox padding="0" pagecheck="0" width="180" height="10" align="left" left="$number_16_to_31" top="218" reseth="1">
+ <Text style="label1">22.</Text>
+ </TextBox>
+ <TextBox padding="0" pagecheck="0" width="180" height="10" align="left" left="$name_16_to_31" top="218" 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" pagecheck="0" width="180" height="10" align="left" left="$name_16_to_31" top="232" reseth="1">
+ <Gedcom id="@FAMC:@HUSB:@FAMC:@WIFE:@FAMC:@WIFE:@FAMC:@HUSB">
+ <Text style="text"><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE" truncate="20" />
+ <Gedcom id="DEAT">
+ <var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:DATE" truncate="20" />
+ </Gedcom>
+ <Gedcom id="@FAMS">
+ <br /><var var="I18N::translate('Marriage')" /> <GedcomValue tag="MARR:DATE" truncate="20" />
+ </Gedcom>
+ </Text>
+ </Gedcom>
+ </TextBox>
+
+ <TextBox padding="0" pagecheck="0" width="180" height="10" align="left" left="$number_16_to_31" top="249" reseth="1">
+ <Text style="label1">23.</Text>
+ </TextBox>
+ <TextBox padding="0" pagecheck="0" width="180" height="10" align="left" left="$name_16_to_31" top="249" 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" pagecheck="0" width="180" height="10" align="left" left="$name_16_to_31" top="262" reseth="1">
+ <Gedcom id="@FAMC:@HUSB:@FAMC:@WIFE:@FAMC:@WIFE:@FAMC:@WIFE">
+ <Text style="text"><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE" truncate="20" />
+ <Gedcom id="DEAT">
+ <var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:DATE" truncate="20" />
+ </Gedcom>
+ </Text>
+ </Gedcom>
+ </TextBox>
+
+ <Line x1="570" y1="290" x2="570" y2="320" />
+ <Line x1="570" y1="290" x2="750" y2="290" />
+ <Line x1="570" y1="320" x2="750" y2="320" />
+ <TextBox padding="0" pagecheck="0" width="180" height="10" align="left" left="$number_16_to_31" top="278" reseth="1">
+ <Text style="label1">24.</Text>
+ </TextBox>
+ <TextBox padding="0" pagecheck="0" width="180" height="10" align="left" left="$name_16_to_31" top="278" 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" pagecheck="0" width="180" height="10" align="left" left="$name_16_to_31" top="292" reseth="1">
+ <Gedcom id="@FAMC:@WIFE:@FAMC:@HUSB:@FAMC:@HUSB:@FAMC:@HUSB">
+ <Text style="text"><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE" truncate="20" />
+ <Gedcom id="DEAT">
+ <var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:DATE" truncate="20" />
+ </Gedcom>
+ <Gedcom id="@FAMS">
+ <br /><var var="I18N::translate('Marriage')" /> <GedcomValue tag="MARR:DATE" truncate="20" />
+ </Gedcom>
+ </Text>
+ </Gedcom>
+ </TextBox>
+
+ <TextBox padding="0" pagecheck="0" width="180" height="10" align="left" left="$number_16_to_31" top="309" reseth="1">
+ <Text style="label1">25.</Text>
+ </TextBox>
+ <TextBox padding="0" pagecheck="0" width="180" height="10" align="left" left="$name_16_to_31" top="309" 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" pagecheck="0" width="180" height="10" align="left" left="$name_16_to_31" top="322" reseth="1">
+ <Gedcom id="@FAMC:@WIFE:@FAMC:@HUSB:@FAMC:@HUSB:@FAMC:@WIFE">
+ <Text style="text"><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE" truncate="20" />
+ <Gedcom id="DEAT">
+ <var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:DATE" truncate="20" />
+ </Gedcom>
+ </Text>
+ </Gedcom>
+ </TextBox>
+
+ <Line x1="570" y1="350" x2="570" y2="380" />
+ <Line x1="570" y1="350" x2="750" y2="350" />
+ <Line x1="570" y1="380" x2="750" y2="380" />
+ <TextBox padding="0" pagecheck="0" width="180" height="10" align="left" left="$number_16_to_31" top="338" reseth="1">
+ <Text style="label1">26.</Text>
+ </TextBox>
+ <TextBox padding="0" pagecheck="0" width="180" height="10" align="left" left="$name_16_to_31" top="338" 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" pagecheck="0" width="180" height="10" align="left" left="$name_16_to_31" top="352" reseth="1">
+ <Gedcom id="@FAMC:@WIFE:@FAMC:@HUSB:@FAMC:@WIFE:@FAMC:@HUSB">
+ <Text style="text"><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE" truncate="20" />
+ <Gedcom id="DEAT">
+ <var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:DATE" truncate="20" />
+ </Gedcom>
+ <Gedcom id="@FAMS">
+ <br /><var var="I18N::translate('Marriage')" /> <GedcomValue tag="MARR:DATE" truncate="20" />
+ </Gedcom>
+ </Text>
+ </Gedcom>
+ </TextBox>
+
+ <TextBox padding="0" pagecheck="0" width="180" height="10" align="left" left="$number_16_to_31" top="369" reseth="1">
+ <Text style="label1">27.</Text>
+ </TextBox>
+ <TextBox padding="0" pagecheck="0" width="180" height="10" align="left" left="$name_16_to_31" top="369" 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" pagecheck="0" width="180" height="10" align="left" left="$name_16_to_31" top="382" reseth="1">
+ <Gedcom id="@FAMC:@WIFE:@FAMC:@HUSB:@FAMC:@WIFE:@FAMC:@WIFE">
+ <Text style="text"><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE" truncate="20" />
+ <Gedcom id="DEAT">
+ <var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:DATE" truncate="20" />
+ </Gedcom>
+ </Text>
+ </Gedcom>
+ </TextBox>
+
+ <Line x1="570" y1="410" x2="570" y2="440" />
+ <Line x1="570" y1="410" x2="750" y2="410" />
+ <Line x1="570" y1="440" x2="750" y2="440" />
+ <TextBox padding="0" pagecheck="0" width="180" height="10" align="left" left="$number_16_to_31" top="398" reseth="1">
+ <Text style="label1">28.</Text>
+ </TextBox>
+ <TextBox padding="0" pagecheck="0" width="180" height="10" align="left" left="$name_16_to_31" top="398" 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" pagecheck="0" width="180" height="10" align="left" left="$name_16_to_31" top="412" reseth="1">
+ <Gedcom id="@FAMC:@WIFE:@FAMC:@WIFE:@FAMC:@HUSB:@FAMC:@HUSB">
+ <Text style="text"><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE" truncate="20" />
+ <Gedcom id="DEAT">
+ <var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:DATE" truncate="20" />
+ </Gedcom>
+ <Gedcom id="@FAMS">
+ <br /><var var="I18N::translate('Marriage')" /> <GedcomValue tag="MARR:DATE" truncate="20" />
+ </Gedcom>
+ </Text>
+ </Gedcom>
+ </TextBox>
+
+ <TextBox padding="0" pagecheck="0" width="180" height="10" align="left" left="$number_16_to_31" top="429" reseth="1">
+ <Text style="label1">29.</Text>
+ </TextBox>
+ <TextBox padding="0" pagecheck="0" width="180" height="10" align="left" left="$name_16_to_31" top="429" 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" pagecheck="0" width="180" height="10" align="left" left="$name_16_to_31" top="442" reseth="1">
+ <Gedcom id="@FAMC:@WIFE:@FAMC:@WIFE:@FAMC:@HUSB:@FAMC:@WIFE">
+ <Text style="text"><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE" truncate="20" />
+ <Gedcom id="DEAT">
+ <var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:DATE" truncate="20" />
+ </Gedcom>
+ </Text>
+ </Gedcom>
+ </TextBox>
+
+ <Line x1="570" y1="470" x2="570" y2="500" />
+ <Line x1="570" y1="470" x2="750" y2="470" />
+ <Line x1="570" y1="500" x2="750" y2="500" />
+ <TextBox padding="0" pagecheck="0" width="180" height="10" align="left" left="$number_16_to_31" top="458" reseth="1">
+ <Text style="label1">30.</Text>
+ </TextBox>
+ <TextBox padding="0" pagecheck="0" width="180" height="10" align="left" left="$name_16_to_31" top="458" 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" pagecheck="0" width="180" height="10" align="left" left="$name_16_to_31" top="472" reseth="1">
+ <Gedcom id="@FAMC:@WIFE:@FAMC:@WIFE:@FAMC:@WIFE:@FAMC:@HUSB">
+ <Text style="text"><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE" truncate="20" />
+ <Gedcom id="DEAT">
+ <var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:DATE" truncate="20" />
+ </Gedcom>
+ <Gedcom id="@FAMS">
+ <br /><var var="I18N::translate('Marriage')" /> <GedcomValue tag="MARR:DATE" truncate="20" />
+ </Gedcom>
+ </Text>
+ </Gedcom>
+ </TextBox>
+
+ <TextBox padding="0" pagecheck="0" width="180" height="10" align="left" left="$number_16_to_31" top="489" reseth="1">
+ <Text style="label1">31.</Text>
+ </TextBox>
+ <TextBox padding="0" pagecheck="0" width="180" height="10" align="left" left="$name_16_to_31" top="489" 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" pagecheck="0" width="180" height="10" align="left" left="$name_16_to_31" top="502" reseth="1">
+ <Gedcom id="@FAMC:@WIFE:@FAMC:@WIFE:@FAMC:@WIFE:@FAMC:@WIFE">
+ <Text style="text"><var var="I18N::translate('Birth')" /> <GedcomValue tag="BIRT:DATE" truncate="20" />
+ <Gedcom id="DEAT">
+ <var var="I18N::translate('Death')" /> <GedcomValue tag="DEAT:DATE" truncate="20" />
+ </Gedcom>
+ </Text>
+ </Gedcom>
+ </TextBox>
+
+ <SetVar name="my" value="335" />
+ <RepeatTag tag="FAMS">
+ <Gedcom id="@FAMS">
+ <if condition="$my LT 413">
+ <TextBox padding="0" pagecheck="0" width="150" height="10" newline="1" align="left" left="38" top="$my" reseth="1">
+ <if condition="$pid==@HUSB">
+ <Text style="name"><GetPersonName id="@WIFE" truncate="$truncatename" /></Text>
+ </if>
+ <if condition="$pid==@WIFE">
+ <Text style="name"><GetPersonName id="@HUSB" truncate="$truncatename" /></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 413">
+ <TextBox padding="0" pagecheck="0" width="150" height="10" align="left" left="48" top="$my" reseth="1">
+ <Text style="text"><GetPersonName id="@CHIL" truncate="$truncatename" /></Text>
+ </TextBox>
+ <SetVar name="my" value="$my+10" />
+ </if>
+ </RepeatTag>
+ </Gedcom>
+ </RepeatTag>
+ </Gedcom>
+ </Body>
+ </Doc>
+ </if>
+</Report>
diff --git a/resources/xml/reports/relative_ext_report.xml b/resources/xml/reports/relative_ext_report.xml
new file mode 100644
index 0000000000..b4fdd90579
--- /dev/null
+++ b/resources/xml/reports/relative_ext_report.xml
@@ -0,0 +1,148 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<Report>
+ <Title><var var="I18N::translate('Related individuals')" /></Title>
+ <Description><var var="I18N::translate('A report of the individuals that are closely related to an individual.')" /></Description>
+ <Input name="pid" lookup="INDI" type="text"><var var="I18N::translate('Individual')" /></Input>
+ <Input name="relatives" type="select" options="child-family=>I18N::translate('Parents and siblings')|spouse-family=>I18N::translate('Spouses and children')|direct-ancestors=>I18N::translate('Direct line ancestors')|ancestors=>I18N::translate('Direct line ancestors and their families')|descendants=>I18N::translate('Descendants')|all=>I18N::translate('All')"><var var="I18N::translate('Choose relatives')" /></Input>
+ <Input name="sortby" type="select" default="BIRT:DATE" options="NAME=>I18N::translate('sort by name')|BIRT:DATE=>I18N::translate('sort by date of birth')|DEAT:DATE=>I18N::translate('sort by date of death')"><var var="I18N::translate('Sort order')" /></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" />
+ <!-- Page numbers text -->
+ <Style name="pagenum" 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"/>
+ <Style name="text" font="$fonts" size="10" />
+ <Style name="bold" font="$fonts" size="10" style="b" />
+ <Style name="mini" font="$fonts" size="8" />
+ <Style name="minibold" font="$fonts" size="8" style="b" />
+ <Style name="label" font="$fonts" size="10" style="b" />
+
+ <SetVar name="height1" value="14" />
+ <SetVar name="height2" value="10" />
+ <SetVar name="width1" value="45" />
+ <SetVar name="width2" value="195" />
+ <SetVar name="width3" value="120" />
+ <SetVar name="width4" value="120" />
+ <SetVar name="width5" value="150" />
+ <SetVar name="width6" value="150" />
+ <SetVar name="widthB2" value="280" />
+ <SetVar name="widthB3" value="40" />
+ <SetVar name="widthB4" value="375" />
+ <SetVar name="leftbdp" value="$width1+$width2" />
+
+ <Doc pageSize="$pageSize" orientation="landscape">
+ <Header>
+ <Cell align="center" height="20" newline="1" style="header"><var var="I18N::translate('Related individuals')" /></Cell>
+ <Cell align="rightrtl" newline="1" style="pagenum"><var var="I18N::translate('Page')" /> <PageNum /> <var var="I18N::translate('of')" /> <TotalPages /></Cell>
+
+ <SetVar name="fill" value="" />
+ <if condition="$sortby=='NAME'">
+ <SetVar name="fill" value="#AAAAAA" />
+ </if>
+ <Cell bgcolor="$fill" border="1" height="$height1" style="label" width="$width2"> <var var="I18N::translate('Name')" /></Cell>
+
+ <SetVar name="fill" value="" />
+ <if condition="$sortby=='BIRT:DATE'">
+ <SetVar name="fill" value="#AAAAAA" />
+ </if>
+ <Cell bgcolor="$fill" border="1" height="$height1" style="label" width="$width3"> <var var="I18N::translate('Birth')" /></Cell>
+
+ <SetVar name="fill" value="" />
+ <if condition="$sortby=='DEAT:DATE'">
+ <SetVar name="fill" value="#AAAAAA" />
+ </if>
+ <Cell bgcolor="$fill" border="1" height="$height1" style="label" width="$width4"> <var var="I18N::translate('Death')" /></Cell>
+
+ <Cell border="1" height="$height1" style="label" width="$width5"> <var var="I18N::translate('Father')" /></Cell>
+ <Cell border="1" height="$height1" newline="1" style="label"> <var var="I18N::translate('Mother')" /></Cell>
+ </Header>
+
+ <Body>
+ <Relatives id="$pid" group="$relatives" sortby="$sortby">
+ <SetVar name="sex" value="@SEX" />
+ <!-- 1. Block -->
+ <TextBox height="$height1" width="$width2">
+ <Text style="bold"><GetPersonName id="" /></Text>
+ </TextBox>
+ <TextBox height="$height1" width="$width3">
+ <Text style="text"><GedcomValue tag="BIRT:DATE" truncate="20" /><br/></Text>
+ <Text style="mini"><GedcomValue tag="BIRT:PLAC" /></Text>
+ </TextBox>
+ <TextBox height="$height1" width="$width4">
+ <Text style="text"><GedcomValue tag="DEAT:DATE" truncate="20" /><br/></Text>
+ <Text style="mini"><GedcomValue tag="DEAT:PLAC" /></Text>
+ </TextBox>
+ <!-- If FAMC is empty all lines will be ignored. So, don't place any newline break in here -->
+ <Gedcom id="@FAMC">
+ <TextBox height="$height1" width="$width5">
+ <Gedcom id="@HUSB">
+ <Text style="text"><GetPersonName id="" /></Text>
+ </Gedcom>
+ </TextBox>
+ <TextBox height="$height1" newline="1">
+ <Gedcom id="@WIFE">
+ <Text style="text"><GetPersonName id="" /></Text>
+ </Gedcom>
+ </TextBox>
+ </Gedcom>
+ <!-- one way or the other, we need a new line -->
+ <if condition="@FAMC==''">
+ <TextBox height="2" newline="1"/>
+ </if>
+ <RepeatTag tag="FAMS">
+ <Gedcom id="@FAMS">
+ <TextBox height="$height2" left="$width1" width="$widthB2">
+ <if condition="$sex=='M'">
+ <Text style="minibold"><var var="I18N::translate('Wife')" />: </Text>
+ <Text style="mini"><GetPersonName id="@WIFE" /> <GedcomValue tag="MARR:DATE" />
+ </Text>
+ </if>
+ <if condition="$sex=='F'">
+ <Text style="minibold"><var var="I18N::translate('Husband')" />: </Text>
+ <Text style="mini"><GetPersonName id="@HUSB" /> <GedcomValue tag="MARR:DATE" />
+ </Text>
+ </if>
+ </TextBox>
+ <TextBox height="$height2" width="50">
+ <Text style="minibold"><var var="I18N::translate('Children')" />:</Text>
+ </TextBox>
+ <TextBox height="$height2" newline="1">
+ <SetVar name="morechildren" value="0" />
+ <RepeatTag tag="CHIL">
+ <Gedcom id="@CHIL">
+ <Text style="mini">
+ <!-- Print this only when more than one child exist -->
+ <if condition="$morechildren==1">, </if>
+ <GetPersonName id="" />
+ </Text>
+ <SetVar name="morechildren" value="1" />
+ </Gedcom>
+ </RepeatTag>
+ </TextBox>
+ </Gedcom>
+ </RepeatTag>
+
+ <!-- keep distance between line -->
+ <TextBox height="2" newline="1" padding="0"/>
+ <Line />
+ <TextBox height="2" newline="1" padding="0"/>
+
+ </Relatives>
+ <Cell align="rightrtl" height="15" newline="1" style="label">
+ <br /><var var="I18N::translate('Total individuals')" />: <ListTotal />
+ </Cell>
+ </Body>
+
+ <Footer>
+ <Cell align="rightrtl" newline="1" style="date"><Now /></Cell>
+ </Footer>
+ </Doc>
+</Report>