-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathIRS990ScheduleAStyle.xsl
228 lines (221 loc) · 9.41 KB
/
IRS990ScheduleAStyle.xsl
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
<xsl:template name="IRS990ScheduleAStyle">
.IRS990ScheduleA_FormNumBlock { /* Form number block in header */
padding-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px;
border-style: solid; border-color: black;
border-top-width: 0px; border-bottom-width: 1px; border-left-width: 0px; border-right-width: 1px;
width:30mm;height:22mm;
float:left;
}
.IRS990ScheduleA_FormTitleBlock { /* Form title block in header */
padding-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px;
border-style: solid; border-color: black;
border-top-width: 0px; border-bottom-width: 1px; border-left-width: 0px; border-right-width: 1px;
width:128mm;height:22mm;
text-align:center;
float:left;
}
.IRS990ScheduleA_FormYearBlock { /* Block with bottom border only */
padding-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px;
border-style: solid; border-color: black;
border-top-width: 0px; border-bottom-width: 1px; border-left-width: 0px; border-right-width: 0px;
width:30mm;height:22mm;
float:left;
}
.IRS990ScheduleA_OMB { /* Block containing the OMB number */
padding-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px;
border-style: solid; border-color: black;
border-top-width: 0px; border-bottom-width: 1px; border-left-width: 0px; border-right-width: 0px;
width:30mm;height:4mm;
text-align:center;
float:left;
}
.IRS990ScheduleA_TaxYear { /* Block Contain tax year */
padding-top: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px;
border-style: solid; border-color: black;
border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px;
width:30mm;height:11mm;
font-family: "Arial Narrow";
font-size: 26pt; font-weight: bold;
text-align:center;
float:left;
/* Note the height is 11mm instead of 12mm. Seems like borders take space even at zero width */
}
.IRS990ScheduleA_LineIndex { /* line index */
padding-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 15px;
border-style: solid; border-color: black;
border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px;
float:left;
height:4mm;
width:8mm;text-align:right;font-weight:bold;
}
.IRS990ScheduleA_SubLineIndex { /* subline index */
padding-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px;
border-style: solid; border-color: black;
border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px;
float:left;
height:4mm;
width:8mm;text-indent:3mm;font-weight:bold;
}
.IRS990ScheduleA_LineDescLong { /* line body long format */
padding-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px;
border-style: solid; border-color: black;
border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 1px;
float:left;
height:4mm;width:140mm;
}
.IRS990ScheduleA_LineIndexMid { /* subline index 2 */
padding-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px;
border-style: solid; border-color: black;
border-top-width: 0px; border-bottom-width: 1px; border-left-width: 0px; border-right-width: 1px;
float:left;
height:4mm;
width:8mm;text-align:center;font-weight:bold;
}
.IRS990ScheduleA_LineIndexMidFiller { /* subline index 2, bottomless */
padding-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px;
border-style: solid; border-color: black;
border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 1px;
float:left;
height:4mm;
width:8mm;text-align:center;font-weight:bold;
}
.IRS990ScheduleA_LineIndexMidFillerGray { /* subline index 2, bottomless with gray fill */
padding-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px;
border-style: solid; border-color: black;
border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 1px;
float:left;
height:4mm;
width:8mm;background-color:lightgrey;
}
.IRS990ScheduleA_MoneyFieldMid { /* Money field middle line */
padding-top: 2px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px;
border-style: solid; border-color: black;
border-top-width: 0px; border-bottom-width: 1px; border-left-width: 0px; border-right-width: 1px;
float:left;
height:4mm;width:26mm;text-align:right;
font-size:6pt;
}
.IRS990ScheduleA_MoneyField { /* Money field end line */
padding-top: 2px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px;
border-style: solid; border-color: black;
border-top-width: 0px; border-bottom-width: 1px; border-left-width: 0px; border-right-width: 0px;
float:left;
height:4mm;width:26mm;text-align:right;
font-size:6pt;
}
.IRS990ScheduleA_MoneyFieldFiller { /* Money field filler */
padding-top: 2px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px;
border-style: solid; border-color: black;
border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px;
float:left;
height:4mm;width:26mm;text-align:right;
}
.IRS990ScheduleA_DotSpacing { /* dot line spacing */
letter-spacing:2mm;
}
.IRS990ScheduleA_LineContainer {
clear:both;
width:188mm;
}
.IRS990ScheduleA_TableContainer {
clear:both;
width:188mm;
border-style: solid; border-color: black;
border-top-width: 1px; border-bottom-width: 1px; border-left-width: 0px; border-right-width: 0px;
overflow-y:auto;
}
.IRS990ScheduleAPart4_TableContainer {
clear:both;
width:188mm;
border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px;
overflow-y:auto;
}
.IRS990ScheduleA_LineDescVIB { /* description space */
padding-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px;
border-style: solid; border-color: black;
border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 1px;
float:left;
height:4mm;width:138mm;
}
.IRS990ScheduleA_LineDesc { /* description space */
padding-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px;
border-style: solid; border-color: black;
border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 1px;
float:left;
height:4mm;width:156mm;
}
.IRS990ScheduleA_LineDescIV { /* description space */
padding-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px;
border-style: solid; border-color: black;
border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px;
float:left;
height:4mm;width:172mm;
}
.IRS990ScheduleA_LineDescIVB { /* description space */
padding-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px;
border-style: solid; border-color: black;
border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px;
float:left;
height:4mm;width:178mm;
}
.IRS990ScheduleA_LineDescIVA { /* description space */
padding-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px;
border-style: solid; border-color: black;
border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px;
float:left;
height:4mm;width:140mm;
}
.IRS990ScheduleA_LineDescIVAL { /* description space */
padding-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px;
border-style: solid; border-color: black;
border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px;
float:left;
height:4mm;width:180mm;
}
.IRS990ScheduleA_ArrowSpace { /* description space */
padding-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px;
border-style: solid; border-color: black;
border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 1px;
float:left;
height:4mm;width:6mm;
}
/* the reduction in line width is necessary here */
.IRS990ScheduleA_Checkbox {
height:3mm;
width:3mm;
}
.IRS990ScheduleA_GenericCell { /* Form Name */
border-style: solid; border-color: black;
border-top-width: 0px; border-bottom-width: 1px; border-left-width: 0px; border-right-width: 1px;
padding-left:1mm;padding-right:1mm;
}
.IRS990ScheduleA_CellPtI { /* Form Name */
border-style: solid; border-color: black;
border-top-width: 0px; border-bottom-width: 1px; border-left-width: 0px; border-right-width: 1px;
padding-left:1mm;padding-right:1mm;
height:4mm;
}
.IRS990ScheduleA_IndexCell { /* Form Name */
border-style: solid; border-color: black;
border-top-width: 0px; border-bottom-width: 1px; border-left-width: 0px; border-right-width: 0px;
padding-left:0mm;padding-right:10px;padding-top:1px;padding-bottom:1px;
font-weight:bold;text-align:right;
}
.IRS990ScheduleA_IndexCellVIA { /* Form Name */
border-style: solid; border-color: black;
border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px;
padding-left:0mm;padding-right:10px;padding-top:1px;padding-bottom:1px;
font-weight:bold;text-align:right;
width:4mm;
}
.IRS990ScheduleA_MoneyCell { /* Form Name */
border-style: solid; border-color: black;
border-top-width: 0px; border-bottom-width: 1px; border-left-width: 0px; border-right-width: 1px;
padding-left:1px;padding-right:1px;
font-size:6pt;text-align:right;
width:25mm;
}
</xsl:template>
</xsl:stylesheet>