blob: 03f6106c550313dfdcd702c84b36300b43138925 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
|
<?xml version="1.0" encoding="UTF-8"?>
<Report>
<!-- $Id$ -->
<Title><var var="WT_I18N::translate('Cemetery Report')" /></Title>
<Description><var var="WT_I18N::translate('A report of people buried in a given place.')" /></Description>
<Input name="deathplace" lookup="PLAC" type="text"><var var="WT_I18N::translate('Burial Place contains')" /> </Input>
<Input name="sortby" type="select" default="NAME" options="none=>WT_I18N::translate('None')|ID=>WT_I18N::translate('ID number')|NAME=>WT_I18N::translate('Name')|DEAT:DATE=>WT_I18N::translate('Date of death')"><var var="WT_I18N::translate('Sort by')" /></Input>
<Input name="adlist" type="select" default="none" options="none=>WT_I18N::translate('None')|_MARNM=>WT_Gedcom_Tag::getLabel('_MARNM')|HUSB=>WT_I18N::translate('Husband')"><var var="WT_I18N::translate('Name List')" /></Input>
<Input name="pageSize" type="select" default="A4" options="letter=>WT_I18N::translate_c('paper size','Letter')|A3=>WT_I18N::translate_c('paper size', 'A3')|A4=>WT_I18N::translate_c('paper size','A4')|legal=>WT_I18N::translate_c('paper size','Legal')"><var var="WT_I18N::translate('Page size')" /></Input>
<Input name="fonts" type="select" default="dejavusans" options="arialunicid0=>WT_I18N::translate_c('font name', 'Arial')|dejavusans=>WT_I18N::translate_c('font name', 'DejaVu')|helvetica=>WT_I18N::translate_c('font name', 'Helvetica')"><var var="WT_I18N::translate('Font')"/></Input>
<!-- 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="cemewidth" value="150"/>
<SetVar name="placewidth" value="175"/>
<Doc pageSize="$pageSize" orientation="landscape">
<Header>
<Cell align="center" height="20" newline="1" style="header"><var var="WT_I18N::translate('Cemetery Report')" /></Cell>
<Cell align="rightrtl" newline="1" style="pagenum"><var var="WT_I18N::translate('Page')" /> <PageNum /> <var var="WT_I18N::translate('of')" /> <TotalPages /></Cell>
<SetVar name="fill" value="" />
<if condition="($sortby=='NAME') or ($sortby=='ID')"><SetVar name="fill" value="#AAAAAA" /></if>
<TextBox bgcolor="$fill" border="1" width="$namewidth">
<Text style="label"><var var="WT_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="WT_Gedcom_Tag::getLabel('DEAT:DATE')" /></Text>
</TextBox>
<!-- should print and sort by burial date -->
<SetVar name="fill" value="" />
<if condition="$sortby=='BURI'"><SetVar name="fill" value="#AAAAAA" /></if>
<TextBox bgcolor="$fill" border="1" width="$cemewidth">
<Text style="label"><var var="WT_I18N::translate('Cemetery')" /></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="WT_I18N::translate('Place')" /></Text>
</TextBox>
<TextBox border="1" newline="1">
<Text style="label"><var var="WT_I18N::translate('Note')" /></Text>
</TextBox>
</Header>
<Body>
<List list="individual" filter1="BURI:PLAC CONTAINS $deathplace" 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="$cemewidth"><GedcomValue tag="BURI:CEME" /></Cell>
<Cell style="text" width="$placewidth"><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="WT_I18N::translate('Total individuals')" />: <ListTotal /></Cell>
</Body>
<Footer>
<Cell align="rightrtl" newline="1" style="date"><Now /></Cell>
</Footer>
</Doc>
</Report>
|