xref: /webtrees/resources/xml/reports/cemetery_report.xml (revision 80ea34ecc70d4262c6d367d07e1df0ef880f5367)
19cad7645SGreg Roach<?xml version="1.0" encoding="UTF-8" ?>
29cad7645SGreg Roach<Report>
39156780bSGreg Roach	<Title><var var="I18N::translate('Burials')" /></Title>
49cad7645SGreg Roach	<Description><var var="I18N::translate('A report of individuals who were buried in a given place.')" /></Description>
59cad7645SGreg Roach	<Input name="deathplace" lookup="PLAC" type="text"><var var="I18N::translate('Burial place contains')" /> </Input>
69cad7645SGreg Roach	<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>
79cad7645SGreg Roach	<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>
84d314e6bSGreg Roach	<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>
99cad7645SGreg Roach	<!--
109cad7645SGreg Roach	<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>
119cad7645SGreg Roach	-->
129cad7645SGreg Roach	<SetVar name="fonts" value="dejavusans" />
139cad7645SGreg Roach
149cad7645SGreg Roach	<!-- Header -->
159cad7645SGreg Roach	<Style name="header" font="$fonts" size="16" style="b" />
169cad7645SGreg Roach	<!-- Page numbers text -->
179cad7645SGreg Roach	<Style name="pagenum" font="$fonts" size="8"/>
189cad7645SGreg Roach	<!-- Standard text -->
199cad7645SGreg Roach	<Style name="text" font="$fonts" size="9"/>
209cad7645SGreg Roach	<!-- Column labels -->
219cad7645SGreg Roach	<Style name="label" font="$fonts" size="10" style="b" />
229cad7645SGreg Roach	<!-- Generated by style - required style name by the generator -->
239cad7645SGreg Roach	<Style name="genby" font="$fonts" size="8" />
249cad7645SGreg Roach	<!-- Date text -->
259cad7645SGreg Roach	<Style name="date" font="$fonts" size="8"/>
269cad7645SGreg Roach
279cad7645SGreg Roach	<!-- landscape orientation -->
289cad7645SGreg Roach	<SetVar name="namewidth" value="185"/>
29*80ea34ecSGreg Roach	<SetVar name="datewidth" value="115"/>
30*80ea34ecSGreg Roach	<SetVar name="placewidth" value="200"/>
319cad7645SGreg Roach
329cad7645SGreg Roach	<Doc pageSize="$pageSize" orientation="landscape">
339cad7645SGreg Roach		<Header>
349cad7645SGreg Roach			<Cell align="center" height="20" newline="1" style="header"><var var="I18N::translate('Burials')" /></Cell>
359cad7645SGreg Roach			<Cell align="rightrtl" newline="1" style="pagenum"><var var="I18N::translate('Page')" /> <PageNum /> <var var="I18N::translate('of')" /> <TotalPages /></Cell>
369cad7645SGreg Roach
379cad7645SGreg Roach			<SetVar name="fill" value="" />
389cad7645SGreg Roach			<if condition="$sortby=='NAME'"><SetVar name="fill" value="#AAAAAA" /></if>
399cad7645SGreg Roach			<TextBox bgcolor="$fill" border="1" width="$namewidth">
409cad7645SGreg Roach				<Text style="label"><var var="I18N::translate('Name')" /></Text>
419cad7645SGreg Roach			</TextBox>
429cad7645SGreg Roach
439cad7645SGreg Roach			<SetVar name="fill" value="" />
449cad7645SGreg Roach			<if condition="$sortby=='DEAT:DATE'"><SetVar name="fill" value="#AAAAAA" /></if>
459cad7645SGreg Roach			<TextBox bgcolor="$fill" border="1" width="$datewidth">
469cad7645SGreg Roach				<Text style="label"><var var="I18N::translate('Date of death')" /></Text>
479cad7645SGreg Roach			</TextBox>
489cad7645SGreg Roach
499cad7645SGreg Roach			<SetVar name="fill" value="" />
50*80ea34ecSGreg Roach			<if condition="$sortby=='DEAT:DATE'"><SetVar name="fill" value="#AAAAAA" /></if>
51*80ea34ecSGreg Roach			<TextBox bgcolor="$fill" border="1" width="$datewidth">
52*80ea34ecSGreg Roach				<Text style="label"><var var="I18N::translate('Date of burial')" /></Text>
53*80ea34ecSGreg Roach			</TextBox>
54*80ea34ecSGreg Roach
55*80ea34ecSGreg Roach			<SetVar name="fill" value="" />
569cad7645SGreg Roach			<if condition="$sortby=='PLAC'"><SetVar name="fill" value="#AAAAAA" /></if>
579cad7645SGreg Roach			<TextBox bgcolor="$fill" border="1" width="$placewidth">
58*80ea34ecSGreg Roach				<Text style="label"><var var="I18N::translate('Place of burial')" /></Text>
599cad7645SGreg Roach			</TextBox>
609cad7645SGreg Roach
619cad7645SGreg Roach			<TextBox border="1" newline="1">
629cad7645SGreg Roach				<Text style="label"><var var="I18N::translate('Note')" /></Text>
639cad7645SGreg Roach			</TextBox>
649cad7645SGreg Roach		</Header>
659cad7645SGreg Roach		<Body>
66a1afa4f8SGreg Roach			<List list="individual" filter1="BURI:PLAC CONTAINS $deathplace" filter2="LIKE /%\n1 BURI%/" sortby="$sortby">
679cad7645SGreg Roach				<Cell style="text" width="$namewidth"><GetPersonName id="" />
689cad7645SGreg Roach					<if condition="$adlist=='_MARNM'">
699cad7645SGreg Roach						<RepeatTag tag="NAME:_MARNM">
709cad7645SGreg Roach							<br /><GedcomValue tag="_MARNM" />
719cad7645SGreg Roach						</RepeatTag>
729cad7645SGreg Roach					</if>
739cad7645SGreg Roach					<if condition="($adlist=='HUSB') and (@SEX=='F')">
749cad7645SGreg Roach						<RepeatTag tag="FAMS">
759cad7645SGreg Roach							<Gedcom id="@FAMS:@HUSB">
769cad7645SGreg Roach								<br /><GetPersonName id="" />
779cad7645SGreg Roach							</Gedcom>
789cad7645SGreg Roach						</RepeatTag>
799cad7645SGreg Roach					</if>
809cad7645SGreg Roach				</Cell>
819cad7645SGreg Roach				<Cell style="text" width="$datewidth">
829cad7645SGreg Roach					<GedcomValue tag="DEAT:DATE" newline="1" />
839cad7645SGreg Roach				</Cell>
84*80ea34ecSGreg Roach				<Cell style="text" width="$datewidth">
85*80ea34ecSGreg Roach					<GedcomValue tag="BURI:DATE" newline="1" />
86*80ea34ecSGreg Roach				</Cell>
879cad7645SGreg Roach				<Cell style="text" width="$placewidth">
889cad7645SGreg Roach					<GedcomValue tag="BURI:CEME" />
899cad7645SGreg Roach					<if condition="@BURI:CEME !== ''">, </if>
909cad7645SGreg Roach					<GedcomValue tag="BURI:PLAC" />
919cad7645SGreg Roach				</Cell>
929cad7645SGreg Roach				<Cell newline="1" style="text">
939cad7645SGreg Roach					<GedcomValue tag="BURI:NOTE" />
949cad7645SGreg Roach				</Cell>
959cad7645SGreg Roach			</List>
969cad7645SGreg Roach			<Cell align="rightrtl" newline="1" style="label">
979cad7645SGreg Roach				<br />
989cad7645SGreg Roach				<var var="I18N::translate('Total individuals')" />: <ListTotal />
999cad7645SGreg Roach			</Cell>
1009cad7645SGreg Roach		</Body>
1019cad7645SGreg Roach		<Footer>
1029cad7645SGreg Roach			<Cell align="rightrtl" newline="1" style="date"><Now /></Cell>
1039cad7645SGreg Roach		</Footer>
1049cad7645SGreg Roach	</Doc>
1059cad7645SGreg Roach</Report>
106