-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathIRS4972Style.xsl
123 lines (109 loc) · 3.23 KB
/
IRS4972Style.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
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<!-- CSS Styles for form 4972 -->
<xsl:template name="IRS4972Style">
.styIRS4972DotLn{ /* controls dot leaders */
letter-spacing:3.2mm;
font-weight:bold;
float:right;
clear:none;
padding-right:3.5mm;
}
img.tightRight {
margin-right:-1mm;
}
.verylong {
word-spacing: -0.25em
}
.overlong {
word-spacing: -0.130em
}
.slightlylong {
word-spacing: -0.05em
}
.s4972YNLine {
padding-bottom:0;
padding-top:0;
margin-bottom:0;
margin-top:0;
font-size:7.0pt;
}
.sty4972RightNumBox{ /* Right number box */
width:8mm;height:4mm;
padding-top:.5mm;
padding-bottom:.5mm;
font-weight:bold;
text-align:center;
vertical-align:bottom;
border-style: solid; border-color: black;
border-top-width: 0; border-bottom-width: 0.22mm; border-left-width: 0.22mm; border-right-width: 0;
float:left; clear: none;
}
.sty4972AmountBox{ /* Box for storing line item amounts. */
width:32mm;height:4mm;
padding-top:.5mm;
padding-bottom:.5mm;
text-align:right;
border-style: solid; border-color: black;
border-top-width: 0; border-bottom-width: 0.22mm; border-left-width: 0.22mm; border-right-width: 0;
float:left; clear: none;
}
.sty4972TableHeaderBox{ /* Box for storing line item amounts. */
width:32mm;height:4mm;
padding-top:2.5mm;
padding-bottom:.5mm;
text-align:right;
border-style: solid; border-color: black;
border-top-width: 0; border-bottom-width: 0.22mm; border-left-width: 0.22mm; border-right-width: 0;
float:left; clear: none;
}
.styIRS4972Box{ /* box around text */ /* unused */
width:90mm;
border-style: solid;
border-color: black;
border-top-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-right-width: 1px;
}
.styIRS4972Border{ /* add borders */ /* unused */
width:90mm;
border-style: solid;
border-color: black;
border-top-width: 0px;
border-bottom-width: 0px;
border-left-width: 0px;
border-right-width: 0px;
}
.styIRS4972VTImageBox{ /* Vertical image holder box */ /* unused */
height:25mm;
width:5mm;
border-style: solid; border-color: black;
border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 1px;
float:left;clear:none;
}
.sty4972Ckbox { /* Checkbox */
width: 3mm;
height: 3mm;
margin-bottom:0.4mm;
}
.styIRS4972LNYesNoBox{ /* Box for storing Yes/No Values */
width:6mm;height:4.5mm;
padding-top:.5mm;
padding-bottom:.5mm;
text-align:center;
font-weight:bold;
border-style: solid; border-color: black;
border-top-width: 0px; border-bottom-width: 1px; border-left-width: 1px; border-right-width: 0px;
}
.styIRS4972LNYesNoBoxRB{ /* Box for storing Yes/No Values with a right border */
width:6mm;height:4.5mm;
padding-top:.5mm;
padding-bottom:.5mm;
text-align:center;
font-weight:bold;
border-style: solid; border-color: black;
border-top-width: 0px; border-bottom-width: 1px; border-left-width: 1px; border-right-width: 1px;
}
</xsl:template>
</xsl:stylesheet>