1<?xml version="1.0" encoding="UTF-8" ?> 2<Report> 3 <Title><var var="I18N::translate('Births')" /></Title> 4 <Description><var var="I18N::translate('A report of individuals who were born in a given time or place.')" /></Description> 5 <Input name="name" lookup="NAME" type="text"><var var="I18N::translate('Name')" /></Input> 6 <Input name="birthplace" lookup="PLAC" type="text"><var var="I18N::translate('Birthplace contains')" /></Input> 7 <Input name="birthdate1" lookup="DATE" type="text"><var var="I18N::translate('Birth date range start')" /></Input> 8 <Input name="birthdate2" lookup="DATE" type="text"><var var="I18N::translate('Birth date range end')" /></Input> 9 <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> 10 <Input name="pageSize" type="select" options="A4=>I18N::translateContext('paper size','A4')|A3=>I18N::translateContext('paper size', 'A3')|US-Letter=>I18N::translateContext('paper size','Letter')|US-Tabloid=>I18N::translateContext('paper size','Tabloid')"><var var="I18N::translate('Page size')" /></Input> 11 <!-- 12 <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> 13 --> 14 <SetVar name="fonts" value="dejavusans" /> 15 16 <!-- Header --> 17 <Style name="header" font="$fonts" size="16" style="b"/> 18 <!-- Page numbers text --> 19 <Style name="pagenum" font="$fonts" size="8"/> 20 <!-- Generated by style - required style name by the generator --> 21 <Style name="genby" font="$fonts" size="8"/> 22 <!-- Column labels --> 23 <Style name="label" font="$fonts" size="10" style="b"/> 24 <!-- Standard text --> 25 <Style name="text" font="$fonts" size="9"/> 26 <!-- Date text --> 27 <Style name="date" font="$fonts" size="8"/> 28 29 <Doc pageSize="$pageSize" orientation="landscape" > 30 <Header> 31 <Cell align="center" height="20" newline="1" style="header"><var var="I18N::translate('Births')" /></Cell> 32 <Cell align="rightrtl" newline="1" style="pagenum"><var var="I18N::translate('Page')" /> <PageNum /> <var var="I18N::translate('of')" /> <TotalPages /></Cell> 33 34 <SetVar name="fill" value="" /> 35 <if condition="$sortby=='NAME'"><SetVar name="fill" value="#AAAAAA" /></if> 36 <Cell bgcolor="$fill" border="1" width="200" style="label"><var var="I18N::translate('Name')" /></Cell> 37 38 <SetVar name="fill" value="" /> 39 <if condition="$sortby=='BIRT:DATE'"><SetVar name="fill" value="#AAAAAA" /></if> 40 <Cell bgcolor="$fill" border="1" width="100" style="label"><var var="I18N::translate('Date')" /></Cell> 41 42 <Cell border="1" width="150" style="label"><var var="I18N::translate('Place')" /></Cell> 43 <Cell border="1" newline="1" style="label"><var var="I18N::translate('Source')" /></Cell> 44 </Header> 45 46 <Body> 47 <List list="individual" filter1="BIRT:PLAC CONTAINS $birthplace" filter2="BIRT:DATE GTE $birthdate1" filter3="BIRT:DATE LTE $birthdate2" filter4="NAME CONTAINS $name" sortby="$sortby"> 48 <Cell width="200" style="text"><GetPersonName id="" /></Cell> 49 <Cell width="100" style="text"><GedcomValue tag="BIRT:DATE" newline="1" /></Cell> 50 <Cell width="150" style="text"><GedcomValue tag="BIRT:PLAC" /></Cell> 51 <Cell newline="1" style="text"> 52 <!-- Only with multiple sources use line feed (br) --> 53 <SetVar name="usebr" value="0"/> 54 <RepeatTag tag="BIRT:SOUR"> 55 <Gedcom id="@SOUR"> 56 <if condition="@AUTH!=''"><GedcomValue tag="AUTH" />, </if> 57 «<GedcomValue tag="TITL" />» 58 <if condition="@PUBL!=''"> (<GedcomValue tag="PUBL" />)</if> 59 </Gedcom> 60 <if condition="@PAGE!=''">: <GedcomValue tag="SOUR:PAGE" /></if> 61 <GedcomValue tag="SOUR:DATA:TEXT" /> 62 <SetVar name="usebr" value="1"/> 63 </RepeatTag> 64 </Cell> 65 </List> 66 <Cell align="rightrtl" height="24" newline="1" style="label"><br/><var var="I18N::translate('Total individuals')"/>: <ListTotal/></Cell> 67 </Body> 68 <Footer> 69 <Cell align="rightrtl" newline="1" style="date"><Now/></Cell> 70 </Footer> 71 </Doc> 72</Report> 73